-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Cloudflare & DeploymentObservability (AI Telemetry)Issues related to AI related Observability/Telemetry (Traces, Metrics, Logs)Issues related to AI related Observability/Telemetry (Traces, Metrics, Logs)TelemetryIssues surrounding observability via OTELIssues surrounding observability via OTELbugSomething isn't workingSomething isn't workingdiscordFor issues created from Discord discussions.For issues created from Discord discussions.effort:mediumimpact:hightrio-tracery
Description
This issue was created from Discord post 1465315385724375204:
We are hosting on google cloud and use the OtelExporter:
new OtelExporter({
provider: {
custom: {
endpoint: 'https://telemetry.googleapis.com',
headers: await getAuthHeaders(),
protocol: 'http/protobuf',
},
},
resourceAttributes: {
'gcp.project_id': process.env.GOOGLE_CLOUD_PROJECT,
'service.name': 'ai',
},
}),
this works fine but the auth headers will expire after a certain time and it's now impossible to set new headers.
headers are now set like
const auth = new GoogleAuth({
projectId: process.env.GOOGLE_CLOUD_PROJECT,
scopes: ['https://www.googleapis.com/auth/cloud-platform'],
});
headers = await auth.getRequestHeaders();
it would be great if we can add code like in the mcpServer that has a "fetch" method to update headers
Metadata
Metadata
Assignees
Labels
Cloudflare & DeploymentObservability (AI Telemetry)Issues related to AI related Observability/Telemetry (Traces, Metrics, Logs)Issues related to AI related Observability/Telemetry (Traces, Metrics, Logs)TelemetryIssues surrounding observability via OTELIssues surrounding observability via OTELbugSomething isn't workingSomething isn't workingdiscordFor issues created from Discord discussions.For issues created from Discord discussions.effort:mediumimpact:hightrio-tracery