Skip to content

feat: For k8s-overlord-extensions users, emit the pod template as a dimension for peon metrics - #20001

Open
capistrant wants to merge 2 commits into
apache:masterfrom
capistrant:template-dim-k8s-ingest
Open

feat: For k8s-overlord-extensions users, emit the pod template as a dimension for peon metrics#20001
capistrant wants to merge 2 commits into
apache:masterfrom
capistrant:template-dim-k8s-ingest

Conversation

@capistrant

@capistrant capistrant commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Description

For users of the kubernetes-overlord-extensions add a new dimension to peon task metrics podTemplate that is the string name of the template selected for the task. This offers better visibility into what task types are running on what pod template in metrics so operators can be more informed on the behavior of tasks depending on template used.

Release note

Peon task metrics for clusters using kubernetes-overlord-extensions will now emit a new dimension podTemplate, improving observability for operators who have different tasks mapping to different templates.


Key changed/added classes in this PR
  • KubernetesPeonMetricsModule
  • PodTemplateTaskAdapter

This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • added integration tests.
  • been tested in a test Druid cluster.

@capistrant
capistrant marked this pull request as ready for review August 13, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant