Skip to content

dynamic_modules: expose stat tags and tag-extracted names in the stats sink ABI#46028

Draft
basundhara-c wants to merge 2 commits into
envoyproxy:mainfrom
basundhara-c:stat-sink-tags
Draft

dynamic_modules: expose stat tags and tag-extracted names in the stats sink ABI#46028
basundhara-c wants to merge 2 commits into
envoyproxy:mainfrom
basundhara-c:stat-sink-tags

dynamic_modules: test stats sink tag callbacks end to end and fix a d…

493b3bd
Select commit
Loading
Failed to load commit list.
CI (Envoy) / Mobile/iOS tests skipped Jul 10, 2026 in 0s

Check was skipped

This check was not triggered in this CI run

Details

Request (pr/46028/main@493b3bd)

basundhara-c @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 basundhara-c @basundhara-c
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