Questions tagged [opencensus]
87 questions
0
votes
0 answers
FAILED with error java.lang.IllegalStateException: getTransportChannel() called when needsExecutor() is true
I have a scala function to which i am trying to add some tracing in gcp stackdriver but this is the error I am facing its a data-proc job running in airflow
FAILED with error java.lang.IllegalStateException: getTransportChannel() called when…

user18539620
- 9
- 2
0
votes
0 answers
Sending trace context (parent) to another system to have end to end tracing across systems
I have two systems with request flow going from system A <-> system B, the two systems communicate via PubSub.
System A is written in Golang and uses OpenCensus for tracing
System B is written in Java and uses OpenTelemetry for tracing (it passes…

Mustang
- 21
- 1
0
votes
0 answers
Creating trace in stackdriver for scala functions
I have a scala function and want to create a consolidated span and child span for where ever this function is called in stackdriver (gcp) using cloud logging and opencencus.
What I have so far:
def merge(fileTables: FileTables)(implicit spark:…

user18539620
- 9
- 2
0
votes
1 answer
Segmentation fault after calling py_Finalize() with python version higher than 3.6
I am using ubuntu 18.04 LTS.
I am embedding python to C++ for uploading logs to azure application insights. My code worked well with python3.6 but now support is not available for python3.6 for the python core team. So I am trying to use a higher…

Gaurang
- 11
- 1
0
votes
1 answer
Azure app insights not working with Python console app
I am trying to setup AI similar to how it is being done here
I am using Python 3.9.13 and following packages: opencensus==0.11.0, opencensus-ext-azure==1.1.7, opencensus-context==0.1.3
My code looks something like this:
import logging
import…

CCP
- 1
- 1
0
votes
1 answer
Trace failed fastapi requests with opencensus
I'm using opencensus-python to track requests to my python fastapi application running in production, and exporting the information to Azure AppInsights using the opencensus exporters. I followed the Azure Monitor docs and was helped out by this…

mchristos
- 1,487
- 1
- 9
- 24
0
votes
0 answers
Azure application insights, nested object in Custom Dimension appears as [object Object ]
I have a nested object which i send through the custom dimension to azure appInsights logs
below is the object
{
.
.
'special_chars':'6'
'storage_acc_name':'subrodecadlsdev',
'top_10_line_width':{
'LW_101':45,
'LW_229':78,
…

Roh1
- 43
- 1
- 7
0
votes
1 answer
Python Azure function logging into Azure Monitor (App Insights)
We are wanting to log custom properties using the Opencensus library in our Azure function. We are able to log custom properties (in our logs) into Azure Monitor via a standalone python code (locally run). We are also able to log custom properties…

Sunil Chordia
- 19
- 1
0
votes
1 answer
Can't filter custom metrics in google cloud monitoring with tags
I registered stats with opencensus and attached tags thanks to a StackDriver exporter:
ctx, err = tag.New(ctx, tag.Upsert(key, val))
stats.Record(ctx, []stats.Measurement{csqAverage.M(m)}...)
In the metric explorer, I can see the metrics, but I…

Guillaume D.
- 3,284
- 3
- 20
- 26
0
votes
0 answers
Why won't custom events logged in Python show up in API Explorer?
For context, I am building a dashboard summarizing events, traces, and exceptions across multiple environments on Azure.
I am using the opencensus github project at…

Raymond Wang
- 1
- 1
0
votes
1 answer
OpenTelemetry Collector 404'ing at http://localhost:55681/v1/traces
I've run through the official Otel collector dockumentation, as well as run the collector using Docker and the follow config/code files, but always get a 404 from the collector when the app tries to POST to the /v1/traces endpoint. I've also tried…

Preston Lee
- 584
- 1
- 4
- 10
0
votes
1 answer
Django API "request count" now showing in Azure App Insights > Performance with opencensus
running into an issue where my Django python API application is not logging all metrics to Azure App Insights using opencensus.
But for example, we are getting CPU/memory logging:
I would expect the performance > request count to look similar to…

Josh Johanning
- 840
- 9
- 16
0
votes
2 answers
Where is the Spring Actuator Controller endpoint and can I call it programmatically with jvm call?
I want to find the actual java class that serves the Spring Actuator endpoint (/actuator).
It's similar to this question in a way, but that person wanted to call it via a network HTTP call. Ideally, I can call it within the JVM to save on the cost…

kane
- 5,465
- 6
- 44
- 72
0
votes
1 answer
Error -Cannot recognize package: go.opencensus.io While build datacollector-edge
I have created directory $GOPATH/src/github.com/streamsets . Then cloned https://github.com/streamsets/datacollector-edge.git into it. When I run './gradlew goClean dist publishToMavenLocal', after resolving many dependencies I get the below…

Aleena
- 1
0
votes
1 answer
Linkerd distributed tracing with OpenCensus
Context
I am trying to use OpenCensus and Linkerd.
Though Linkerd has an option to automatically provision OpenCensus and jaeger in its namespace, I don't want to use them. Instead, I deployed them independently by myself under the namespace named…

jjangga
- 441
- 5
- 14