external-dns icon indicating copy to clipboard operation
external-dns copied to clipboard

Export metrics to Prometheus

Open jholowaty opened this issue 1 year ago • 3 comments

Hi! we have deployed on GKE cluster the kube-prometheus-stack and the last version of the External-DNS's Helm Chart and enable the servicemonitor but in prometheus, we can't find the metrics.

Our intend is to create this Grafana dashboard (https://grafana.com/grafana/dashboards/15038-external-dns/) but we can't find that metrics.

This is the config in values.yaml of this Chart.

serviceMonitor:

-- If true, create a ServiceMonitor resource to support the Prometheus Operator.

enabled: true

-- Additional labels for the ServiceMonitor.

additionalLabels: {}

-- Annotations to add to the ServiceMonitor.

annotations: {}

-- (string) If set create the ServiceMonitor in an alternate namespace.

namespace:

-- (string) If set override the Prometheus default interval.

interval:

-- (string) If set override the Prometheus default scrape timeout.

scrapeTimeout:

-- (string) If set overrides the Prometheus default scheme.

scheme:

-- Configure the ServiceMonitor TLS config.

tlsConfig: {}

-- (string) Provide a bearer token file for the ServiceMonitor.

bearerTokenFile:

-- Relabel configs to apply to samples before ingestion.

relabelings: []

-- Metric relabel configs to apply to samples before ingestion.

metricRelabelings: []

-- Provide target labels for the ServiceMonitor.

targetLabels: []

We must do anything else to see the metrics on prometheus?

Thanks a lot!!

jholowaty avatar Jan 31 '24 05:01 jholowaty

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Apr 30 '24 05:04 k8s-triage-robot

please add deploymentAnnotations: prometheus.io/scrape: 'true'

oleksandrs-adorama avatar May 09 '24 15:05 oleksandrs-adorama

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Jun 08 '24 15:06 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

k8s-triage-robot avatar Jul 08 '24 16:07 k8s-triage-robot

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

k8s-ci-robot avatar Jul 08 '24 16:07 k8s-ci-robot