-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
with no changes, we stopped being able to send metrics to grafana. 401 error.
grafana dashboard showed no API key found, so i generated a new one -
even when passed seemingly correctly, it doesn't work with the same error.
next steps: try printing the actual auth header from within the psyche binary, and copy-paste that into a sample curl a-la
curl -v -X POST $OLTP_LOGS_URL \
-H "Content-Type: application/json" \
-H "authorization: $OLTP_AUTH_HEADER" \
-d '{
"resourceLogs": [
{
"resource": {
"attributes": [
{
"key": "service.name",
"value": {
"stringValue": "my-service"
}
}
]
},
"scopeLogs": [
{
"scope": {
"name": "my-app"
},
"logRecords": [
{
"timeUnixNano": "1768493072000000000",
"severityText": "INFO",
"body": {
"stringValue": "This is a test log message"
},
"attributes": [
{
"key": "log.level",
"value": {
"stringValue": "info"
}
}
]
}
]
}
]
}
]
}'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels