Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

HTTP Attributes are not mapped in Stackdriver exporter #1153

Closed
Sebruck opened this issue Apr 27, 2018 · 2 comments
Closed

HTTP Attributes are not mapped in Stackdriver exporter #1153

Sebruck opened this issue Apr 27, 2018 · 2 comments

Comments

@Sebruck
Copy link
Contributor

Sebruck commented Apr 27, 2018

Please answer these questions before submitting a bug report.

What version of OpenCensus are you using?

0.12.3

What JVM are you using (java -version)?

8

What did you do?

Adding http attributes according to the spec to a span (http.host, http.method, ...), see here: https://github.com/Sebruck/opencensus-scala/blob/master/akka-http/src/main/scala/com/github/sebruck/opencensus/akka/http/trace/HttpAttributes.scala#L16

What did you expect to see?

The spec defines that those attributes should be mapped when exporting to stackdriver, e.g.:
http.host -> /http/host

But this seems not to happen, in Stackdriver I still see the initial value.

I also can't find any code doing this in the opencensus-exporter-trace-stackdriver module.

What did you see instead?

The attributes should be mapped as defined in the specs.

Is this a missing feature or a bug?

@Sebruck
Copy link
Contributor Author

Sebruck commented Apr 27, 2018

If it's a missing feature I'd be happy to contribute.

@sebright
Copy link
Contributor

I think this is a missing feature, and we would be happy to accept a contribution!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants