grafana tempo sigv4支持普罗米修斯后端?



grafana tempo backend sign (sigv4)它发送给aws prometheus (AMP)的请求?

metrics_generator:
registry:
external_labels:
source: tempo
cluster: example
storage:
path: /tmp/tempo/generator/wal
remote_write:
- url: https://aps-workspaces.eu-central-1.amazonaws.com/workspaces/ws-2354ezthd34w4ter/api/v1/remote_write
send_exemplars: true

或者是否有一个代理服务器可以在tempo和prometheus之间运行来完成签名工作?

aws-sigv4-proxy为我解决了这个问题。

docker run --name sigv4proxy -ti --rm 
--network=host 
public.ecr.aws/aws-observability/aws-sigv4-proxy:1.6.1 
-v --name aps --region eu-central-1 
--host aps-workspaces.eu-central-1.amazonaws.com

现在tempo可以使用localhost访问AMP (aws管理的普罗米修斯)

storage:
path: /tmp/tempo/generator/wal
remote_write:
- url: http://localhost:8080/workspaces/ws-1d8a668e-382b-4c49-9354-ad099f2b6260/api/v1/remote_write #http://prometheus:9090/api/v1/write
send_exemplars: true

最新更新