hi thanks it works!!!
there is the possibility to mantain other label without using to match the
target? only to filter in grafana?
thanks
On Thursday, 21 May 2020 10:55:53 UTC+2, Julius Volz wrote:
>
> Hi,
>
> It sounds like you want a relabeling rule like:
>
> relabel_configs:
> - action: rep
Hi,
It sounds like you want a relabeling rule like:
relabel_configs:
- action: replace
source_labels: [__meta_kubernetes_pod_container_name,
__meta_kubernetes_namespace, __meta_kubernetes_pod_container_port_number]
target_label: instance
regex: (.+);(.+);(\d+)
replacement: $1.$2:$3
(The
HI
i'm newbi
can someone help me to write a relabeling to obtain
targets: ['test-env.prometheus-dev:9095']
i think i have to use this but now why
__meta_kubernetes_pod_container_name="test-env"
__meta_kubernetes_namespace="prometheus-dev"
__meta_kubernetes_pod_container_port_number="9095"
ma
3 matches
Mail list logo