in prometheus.yml,it should be like
- job_name: 'test'
metrics_path: '/test'
authorization:
credentials: mIrLtzDvPr1b90UG
type: Token
static_configs:
[
{
"labels": {
"__authorization__": {
"credentials": "mIrLtzDvPr1b90UG",
"type": "Token"
},
"__metrics_path__": "/test"
},
"targets": [
]
}
]
the notation for authentication is wrong,how to implement authentication correctly?