Prometheus and thanos federation

hello everyone
I am quite inexperienced with prometheus :slight_smile:

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:

Any advice?
I tried to play with regular expressions (match). But in my opinion it doesn’t depend on that