我正在使用grafana代理,并试图将度量标准发送到AMP - Amazon管理的Prometheus服务。使用下面的agent.yaml。不幸的是,AMP命名空间没有接收到这些指标。也许我做错了什么。有人能帮我一把吗?
server:
log_level: info
metrics:
global:
scrape_interval: 1m
scrape_timeout: 30s
remote_write:
- url: https://aps-workspaces.eu-west-1.amazonaws.com/workspaces/ws-.......-35c4-4028-....-f232a1ba0959/api/v1/remote_write
configs:
- name: default
scrape_configs:
- job_name: agent
static_configs:
- targets: [127.0.0.1:9200']
integrations:
node_exporter:
enabled: true发布于 2022-08-09 19:04:05
您需要启用sigv4身份验证,并使用aps:RemoteWrite操作纠正IAM角色。例如:
remote_write:
- sigv4:
enabled: true
region: ${REGION}
url: ${REMOTE_WRITE_URL}检查代理版本的文档,因为您的版本可能需要不同的语法。
https://stackoverflow.com/questions/73296579
复制相似问题