dynamic_modules: expose stat tags and tag-extracted names in the stats sink ABI#46028
dynamic_modules: expose stat tags and tag-extracted names in the stats sink ABI#46028basundhara-c wants to merge 2 commits into
Envoy/Checks (success)
Check has finished
Details
Check run finished (success ✔️)
The check run can be viewed here:
Envoy/Checks (pr/46028/main@493b3bd)
Check started by
Request (pr/46028/main@493b3bd)
@basundhara-c
493b3bd #46028
merge main@2e97f79
dynamic_modules: expose stat tags and tag-extracted names in the stats sink ABI
Commit Message: expose stat tags and tag-extracted names in the stats sink ABI
Additional Description:The stats sink ABI previously exposed only each stat's full, flat name (e.g. cluster.foo.upstream_rq_total) and its value. This adds callbacks to also read a stat's tag-extracted name and its tags (name/value pairs) for counters, gauges, etc.
This lets a custom dynamic-module stats sink consume the same dimensional decomposition Envoy's built-in formatters use so it can reconstruct labelled output like envoy_cluster_upstream_rq_total{cluster_name="foo"} instead of only the flat name.
Risk Level: Low
Testing: Tests Added
Docs Changes: N.A
Release Notes: N.A
Platform Specific Features: N.A
Environment
Request variables
| Key | Value |
|---|---|
| ref | 3f6ae53 |
| sha | 493b3bd |
| pr | 46028 |
| base-sha | 2e97f79 |
| actor | |
| message | dynamic_modules: expose stat tags and tag-extracted names in the stats sink ABI... |
| started | 1783717114.1963 |
| target-branch | main |
| trusted | false |
Build image
Container image/s (as used in this CI run)
| Key | Value |
|---|---|
| default | docker.io/envoyproxy/envoy-build:v0.1.6 |
| mobile | docker.io/envoyproxy/envoy-build:mobile-v0.1.6 |
Version
Envoy version (as used in this CI run)
| Key | Value |
|---|---|
| major | 1 |
| minor | 39 |
| patch | 0 |
| dev | true |