欢迎关注专栏:APM领域
具体报错:caller=client.go:430 component=client host=loki-devtest-gateway.dev.svc.cluster.local msg="final error sending batch" status=401 tenant= error="server returned HTTP status 401 Unauthorized (401): no org id"
这种情况如果是在promtail服务报出来的,大概率是因为loki的版本已经升级到了3.0.0版本,根据You must configure Grafana's Loki datasource using the
HTTP Headerssection with the
X-Scope-