Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metric API proposal to cover typical Kubernetes metrics #1001

Open
a-thaler opened this issue Apr 22, 2024 · 0 comments
Open

Metric API proposal to cover typical Kubernetes metrics #1001

a-thaler opened this issue Apr 22, 2024 · 0 comments
Assignees
Labels
area/metrics MetricPipeline kind/decision Marks a decision document

Comments

@a-thaler
Copy link
Collaborator

a-thaler commented Apr 22, 2024

Description
As outlined in #972 typical metrics should be easily collactable so that typical kubernetes workload monitoring gets possible. The metrics should be based on the kubletstatsreceiver and k8sclusterreceiver only.
A concrete API proposal is needed on how to enable the metric collection from user side. Hereby, you need to think about which metrics you are usually enabling together as they are always used in combination. Also, the selection via namespaces should be applied to namespace-typical metrics only.
The input name should trigger the right expectations.

Criterias

  • Concrete API proposal for selecting the typical metrics, outlining which chunk of metrics are getting enabled by which input
  • Users should be able to limit metrics to certain namespaces
  • Users should be able to enable bigger chunks selectively

Ideas

  input:
    cluster:
      enabled: true
      namespaces:
        include:
        - myNamespace
    host:
      enabled: true
    runtime:
      enabled: true
      namespaces:
        include:
        - myNamespace

Reasons

Attachments

Release Notes


@a-thaler a-thaler added area/metrics MetricPipeline kind/decision Marks a decision document labels Apr 22, 2024
@a-thaler a-thaler changed the title Metric API PoC to cover typical Kubernetes metrics Metric API proposal to cover typical Kubernetes metrics Apr 22, 2024
@chrkl chrkl self-assigned this Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/metrics MetricPipeline kind/decision Marks a decision document
Projects
None yet
Development

No branches or pull requests

2 participants