blueswen / fastapi-jaeger

Trace FastAPI with Jaeger through OpenTelemetry Python API and SDK.
85 stars 22 forks source link

How to combine SPM with grafana? #6

Closed npuichigo closed 1 year ago

npuichigo commented 1 year ago

Fantastic repo. I want to know if there's a way to show SPM in grafana?

blueswen commented 1 year ago

Hi @npuichigo,

I have another project https://github.com/blueswen/opentelemetry-apm only using Span Metrics Connector to monitor System/Application performance like Jaeger SPM.

npuichigo commented 1 year ago

Which one do you prefer? I only want to find a easy way to tracing my service, and it's fine to use jaeger or not.

blueswen commented 1 year ago

Using Jaeger SPM is the easiest way if you don't have or need other metrics from your applications.

npuichigo commented 1 year ago

I found your another repo https://github.com/blueswen/fastapi-observability/tree/main and it's great for me. By the way, how can I include opentelemetry trace id in response header for user to help debugging?

blueswen commented 1 year ago

We can discuss the following question at https://github.com/blueswen/fastapi-observability/issues/12.