Commit c9537a0
feat(axiom): add support for regional edge endpoints in AxiomConfig (#24037)
* feat(axiom sink): Add regional edge support with smart URL handling
Introduces optional `region` field for regional edge domains and enhances
`url` field with intelligent path detection. URLs with custom paths are
used as-is, while URLs without paths maintain backwards compatibility by
appending the legacy path format.
Priority: url > region > default cloud endpoint
Fully backwards compatible with existing configurations.
* cargo fmt
* refactor(axiom): Axiom sink configuration and integration tests
- Moved the Axiom sink configuration and integration tests to a new module `axiom` under the `sinks` directory.
- Implemented `UrlOrRegion` struct to manage Axiom endpoint configurations, ensuring validation between URL and region settings.
- Moved the integration tests to a new module `integration_tests` under the `axiom` module.
- Updated documentation for the Axiom sink configuration in the generated CUE files to reflect new fields and usage examples.
* cargo fmt
* fix(axiom): Update integration tests to include SinkConfig and UrlOrRegion
* Update website/cue/reference/components/sinks/generated/axiom.cue
Co-authored-by: domalessi <[email protected]>
* fix: Fix wording
* fix(axiom): Make AxiomConfig fields public
---------
Co-authored-by: Pavlos Rontidis <[email protected]>
Co-authored-by: domalessi <[email protected]>1 parent 2fbe949 commit c9537a0
File tree
6 files changed
+551
-308
lines changed- changelog.d
- src/sinks
- axiom
- website/cue/reference/components/sinks/generated
6 files changed
+551
-308
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
This file was deleted.
0 commit comments