1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-10 09:50:58 +02:00
opentelemetry-go/internal
Tigran Najaryan e72a235518
Add ability to parse Schema files according to OTEP 0152 (#2267)
* Add ability to parse Schema files according to OTEP 0152

The parser and parsed representation (AST) are placed in a separate
Go module so that they are can be consumed independently without
the need to bring the rest of the SDK.

Ability to use the parsed representation for schema conversions
can be added later.

* Fixes based on PR comments

* Rename "label" to "attributes"

See https://github.com/open-telemetry/oteps/pull/181

* Fixes based on PR comments

* Add README.md

* Wrap the error in Parse()

* Add docs for exporter types

* Use yaml.NewDecoder

* Verify parsed content in the test

* Fix indentation in README example

* Fix README spaces vs tabs

* Correctly space imports

* Add heading to README

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-10-15 09:44:13 -07:00
..
baggage Add baggage implementation based on the W3C and OpenTelemetry specification (#1967) 2021-06-08 08:06:37 -07:00
global Update trace API config creation functions (#2212) 2021-09-01 15:44:13 -04:00
internaltest Deprecate oteltest.Harness for removal (#2123) 2021-07-26 11:40:36 -04:00
matchers Replaces golint by revive and fix newly reported linter issues (#1946) 2021-06-08 10:10:01 -07:00
metric Add ability to parse Schema files according to OTEP 0152 (#2267) 2021-10-15 09:44:13 -07:00
tools Add ability to parse Schema files according to OTEP 0152 (#2267) 2021-10-15 09:44:13 -07:00
trace/noop Store current Span instead of local and remote SpanContext in context.Context (#1731) 2021-03-29 08:55:44 -07:00
rawhelpers.go Remove extra labels types (#1314) 2021-02-16 16:23:58 -08:00