Skip to content

Latest commit

 

History

History
491 lines (338 loc) · 18.8 KB

File metadata and controls

491 lines (338 loc) · 18.8 KB

Changelog

Unreleased

1.5.0-alpha.1

Released 2023-Mar-07

  • Bumped the version of Google.Protobuf used by the project to 3.22.0 so that a new performance feature can be used instead of reflection. Removed the dependency on System.Reflection.Emit.Lightweight. (#4201)

  • Added Exemplar support. See exemplars for instructions to enable exemplars.

1.4.0

Released 2023-Feb-24

  • Updated OTel SDK dependency to 1.4.0

  • AddOtlpExporter extension methods will now always create a new options instance when named options are NOT used. (#4200)

1.4.0-rc.4

Released 2023-Feb-10

  • Added a direct dependency on System.Reflection.Emit.Lightweight which previously came transitively through the OpenTelemetry SDK. (#4140)

1.4.0-rc.3

Released 2023-Feb-01

1.4.0-rc.2

Released 2023-Jan-09

  • For AddOtlpExporter extension methods, configuration delegates will be executed inline and not through Options API when named options are NOT used. (#4058)

1.4.0-rc.1

Released 2022-Dec-12

  • Fix default values for OTEL_ATTRIBUTE_COUNT_LIMIT, OTEL_ATTRIBUTE_COUNT_LIMIT, OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT, OTEL_SPAN_EVENT_COUNT_LIMIT, OTEL_SPAN_LINK_COUNT_LIMIT, OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT, OTEL_LINK_ATTRIBUTE_COUNT_LIMIT. All of them are defaulted to 128. (#3978)

1.4.0-beta.3

Released 2022-Nov-07

  • Log Exporter modified to no longer prefix scope-depth when exporting ILogger scopes as attributes. Empty keys and {OriginalFormat} key will be ignored from scopes. (#3843)

1.4.0-beta.2

Released 2022-Oct-17

  • OTLP histogram data points will now include Min and Max values when they are present. (#2735)

  • Adds support for limiting the length and count of attributes exported from the OTLP log exporter. These Attribute Limits are configured via the environment variables defined in the specification. (#3684)

  • Added support for loading environment variables from IConfiguration when using the AddOtlpExporter extensions (#3760)

1.4.0-beta.1

Released 2022-Sep-29

  • Added overloads which accept a name to the MeterProviderBuilder AddOtlpExporter extension to allow for more fine-grained options management (#3648)

  • Added overloads which accept a name to the TracerProviderBuilder AddOtlpExporter extension to allow for more fine-grained options management (#3653)

1.4.0-alpha.2

Released 2022-Aug-18

1.4.0-alpha.1

Released 2022-Aug-02

  • Adds support for limiting the length and count of attributes exported from the OTLP exporter. These Attribute Limits are configured via the environment variables defined in the specification. (#3376)

  • The MetricReaderOptions defaults can be overridden using OTEL_METRIC_EXPORT_INTERVAL and OTEL_METRIC_EXPORT_TIMEOUT environmental variables as defined in the specification. (#3424)

1.3.0

Released 2022-Jun-03

1.3.0-rc.2

Released 2022-June-1

1.3.0-beta.2

Released 2022-May-16

  • LogExporter to support Logging Scopes. (#3218)

  • Support HttpProtobuf protocol with logs & added HttpClientFactory option (#3225)

  • Removes net5.0 target and replaced with net6.0 as .NET 5.0 is going out of support. The package keeps netstandard2.1 target, so it can still be used with .NET5.0 apps. (#3147)

  • Fix handling of array-valued attributes for the OTLP trace exporter. (#3238)

  • Improve the conversion and formatting of attribute values to the OTLP format. The list of data types that must be supported per the OpenTelemetry specification is more narrow than what the .NET OpenTelemetry SDK supports. Numeric built-in value types are supported by converting to a long or double as appropriate except for numeric types that could cause overflow (ulong) or rounding (decimal) which are converted to strings. Non-numeric built-in types - string, char, bool are supported. All other types are converted to a string. Array values are also supported. (#3262) (#3274)

1.3.0-beta.1

Released 2022-Apr-15

  • Removes .NET Framework 4.6.1. The minimum .NET Framework version supported is .NET 4.6.2. (#3190)

1.2.0

Released 2022-Apr-15

  • LogExporter to correctly map Severity to OTLP. (#3177)

  • LogExporter to special case {OriginalFormat} to populate Body. (#3182)

1.2.0-rc5

Released 2022-Apr-12

  • Updated underlying proto files to v0.16.0. The LogRecord.Name field was removed. The CategoryName provided when calling CreateLogger previously populated this field. For now, CategoryName is no longer exported via OTLP. It will be reintroduced in the future as an attribute.

1.2.0-rc4

Released 2022-Mar-30

  • Added support for Activity Status and StatusDescription which were added to Activity from System.Diagnostics.DiagnosticSource version 6.0. Prior to version 6.0, setting the status of an Activity was provided by the .NET OpenTelemetry API via the Activity.SetStatus extension method in the OpenTelemetry.Trace namespace. Internally, this extension method added the status as tags on the Activity: otel.status_code and otel.status_description. Therefore, to maintain backward compatibility, the exporter falls back to using these tags to infer status. (#3100)

  • Fixed OTLP metric exporter to default to a periodic 60 second export cycle. A bug was introduced in #2717 that caused the OTLP metric export to default to a manual export cycle (i.e., requiring an explicit flush). A workaround for this bug has been provided here. (#2982)

  • Bumped minimum required gRPC version (2.23.0 to 2.44.0). Fixes issues building on Apple Silicon (M1). (#2963)

  • Fixed issue where the configuration of an OTLP exporter could be changed after instantiation by altering the original OtlpExporterOptions provided. (#3066)

  • TraceExporter to stop populating DeprecatedCode in OTLP Status.

1.2.0-rc3

Released 2022-Mar-04

  • LogExporter bug fix to handle null EventName. (#2871)

  • Fixed the default endpoint for OTLP exporter over HTTP/Protobuf. The default value is http://localhost:4318. (#2868)

  • Removes metric related configuration options from OtlpExporterOptions. MetricReaderType, PeriodicExporterMetricReaderOptions, and Temporality are now configurable via the MetricReaderOptions. (#2717)

  • Exporter bug fix to not throw exceptions from Export method. (#2915)

  • OTLP LogExporter modified to not drop the whole batch if a single log from the batch is invalid. (#2934)

1.2.0-rc2

Released 2022-Feb-02

  • Added validation that insecure channel is configured correctly when using .NET Core 3.x for gRPC-based exporting. (#2691)

  • Changed OtlpLogExporter to convert ILogger structured log inputs to Attributes in OpenTelemetry (only active when ParseStateValues is true on OpenTelemetryLoggerOptions)

1.2.0-rc1

Released 2021-Nov-29

  • Added configuration options for MetricReaderType to allow for configuring the OtlpMetricExporter to export either manually or periodically. (#2674)

  • The internal log message used when OTLP export client connection failure occurs, will now include the endpoint uri as well. (#2686)

  • Support HttpProtobuf protocol with metrics & added HttpClientFactory option (#2696)

1.2.0-beta2

Released 2021-Nov-19

  • Changed OtlpExporterOptions constructor to throw FormatException if it fails to parse any of the supported environment variables.

  • Changed OtlpExporterOptions.MetricExportIntervalMilliseconds to default 60000 milliseconds. (#2641)

1.2.0-beta1

Released 2021-Oct-08

  • MeterProviderBuilder extension methods now support OtlpExporterOptions bound to IConfiguration when using OpenTelemetry.Extensions.Hosting (#2413)
  • Extended OtlpExporterOptions by Protocol property. The property can be overridden by OTEL_EXPORTER_OTLP_PROTOCOL environmental variable (grpc or http/protobuf). Implemented OTLP over HTTP binary protobuf trace exporter. (#2292)

1.2.0-alpha4

Released 2021-Sep-23

1.2.0-alpha3

Released 2021-Sep-13

  • OtlpExporterOptions.BatchExportProcessorOptions is initialized with BatchExportActivityProcessorOptions which supports field value overriding using OTEL_BSP_SCHEDULE_DELAY, OTEL_BSP_EXPORT_TIMEOUT, OTEL_BSP_MAX_QUEUE_SIZE, OTEL_BSP_MAX_EXPORT_BATCH_SIZE environmental variables as defined in the specification. (#2219)

1.2.0-alpha2

Released 2021-Aug-24

  • The OtlpExporterOptions defaults can be overridden using OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_HEADERS and OTEL_EXPORTER_OTLP_TIMEOUT environmental variables as defined in the specification. (#2188)

  • Changed default temporality for Metrics to be cumulative.

1.2.0-alpha1

Released 2021-Jul-23

  • Removes .NET Framework 4.5.2, .NET 4.6 support. The minimum .NET Framework version supported is .NET 4.6.1. (#2138)

  • Add Metrics support.(#2174)

1.1.0

Released 2021-Jul-12

1.1.0-rc1

Released 2021-Jun-25

1.1.0-beta4

Released 2021-Jun-09

1.1.0-beta3

Released 2021-May-11

1.1.0-beta2

Released 2021-Apr-23

  • Resolves System.TypeInitializationException exception when using the exporter with an application that references Google.Protobuf 3.15. The OTLP exporter now depends on Google.Protobuf 3.15.5 enabling the use of the new UnsafeByteOperations.UnsafeWrap to avoid unnecessary allocations. (#1873)

  • Null values in string arrays are preserved according to spec. (#1919 #1945)

  • When using OpenTelemetry.Extensions.Hosting you can now bind OtlpExporterOptions to IConfiguration using the Configure extension (ex: services.Configure<OtlpExporterOptions>(this.Configuration.GetSection("Otlp"));). (#1942)

1.1.0-beta1

Released 2021-Mar-19

1.0.1

Released 2021-Feb-10

1.0.0-rc4

Released 2021-Feb-09

  • Add back support for secure gRPC connections over https. (#1804)

1.0.0-rc3

Released 2021-Feb-04

  • Moved OtlpTraceExporter and OtlpExporterOptions classes to OpenTelemetry.Exporter namespace. (#1770)
  • Changed default port for OTLP Exporter from 55680 to 4317
  • Default ServiceName, if not found in Resource, is obtained from SDK using GetDefaultResource().
  • Modified the data type of Headers option to string; Added a new option called TimeoutMilliseconds for computing the deadline to be used by gRPC client for Export (#1781)
  • Removes Grpc specific options from OTLPExporterOptions, which removes support for secure connections. See 1778 for details.
  • Endpoint is made Uri for all target frameworks.

1.0.0-rc2

Released 2021-Jan-29

  • Changed OtlpTraceExporter class and constructor from internal to public. (#1612)

  • In OtlpExporterOptions.cs: Exporter options now include a switch for Batch vs Simple exporter, and settings for batch exporting properties.

  • Introduce a netstandard2.1 build enabling the exporter to use the gRPC for .NET library instead of the gRPC for C# library for .NET Core 3.0+ applications. This required some breaking changes to the OtlpExporterOptions. (#1662)

1.0.0-rc1.1

Released 2020-Nov-17

  • Code generated from proto files has been marked internal. This includes everything under the OpenTelemetry.Proto namespace. (#1524)
  • The OtlpExporter class has been made internal. (#1528)
  • Removed ServiceName from options available on the AddOtlpExporter extension. It is not required by the specification. (#1557)

0.8.0-beta.1

Released 2020-Nov-5

  • peer.service tag is now added to outgoing spans (went not already specified) following the Zipkin remote endpoint rules (#1392)
  • Added ServiceName to options available on the AddOtlpExporter extension (#1420)

0.7.0-beta.1

Released 2020-Oct-16

0.6.0-beta.1

Released 2020-Sep-15

0.5.0-beta.2

Released 2020-08-28

  • Allow configurable gRPC channel options (#1033)
  • Renamed extension method from UseOtlpExporter to AddOtlpExporter (#1066)
  • Changed OtlpExporter to use BatchExportActivityProcessor by default (#1104)

0.4.0-beta.2

Released 2020-07-24

  • First beta release

0.3.0-beta

Released 2020-07-23

  • Initial release