You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
To test this theory I made some changes in stackdriver-cloudtrace-utils.js file.
Excuse my crappy code, and I am not suggesting that the change should occur here; But like I said I just wanted to see if this will make it display correctly in stack driver.
@loneparadox Thanks for the pointers, I managed to repro-d the issue and open a PR to fix the reported problem. This will be available in 0.0.18 release.
Stack driver exporter does not seems to pass on the openCensus attributes and does not seem to convert them to the stack driver attributes.
What version of OpenCensus are you using?
"@opencensus/exporter-stackdriver": "0.0.17",
"@opencensus/nodejs": "0.0.17",
What version of Node are you using?
v10.16.1
What did you do?
Followed the instructions from https://github.com/census-instrumentation/opencensus-node/blob/master/packages/opencensus-exporter-stackdriver/README.md#usage
The trace data gets sent to stack driver however it seems in stack driver trace the methods and responses are not picked up by stack driver.
i.e. on the stack driver screen you cannot filter on
HTTP method
, etc...What did you expect to see?
I would expect the attributes to be populated so it works with stack driver.
From what I could see it seems the stack driver exporter is not converting the openCensus attributes.
From https://github.com/census-instrumentation/opencensus-specs/blob/master/trace/HTTP.md#attributes
I would expect
"http.host"
to be converted to"/http/host"
and so forth.Additional context
I suspect this is the same as #163
That tickets has a link in which no longer exists and I think https://github.com/census-instrumentation/opencensus-python/blob/master/contrib/opencensus-ext-stackdriver/opencensus/ext/stackdriver/trace_exporter/__init__.py#L292
might be what is the current code on the python side.
The text was updated successfully, but these errors were encountered: