![](/img/trans.png)
[英]Bucket POST must contain a field named 'AWSAccessKeyId' with SigV4
[英]grafana tempo sigv4 support for prometheus backend?
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
或者是否有一個代理服務器可以在執行簽名工作的速度和普羅米修斯之間運行?
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 managed prometheus)
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
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.