Skip to content
Discussion options

You must be logged in to vote

@jvijayan6

LGTM, but you need to remove the following section. That label isn't set since you scrape from a static endpoint, not a discovered pod

            relabel_configs:
            - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape]
              action: keep
              regex: true

Also, keep in mind that it'll scrape all the metrics exposed by the k8s API while smartagent/kubernetes-apiserver scrapes only the metrics marked as defaults. If you want to reduce the metrics set, you'd need to apply some metric_relabel_configs to drop what you don't need.

BTW this Q should be raised in https://github.com/signalfx/splunk-otel-collector-chart, not in this repo

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jvijayan6
Comment options

Answer selected by jvijayan6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants