hello everyone
I am quite inexperienced with prometheus
i have installed a prometheus 2.22 on redhat
from this i federate other prometheus on openshift 3.11
everything works
now i should federate a prometheus on openshift 4.6 (with thanos)
the connection is ok
but i only see thanos metrics, thanos_*
no application or ocp infrastructure metrics
configuration.yml
################################
- job_name: test_46
honor_labels: true
honor_timestamps: true
params:
match[]:- β{name=~".*"}β
scrape_interval: 30s
scrape_timeout: 29s
metrics_path: /metrics
scheme: https
bearer_token_file: /opt/prometheus/tokenfile
tls_config:
insecure_skip_verify: true
static_configs: - targets:
-
thanos-querier-openshift-monitoring.apps.xxx.com
labels:
cluster_name: test_46
###################################################
where am i wrong?
-
thanos-querier-openshift-monitoring.apps.xxx.com
- β{name=~".*"}β