Skip to content

feat(starter): support configurable multi-dimensional metricsTags (Part of #243)#245

Open
liaodn wants to merge 2 commits intoapache:mainfrom
liaodn:feature/243-phase-1
Open

feat(starter): support configurable multi-dimensional metricsTags (Part of #243)#245
liaodn wants to merge 2 commits intoapache:mainfrom
liaodn:feature/243-phase-1

Conversation

@liaodn
Copy link
Copy Markdown
Contributor

@liaodn liaodn commented Apr 20, 2026

  • Add metricsTags config option to define multiple global labels in standalone.yml
  • Keep clusterConfig.env as default metricsTags to ensure backward compatibility
  • Add clusterEnv tag to base-cluster Messenger and TCPTransport metrics
  • Include clusterEnv in AgentHost member list tags

BREAKING CHANGE: Global metrics now use metricsTags config instead of single clusterConfig.env injection. To migrate, move the original env value to metricsTags config.

Example config:

metricsTags:
  region: gz
  deployment: canary
  env: Test

- Add metricsTags config option to define multiple global labels in standalone.yml
- Keep clusterConfig.env as default metricsTags to ensure backward compatibility
- Add clusterEnv tag to base-cluster Messenger and TCPTransport metrics
- Include clusterEnv in AgentHost member list tags

BREAKING CHANGE: Global metrics now use metricsTags config instead of
single clusterConfig.env injection. To migrate, move the original env
value to metricsTags config.

Example config:
metricsTags:
  region: gz
  deployment: canary
  env: Test
@popduke popduke force-pushed the feature/243-phase-1 branch from 709c0db to c9c2ccc Compare April 20, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant