We hold regular community meetings, see the calendar here: https://opencensus.io/community/
lzchen on master
post (#1122) (compare)
I'm getting a bad decrypt when I try to set the env variable using /tests/system/set_credentials.sh
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
bad decrypt
140663209464256:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:537:
Doest anyone know why this happens when running the test?
requests
and the extension, but i’m not getting any requests info (http method, status code, etc.) in Google's Cloud Trace
. the span does appear though. has anyone else run into this issue? any extra configuration needed to be added?
'opencensus>=0.7.7',
'opencensus-ext-requests>=0.7.3',
'opencensus-ext-stackdriver>=0.7.2',
'requests==2.22.0’,
def initialize_tracer():
exporter = StackdriverExporter(project_id=‘<PROJECT_ID>’, transport=AsyncTransport)
return Tracer(exporter=exporter, sampler=AlwaysOnSampler())
tracer = initialize_tracer()
config_integration.trace_integrations(['requests'], tracer=tracer)
with tracer.span(name=’span_name'):
response = requests.get(url='https://www.wikipedia.org/wiki/Rabbit’)
# Span appears but without any requests information
I'm trying to setup OpenCensus for our project, but I'm running into issues with Bazel. external/io_opencensus_cpp/opencensus/exporters/trace/stackdriver/BUILD:24:1: error loading package '@com_google_googleapis//google/devtools/cloudtrace/v2': Unable to find package for @com_google_googleapis_imports//:imports.bzl: The repository '@com_google_googleapis_imports' could not be resolved. and referenced by '@io_opencensus_cpp//opencensus/exporters/trace/stackdriver:stackdriver_exporter'
Can anyone help?
@com_google_googleapis_imports
repository. You may be missing this: https://github.com/census-instrumentation/opencensus-cpp/blob/04ed0211931f12b03c1a76b3907248ca4db7bc90/WORKSPACE#L76
Can anyone help me with a use case with multiple exporters?
I want to have two exporters in my app. They would both export to Stackdriver Monitoring, but each would have a different reporting interval. This is because I'd use one set of metrics for alerting, with a frequent reporting interval, and another set of metrics for information only, with a very infrequent reporting interval, to save money. Stackdriver Monitoring custom metrics are very expensive.
I looked at the documentation for Go and Java metrics, and both of them make it seem like the only way to set up the views and exporters is to register them all globally. It seems like it's all global state, that if you set up a view, you have to have it send metrics to all registered exporters, and vice versa. This would make it seem like I can't do my use case with OpenCensus. Is this true? Or if it's not, does anyone know, how I'd do it?
Hey people, I have a question with integrating application logs with ocagent exporter.
I am trying to integrate ocagent with my Go application.
I already have added logs with logrus library in my app, the issue is now export to Jaeger.
I am not able to view the logs with the spans.
Can these logs not be configured in the exporter? Or is the Annotate api provided only way to add the logs.
Hey people, I have a question with integrating application logs with ocagent exporter.
I am trying to integrate ocagent with my Go application.
I already have added logs with logrus library in my app, the issue is now export to Jaeger.
I am not able to view the logs with the spans.Can these logs not be configured in the exporter? Or is the Annotate api provided only way to add the logs.
Any suggestions on this?
Hi folks. We use open-census java lib and need to integrate with upstream systems that don't use tracing. But these systems send us messages with info about when they started/finished processing (in the past).
Is it possible to create "backdated spans" and manually set StartTime and EndTime in the past? I noticed that Span uses Clock object, but it seems that it isn't exposed.
I've got some major confusions about how to use opencensus in typescript. Almost every example I follow doesn't seem to work for me. I'm using Yarn and electron in the browser context. For example, I want to just confirm this is working with opencensus/nodejs-base so ive done:
yarn add @opencensus/nodejs-base
and following from the docs:
https://www.npmjs.com/package/@opencensus/nodejs-base
It says to use
tracing.tracer.something
(assuming the implication is to do: import * as tracing from '@opencensus/nodejs-base'; like for regular @opencensus/nodejs)
and that tracing type comes back and does not have a tracer, tracing in this context is a TraceBase. What am I doing wrong?
Hello, I want to be able to write custom exporters for OpenCensus in Python because I want to send metrics from Python 2.x services to a backend that's not currently listed here:
https://opencensus.io/exporters/supported-exporters/python/
I see that there's documentation available to write custom exporters in other languages (Go, Java etc...). Looking for some suggestions/examples of how to write one in Python.