| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | arti: Add skip_all to instrument macro. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | It's unlikely these arguments will be particularly useful, and omitting skip_all can have security implications, so it's better to avoid it to reflect good practice. | |||||
| | * | | | arti: Add more detail about OpenTelemetry in example config. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -2/+9 | |
| | | | | | ||||||
| | * | | | opentelemetry: Use humantime_serde for parsing Durations. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -0/+3 | |
| | | | | | ||||||
| | * | | | opentelemetry: Panic if configured for non-localhost HTTP endpoint. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We may want to add a way to opt out of this check, if someone asks for it. Checking for "localhost" and "127.0.0.1" is not a very robust check for a loopback interface, and it's possible that there could be other situations we can't detect where HTTP is safe (private network, WireGuard tunnel, etc). But I don't expect those to be likely to come up in practice, so this should be fine for now. | |||||
| | * | | | arti: Add more info about OpenTelemetry to example config. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -2/+6 | |
| | | | | | ||||||
| | * | | | opentelemetry: Add note about lack of upstream OTLP exporter. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -0/+3 | |
| | | | | | ||||||
| | * | | | opentelemetry: Panic on mutex poison. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -8/+1 | |
| | | | | | ||||||
| | * | | | opentelemetry: Add some instrument macros. | Wesley Aptekar-Cassels | 2025-09-24 | 16 | -10/+61 | |
| | | | | | | | | | | | | | | | | | | | | | I've added these in places that are useful for the debugging that I've been doing. | |||||
| | * | | | arti: Add experimental support for OpenTelemetry. | Wesley Aptekar-Cassels | 2025-09-24 | 5 | -0/+281 | |
| | | | | | ||||||
| * | | | | netdoc parse2 tests: Avoid <String as TryFrom<Vec<u8>>> (3) | Ian Jackson | 2025-09-29 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | netdoc parse2 tests: Avoid <String as TryFrom<Vec<u8>>> (2) (fmt) | Ian Jackson | 2025-09-29 | 1 | -2/+1 | |
| | | | | | ||||||
| * | | | | netdoc parse2 tests: Avoid <String as TryFrom<Vec<u8>>> (2) | Ian Jackson | 2025-09-29 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | | | Should fix the minimal versions test? | |||||
| * | | | | netdoc parse2 tests: Avoid <String as TryFrom<Vec<u8>>> | Ian Jackson | 2025-09-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | Should fix the minimal versions test? | |||||
| * | | | | netdoc parse2: Remove some unneeded allows | Ian Jackson | 2025-09-29 | 1 | -2/+0 | |
| | | | | | ||||||
| * | | | | netdoc parse2: Fix two clippy lints | Ian Jackson | 2025-09-29 | 2 | -1/+1 | |
| | | | | | ||||||
| * | | | | neteoc parse2: Provide Ignored value | Ian Jackson | 2025-09-29 | 3 | -1/+41 | |
| | | | | | | | | | | | | | | | | | | | | | This will be used for some bits of netdocs where dummy values now appear. | |||||
| * | | | | netdoc parse2: NetdocParseableFields: suppress errors for empty types | Ian Jackson | 2025-09-29 | 1 | -2/+10 | |
| | | | | | ||||||
| * | | | | neteoc parse2: Import earlier | Ian Jackson | 2025-09-29 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | | | | | | This is needed if we want to use these macros in `doc`, which we're going to. | |||||
| * | | | | netdoc parse2: support `with` for rest arguemnts, and test | Ian Jackson | 2025-09-29 | 2 | -2/+18 | |
| | | | | | ||||||
| * | | | | netdoc parse2: support `with` for normal arguemnts, and test | Ian Jackson | 2025-09-29 | 2 | -7/+11 | |
| | | | | | ||||||
| * | | | | netdoc parse2: ArgumentSetMethods: take a parser function | Ian Jackson | 2025-09-29 | 2 | -13/+65 | |
| | | | | | | | | | | | | | | | | | We need this to support `with`. | |||||
| * | | | | netdoc parse2: Support with for Item parsing, comprehensive tests | Ian Jackson | 2025-09-29 | 1 | -0/+64 | |
| | | | | | ||||||
| * | | | | netdoc parse2: tests: NeedsWith type | Ian Jackson | 2025-09-29 | 1 | -3/+55 | |
| | | | | | | | | | | | | | | | | | This type will be used to test `with` attributes. | |||||
| * | | | | netdoc parse2: Support with for Item parsing | Ian Jackson | 2025-09-29 | 1 | -2/+23 | |
| | | | | | | | | | | | | | | | | | Tests will come in a moment. | |||||
| * | | | | netdoc parse2: New single_item attribute, tests | Ian Jackson | 2025-09-29 | 1 | -6/+55 | |
| | | | | | ||||||
| * | | | | netdoc parse2: New single_item attribute | Ian Jackson | 2025-09-29 | 2 | -2/+30 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Many of the existing netdoc structs have items that are just the single argument. We don't want to turn them all into singleton tuples. Provide a macro feature for this instead. | |||||
| * | | | | netdoc parse2: Break out ITEM_VALUE_FROM_UNPARSED | Ian Jackson | 2025-09-29 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | | | This is going to get more complicated. | |||||
| * | | | | netdoc parse2: NetdocParseableFields: Fix default, and test | Ian Jackson | 2025-09-29 | 2 | -2/+9 | |
| | | | | | ||||||
| * | | | | netdoc parse2: NetdocParseableFields: introduce use of $fpatname | Ian Jackson | 2025-09-29 | 1 | -5/+4 | |
| | | | | | | | | | | | | | | | | | We're going to want to do more complex things here. | |||||
| * | | | | netdoc parse2: Run selector-based trait check for intro item too | Ian Jackson | 2025-09-29 | 1 | -2/+6 | |
| | | | | | ||||||
| * | | | | netdoc parse2: Tests for new Object handling | Ian Jackson | 2025-09-29 | 1 | -1/+85 | |
| | | | | | ||||||
| * | | | | netdoc parse2: Fix Object handling (fmt) | Ian Jackson | 2025-09-29 | 1 | -2/+4 | |
| | | | | | ||||||
| * | | | | netdoc parse2: Fix Object handling | Ian Jackson | 2025-09-29 | 7 | -42/+133 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the standard multiplicity technique rather than the ad-hoc impl on Option. This allows us to support an ad-hoc parsing function for a field that's `Option`. Disentangle the `label` field attribute, which did both setting the label, and expecting a different parsing approach: replace it with `with`. | |||||
| * | | | | netdoc parse2: Fix label for PublicKey | Ian Jackson | 2025-09-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | This mistake escaped because this wasn't actually checked by the code, but it's going to be checked in a moment. | |||||
| * | | | | netdoc parse2: Fix "rest" item arguments, and test | Ian Jackson | 2025-09-29 | 3 | -5/+28 | |
| | | | | | | | | | | | | | | | | | | | | | The previous code didn't compile at all, and this went unnoticed because it wasn't used by the poc. | |||||
| * | | | | netdoc parse2: Actually use ArgumentSetSelector, and test | Ian Jackson | 2025-09-29 | 3 | -6/+12 | |
| | | | | | | | | | | | | | | | | | Without this, parsing of Option and Vec argument fields doesn't work. | |||||
| * | | | | netdoc parse2: tests: Initial tests of ItemValueParseable macro | Ian Jackson | 2025-09-29 | 1 | -1/+76 | |
| | | | | | | | | | | | | | | | | | | | | | This macro has some problems which I'm going to fix. Add a test case for the parts that are currently working. | |||||
| * | | | | netdoc parse2: Fix typo in todo comment | Ian Jackson | 2025-09-29 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | netdoc parse2: Don't duplicate the error source | Ian Jackson | 2025-09-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | `problem` is the `#[source]`. | |||||
| * | | | | netdoc parse2: Fix invalid keyword error problem report | Ian Jackson | 2025-09-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | `#[from]` is not `#[source]`. We need to print the inner error. | |||||
| * | | | | netdoc parse2: tests: Better error messages from error tests (fmt) | Ian Jackson | 2025-09-29 | 1 | -2/+10 | |
| | | | | | | | | | | | | | | | | | Worsify formatting as demanded by rustdoc. | |||||
| * | | | | netdoc parse2: tests: Better error messages from error tests | Ian Jackson | 2025-09-29 | 1 | -2/+2 | |
| | | | | | ||||||
| * | | | | netdoc parse2: tests: Use ==== for dividers in output | Ian Jackson | 2025-09-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | Otherwise it's easy to get confuseed by ---- dividers for Objects. | |||||
| * | | | | netdoc parse2: poc: Make test functions throw anyhow::Result | Ian Jackson | 2025-09-29 | 1 | -5/+4 | |
| | | | | | | | | | | | | | | | | | For reasons, TestResult doesn't print error sources. | |||||
| * | | | | netdoc parse2: Fix keyword parsing to hate nul, not digit zero (!) | Ian Jackson | 2025-09-29 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | netdoc parse2: Use $P::Result throughout | Ian Jackson | 2025-09-29 | 2 | -5/+6 | |
| | | | | | | | | | | | | | | | | | | | | | This is needed when using these macros in a namespace with a local redefinition of `Result`. | |||||
| * | | | | netdoc parse2: Fix a compile_error! invocation | Ian Jackson | 2025-09-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | I triggered this error and it didn't work right. | |||||
| * | | | | remove default feature off sysinfo | trinity-1686a | 2025-09-28 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | proto: Replace magic value with constant (fmt). | Gabriela Moldovan | 2025-09-25 | 1 | -1/+2 | |
| | | | | | ||||||
| * | | | | proto: Replace magic value with constant. | Gabriela Moldovan | 2025-09-25 | 1 | -4/+9 | |
| | | | | | | | | | | | | | | | | | | | | | Also derives `CIRC_ACTION_COUNT` from the two other constants instead of hard-coding the value. | |||||
