Skip to content

Metrics for IdeaState update #13253

@pengding-stripe

Description

@pengding-stripe

There are no metrics for recording IdeaState update latency, retry, failures. However this is useful for debugging and monitoring purpose, especially for uploading segment metadata process. We have been seen issues that high latency and retries of updating IdeaState causing segments in error state.
It looks like an easy change to add metric in this function

public static IdealState updateIdealState(final HelixManager helixManager, final String resourceName,

Metadata

Metadata

Assignees

No one assigned

    Labels

    observabilityRelated to observability (logging, tracing, metrics)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions