Alex Lima
11/06/2023, 6:05 PMprometheus:
config:
scrape_configs:
- job_name: "prometheus-xxx"
scrape_interval: 90s
oauth2:
client_id: 'xxxx'
client_secret: 'xxxx'
token_url: '<https://login.microsoftonline.com/xxxxx/oauth2/token>'
static_configs:
- targets: ["<http://xxxxx-xxx4.westeurope.prometheus.monitor.azure.com:443|xxxxx-xxx4.westeurope.prometheus.monitor.azure.com:443>"]
in the pod log i can see the error below:
message 2023-11-06T17:59:34.651Z warn internal/transaction.go:114 Failed to scrape Prometheus endpoint {"kind": "receiver", "name": "prometheus", "data_type": "metrics", "scrape_timestamp": 1699293574641, "target_labels": "{__name__=\"up\", instance=\"<http://xxxx-xxx4.westeurope.prometheus.monitor.azure.com:443\|xxxx-xxx4.westeurope.prometheus.monitor.azure.com:443\>", job=\"prometheus-xxx\"}"}
any tip here?Srikanth Chekuri
11/08/2023, 2:04 PMAlex Lima
11/09/2023, 10:57 AM