We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running a local tilt up and sending data via sendotlp generates with following error:
tilt up
sendotlp
2024-08-12T17:57:28-04:00 FATAL sendotlp/main.go:114 error sending data {"error": "rpc error: code = Unauthenticated desc = authentication failed: missing or improperly formatted Authorization header: expected 'Authorization: Bearer secret_token' or 'Authorization: ApiKey base64(API key ID:API key)'\nerror shutting down meter provider: failed to upload metrics: rpc error: code = Unauthenticated desc = authentication failed: missing or improperly formatted Authorization header: expected 'Authorization: Bearer secret_token' or 'Authorization: ApiKey base64(API key ID:API key)'"}
> TOKEN=$(kubectl get secrets apm-server-apm-token -o json | jq '. | {name: .metadata.name,data: .data|map_values(@base64d)}.data."secret-token"' | tr -d '"') && go run main.go -insecure=true -secret-token="$TOKEN" -endpoint=http://localhost:8200 2024-08-12T18:03:51-04:00 INFO sendotlp/main.go:155 sending OTLP data to http://localhost:8200 (grpc)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Context
Running a local
tilt up
and sending data viasendotlp
generates with following error:2024-08-12T17:57:28-04:00 FATAL sendotlp/main.go:114 error sending data {"error": "rpc error: code = Unauthenticated desc = authentication failed: missing or improperly formatted Authorization header: expected 'Authorization: Bearer secret_token' or 'Authorization: ApiKey base64(API key ID:API key)'\nerror shutting down meter provider: failed to upload metrics: rpc error: code = Unauthenticated desc = authentication failed: missing or improperly formatted Authorization header: expected 'Authorization: Bearer secret_token' or 'Authorization: ApiKey base64(API key ID:API key)'"}
Methods Tried
sendotlp
does work:The text was updated successfully, but these errors were encountered: