1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/sdk
Matej Gera 439cd31389
Add TraceState to SpanContext in API (#1340)
* Add TraceState to API

* Add tests for TraceState

* Update related tests

- stdout exporter test
- SDK test

* Update OTLP span transform

* Update CHANGELOG

* Change TraceState to struct instead of pointer

- Adjust tests for trace API
- Adjust adjacent parts of codebase (test utils, SDK etc.)

* Add methods to assert equality

- for type SpanContext, if SpanID, TraceID, TraceFlag and TraceState are
equal
- for type TraceState, if entries of both respective trace states are
equal

Signed-off-by: Matej Gera <matejgera@gmail.com>

* Copy values for new TraceState, adjust tests

* Use IsEqualWith in remaining tests instead of assertion func

* Further feedback, minor improvements

- Move IsEqualWith method to be only in test package
- Minor improvements, typos etc.

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-12-21 13:11:48 -08:00
..
export Add RO/RW span interfaces (#1360) 2020-12-10 21:15:44 -08:00
instrumentation chore: adds vanity import for files that don't have it. (#1297) 2020-11-04 09:10:58 -08:00
internal Move Version function and code from global to toplevel (#1330) 2020-11-16 09:30:54 -08:00
metric Fix typo in comment (#1402) 2020-12-15 08:06:58 -08:00
resource Set telemetry.sdk.name resource attribute to "opentelemetry" (#1332) 2020-11-16 10:00:59 -08:00
trace Add TraceState to SpanContext in API (#1340) 2020-12-21 13:11:48 -08:00
go.mod Release v0.15.0 (#1392) 2020-12-10 21:00:59 -08:00
go.sum Bump github.com/google/go-cmp from 0.5.3 to 0.5.4 (#1374) 2020-11-30 10:31:41 -08:00
README.md Trace sdk (#65) 2019-08-02 13:52:55 -07:00