hasura / hasura/graphql-engine

Open Telemetry Monitoring integration with Google Cloud Trace API

Open
#9,607 1 comment 1 reaction 0 assignees View on GitHub
k/bug observability
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Version Information

Server Version: v2.23.0-cloud.1

### Environment

Cloud

### What is the current behaviour?

We're facing an error in the Open Telemetry Monitoring integration.
We're trying to send the project traces to the Google Cloud Trace API endpoint that is something like /v1/projects/{projectId}/traces but the Hasura Cloud client is trying to send those traces to /v1/traces endpoint instead, resulting in a 404 error. We also tried setting up a reverse proxy that expose /v1/traces endpoint and redirect the request to the correct endpoint but we still get the 404 error.

### What is the expected behaviour?

I'm expecting the Hasura Cloud client to send traces to the specified endpoint

### How to reproduce the issue?

1. From the https://cloud.hasura.io/projects screen go into project setting.
2. In the Integrations tab configure a new Open Telemetry integration with a working Cloud Trace API endpoint and the other required parameters.
3. Save the configuration and wait for the client trying to send the traces.

### Screenshots or Screencast

Example with Google Cloud Trace API endpoint:
![Screenshot 2023-04-26 103713](https://user-images.githubusercontent.com/63299434/234520344-b50a70d0-88af-4d9c-9567-9e19633b556f.png)

Example with custom reverse proxy to the Cloud Trace API:
![Screenshot 2023-04-26 103948](https://user-images.githubusercontent.com/63299434/234520365-f2d7454a-3347-4ce5-8236-c8d9538647c6.png)

### Keywords

#cloud #monitoring #opentelemetry #googlecloudtrace

Contributor guide

Open the contributing guide

Research direction

Start by tracing the OpenTelemetry integration configured from the Cloud project's Integrations tab and compare the configured Google Cloud Trace endpoint with the emitted /v1/traces request. Reproduce the setup against the Google Cloud Trace API; done when traces reach the specified endpoint without 404 errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
google-cloud, typescript
Domain
cloud, observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.