Commit 2bab5fb
authored
fix(telemetry): drop profile field [skip-runtime-e2e] (#170)
* fix(telemetry): drop profile field — collides with governance env var
The v1 telemetry schema added a `profile` payload field sourced from
`AXONFLOW_PROFILE`. That env var was already in use for governance
enforcement (allowlist `dev|default|strict|compliance`, ADR-036), and
the v1 telemetry validator only accepted `dev|prod|unknown` — so any
customer setting `AXONFLOW_PROFILE=strict` or `=compliance` for
governance had their telemetry pings rejected with HTTP 400.
Drop the field entirely. The `deployment_mode` dimension already
carries the topology signal `profile` was meant to add, and
`AXONFLOW_PROFILE` reverts to its single governance-only purpose.
- Remove env-var read + payload field + doc comment in TelemetryReporter.
- Tests: assert `profile` is ABSENT on the wire (stronger than the
previous `equals("unknown")` assertions; actively guards against the
field re-appearing).
- Bump pom.xml + the two example poms to 8.0.1.
- CHANGELOG entry under [8.0.1].
Refs: #2033
Signed-off-by: Saurabh Jain <saurabhjain1592@gmail.com>
* chore: retrigger CI after [skip-runtime-e2e] title update
Signed-off-by: Saurabh Jain <saurabhjain1592@gmail.com>
---------
Signed-off-by: Saurabh Jain <saurabhjain1592@gmail.com>1 parent f27c26b commit 2bab5fb
6 files changed
Lines changed: 18 additions & 12 deletions
File tree
- examples
- explain-decision
- list-decisions
- src
- main/java/com/getaxonflow/sdk/telemetry
- test/java/com/getaxonflow/sdk/telemetry
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
8 | 21 | | |
9 | 22 | | |
10 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | 238 | | |
246 | 239 | | |
247 | 240 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
0 commit comments