Skip to content

How to add custom labels to grafana dashboard configmaps? #606

Answered by brancz
mmn01-sky asked this question in General
Discussion options

You must be logged in to vote

My apologies, I think I missed the items array:

local kp =
  (import 'kube-prometheus/kube-prometheus.libsonnet') +
  // Uncomment the following imports to enable its patches
  // (import 'kube-prometheus/kube-prometheus-anti-affinity.libsonnet') +
  // (import 'kube-prometheus/kube-prometheus-managed-cluster.libsonnet') +
  // (import 'kube-prometheus/kube-prometheus-node-ports.libsonnet') +
  // (import 'kube-prometheus/kube-prometheus-static-etcd.libsonnet') +
  // (import 'kube-prometheus/kube-prometheus-thanos-sidecar.libsonnet') +
  // (import 'kube-prometheus/kube-prometheus-custom-metrics.libsonnet') +
  {
    _config+:: {
      namespace: 'monitoring',
    },

    prometheusAlert…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@mmn01-sky
Comment options

Comment options

You must be logged in to vote
3 replies
@mmn01-sky
Comment options

@dushyy
Comment options

@dushyy
Comment options

Answer selected by mmn01-sky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants