Questions tagged [opencensus]

70 questions
15
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
  • 7,322
  • 4
  • 40
  • 51
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
  • 12,462
  • 41
  • 121
  • 182
4
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…
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…
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
  • 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

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,…
2
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…
2
votes
1 answer

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,225
  • 3
  • 11
  • 27
2
votes
1 answer

how to send metrics with OpenCensus

I am trying to send metrics in Python using OpenCensus and Azure Application Insights. Ideally I would like to send some Python dictionaries with arbitrary structure, however it seems that OpenCensus is "automatically listening to logging/print…
TPPZ
  • 3,050
  • 7
  • 44
  • 79
2
votes
2 answers

Stackdriver Strace embedded traces for one request with python

I am using Stackdriver Trace to monitor the delays of some microservices, but am having some issues in making all the round trip to be shown as one request. Say I have two services (to keep it simple). In order to get the traces from both of them, I…
suren
  • 5,362
  • 1
  • 14
  • 33
2
votes
1 answer

Custom OpenCensus metrics not appearing on Stackdriver

I'm trying to send custom metrics to Stackdriver from my Go application using OpenCensus. I've followed the guide, so the views and exporter are setup: import ( "context" "contrib.go.opencensus.io/exporter/stackdriver" …
noamt
  • 6,006
  • 2
  • 33
  • 50
2
votes
1 answer

opencensus exporter - one global or per thread?

I am using Opencensus to do some monitoring on a grpc server with 10 workers. My question is whether, when making a Tracer, the exporter for the tracer should be local or Global. IE this is the server: server =…
HeronAlgoSearch
  • 1,075
  • 2
  • 9
  • 19
1
vote
1 answer

Is there a workaround to make opencensus work with MLFlow?

I'm not able to import mlflow after having launched a log with opencensus Azure. The MLFlow import runs forever. My environment is the following: Python 3.7 opencensus-ext-azure 1.0.7 opencensus-ext-logging 0.1.0 mlflow 1.15.0 Here is the code to…
Nastasia
  • 319
  • 1
  • 14
1
vote
1 answer

Remove customDimensions items from Application Insights when using opencensus-python

In the documentation on how to use opencensus-python to submit traces to Azure Application Insights, it's spelled out how to add additional information to the customDimensions field. That is, import logging from opencensus.ext.azure.log_exporter…
1
2 3 4 5