Questions tagged [opencensus]
87 questions
19
votes
1 answer
Django, Apache2 on Google Kubernetes Engine writing Opencensus Traces to Stackdriver Trace
I have a Django web app served from Apache2 with mod_wsgi in docker containers running on a Kubernetes cluster in Google Cloud Platform, protected by Identity-Aware Proxy. Everything is working great, but I want to send GCP Stackdriver traces for…

Furbeenator
- 8,106
- 4
- 46
- 54
5
votes
1 answer
How to tracing a request through a chain of microservices end-to-end?
I am using OpenCensus in Go to push tracing data to Stackdriver for calls involving a chain of 2 or more micro services and I noticed that I get many traces which contain spans only for certain services but not the entire end to end call.
At the…

Alexandre Thenorio
- 2,288
- 3
- 31
- 50
4
votes
1 answer
Zipkin (Opencensus) - 2 Spans with same names instead of different
Prerequisites:
Node.js application
Opencensus library
Zipkin Exporter and local Zipkin service
app.js:
const tracing = require('@opencensus/nodejs');
const zipkin = require('@opencensus/exporter-zipkin');
const ZIPKIN_ENDPOINT =…

sergionni
- 13,290
- 42
- 132
- 189
3
votes
1 answer
Azure Application Insights logging for Python Application - Set Exception properties explicitly
I am trying to send Exceptions from my Python application running in Azure App service to the designated Azure Application Insights instance. I am using OpenCensus python library for this purpose.
The basic logging and exception are successfully…

aghosh
- 35
- 1
- 4
3
votes
2 answers
Opencensus Stackdriver traces from Python app not appearing in the Trace list in GCP
I'm comparing different tracing backend using OpenCensus.
I already have the simple OpenCensus.io python samples running fine using Zipkin and Azure Monitor.
Now I'm trying to test using GCP's Stackdriver...
I have set up the test code from…

Nils
- 1,237
- 3
- 11
- 28
3
votes
1 answer
How to consume Google PubSub opencensus metrics using GoLang?
I am new in Google PubSub. I am using GoLang for the client library.
How to see the opencensus metrics that recorded by the google-cloud-go library?
I already success publish a message to Google PubSub. And now I want to see this metrics, but I can…

Oki Setiawan
- 41
- 1
3
votes
0 answers
Opencensus Tracing in Google Cloud Run
I'm trying to use Stackdriver tracing while running a Google Cloud Run instance.
However, when tracing a call from point A to the container instance, the trace parent_span_id is broken. This leads to a broken trace on the stackdriver view that looks…

Daniel Goldberg
- 19,908
- 4
- 21
- 29
3
votes
1 answer
ClassNotFoundException: io.opencensus.trace.propagation.TextFormat not found
I have a module in apache karaf 4.2.6 with java 11 that validates purchase receipts in Google Play. I'm using androidpublisher.
When it sends a request for the first time I get an error in OpenCensusUtils…

Sergey
- 31
- 1
- 5
3
votes
0 answers
How to append Strackdriver trace with custom spans using Opencencsus library?
I'm setting up a Standard, Java, AppEngine Service and I need to trace custom location in the code. I have followed the tutorial provided by Google: https://cloud.google.com/trace/docs/setup/java to setup the tracing, however the issue, is that that…

Vito Tumas
- 31
- 2
2
votes
1 answer
Ingestion is allowed only from stamp specific endpoint (Azure East US 2)
I am getting this error starting this weekend for Azure East US 2 region. This may also be happening in other regions that I am not aware of.
The code was logging to appinsights last week.
Non-retryable server side error 404:…

S2L
- 1,746
- 1
- 16
- 20
2
votes
1 answer
Python Opencenus Trace ID and Span ID in azure monitor
I am trying to add traceId and spanId to logs in azure functions in python, following https://learn.microsoft.com/en-us/azure/azure-monitor/app/correlation#log-correlation in Azure documentation
traceId and spanId is added to log statements in…

Abishek Kumaresan
- 107
- 1
- 4
- 15
2
votes
0 answers
Adding the opencensus AzureLogHandler to the root logger in FastAPI applications
I am having significant difficulty with emitting logs to the Azure Application Insights. When the AzureLogHandler is initialised and added to a child logger within app.py, it works fine. However, the issue begins outside of app.py when I go to…

RoryP
- 21
- 2
2
votes
1 answer
Recursive logging issue when using Opencensus with FastAPI
I have a problem with my implementation of Opencensus, logging in Python and FastAPI. I want to log incomming requests to Application Insights in Azure, so I added a FastAPI middleware to my code following the Microsoft docs and this Github…

Lowroad
- 153
- 1
- 10
2
votes
0 answers
Sleuth basic tracing example not working in java
I tried to implement tracing using sleuth-otel. For that, I followed the steps mentioned in the official sleuth-otel documentation. I created a sample project to implement this. but that did't work.
I followed this link.
This is my pom.xml

Sweety
- 307
- 1
- 11
2
votes
1 answer
How to create percentile-based metric chart?
My application generates "score" values for a particular use case. These scores generally are anywhere in the range of 0-120, but most cluster in the range of 60-95.
I currently have a stat chart using counts with cardinality, e.g., 0, 1-12, 13-24,…

jacob
- 2,762
- 1
- 20
- 49