Skip to content

PHOENIX-7991 Tag per-HA-group replication metric sources with the ha_group tag - #2606

Open
Himanshu-g81 wants to merge 1 commit into
apache:PHOENIX-7562-feature-newfrom
Himanshu-g81:PHOENIX-7991
Open

PHOENIX-7991 Tag per-HA-group replication metric sources with the ha_group tag#2606
Himanshu-g81 wants to merge 1 commit into
apache:PHOENIX-7562-feature-newfrom
Himanshu-g81:PHOENIX-7991

Conversation

@Himanshu-g81

Copy link
Copy Markdown
Contributor

Register the ha_group Metrics2 tag on the six per-HA-group replication log metric sources so their series can be sliced per HA group downstream (Argus), matching the existing HAGroupStore source.

Also moves the shared HA_GROUP_TAG_NAME/HA_GROUP_TAG_DESC constants out of the HAGroupStoreMetricsSource interface into a new module-neutral org.apache.phoenix.metrics.MetricConstants so both client and server sources share one definition. Tested via MetricsReplicationLogSourceHaGroupTagTest (6 cases) + updated HAGroupStoreMetricsSourceImplTest.

@Himanshu-g81
Himanshu-g81 marked this pull request as ready for review August 21, 2026 12:16
…group tag

Register the ha_group Metrics2 tag on the six per-HA-group replication log metric sources (log group, processor, discovery replay/forwarder, tracker replay/forwarder) so their series can be sliced per HA group downstream, matching the existing HAGroupStore metrics source.

Move the shared HA_GROUP_TAG_NAME / HA_GROUP_TAG_DESC constants out of the HAGroupStoreMetricsSource interface into a new module-neutral org.apache.phoenix.metrics.MetricConstants (phoenix-core-client) so both the client HAGroupStore source and the server-side replication sources reference a single definition.
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.

3 participants