Skip to content

Commit

Permalink
don't translate semantic conventions in bridges
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole committed Jan 17, 2023
1 parent d3e5ded commit bb22f11
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions specification/compatibility/opencensus.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,25 +272,3 @@ metric exporters.
* OpenTelemetry does not currently support context-based attributes (tags).
* OpenTelemetry does not support OpenCensus' SumOfSquaredDeviation field; this
is dropped when using the bridge.

## Semantic Convention Mappings

Where possible, the tracing and metrics shims SHOULD provide mappings of labels
to attributes defined within the OpenTelemetry semantic convetions.

> The principle is to ensure OpenTelemetry exporters, which use these semantic
> conventions, are likely to export the correct data.
### HTTP Attributes

OpenCensus specifies the following [HTTP Attributes](https://github.com/census-instrumentation/opencensus-specs/blob/master/trace/HTTP.md#attributes):

| OpenCensus Name | OpenTelemetry Name | Comments |
| ------------------ | ------------------ |----------------------|
| `http.host` | `http.host` | |
| `http.method` | `http.method` | |
| `http.user_agent` | `http.user_agent` | |
| `http.status_code` | `http.status_code` | |
| `http.url` | `http.url` | |
| `http.path` | `http.target` | key-name change only |
| `http.route` | N/A | Pass through ok |

0 comments on commit bb22f11

Please sign in to comment.