Skip to content

Commit

Permalink
Merge branch 'main' into sampler-config
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-hensley authored Mar 19, 2024
2 parents db9093d + 8f9eb90 commit bb35bce
Show file tree
Hide file tree
Showing 14 changed files with 60 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/OpenTelemetry.Api.ProviderBuilderExtensions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## 1.8.0-beta.1

Released 2024-Mar-14

* Added `IOpenTelemetryBuilder` interface to support authoring extensions which
can configure multiple OpenTelemetry signals (tracing, metrics, and/or logs).
([#5265](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5265))
Expand Down
4 changes: 4 additions & 0 deletions src/OpenTelemetry.Api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## 1.8.0-beta.1

Released 2024-Mar-14

## 1.7.0

Released 2023-Dec-08
Expand Down
4 changes: 4 additions & 0 deletions src/OpenTelemetry.Exporter.Console/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## 1.8.0-beta.1

Released 2024-Mar-14

## 1.7.0

Released 2023-Dec-08
Expand Down
4 changes: 4 additions & 0 deletions src/OpenTelemetry.Exporter.InMemory/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## 1.8.0-beta.1

Released 2024-Mar-14

## 1.7.0

Released 2023-Dec-08
Expand Down
4 changes: 4 additions & 0 deletions src/OpenTelemetry.Exporter.OpenTelemetryProtocol/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## 1.8.0-beta.1

Released 2024-Mar-14

* **Experimental (pre-release builds only):** Added
`LoggerProviderBuilder.AddOtlpExporter` registration extensions.
[#5103](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5103)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public void CouldNotRemoveExpiredLease(string srcFilePath, string destFilePath,
this.WriteEvent(8, srcFilePath, destFilePath, ex);
}

[Event(9, Message = "{0}: Error Message: {1}. Exception: {3}", Level = EventLevel.Error)]
[Event(9, Message = "{0}: Error Message: {1}. Exception: {2}", Level = EventLevel.Error)]
public void PersistentStorageException(string className, string message, string ex)
{
this.WriteEvent(9, className, message, ex);
Expand Down
4 changes: 4 additions & 0 deletions src/OpenTelemetry.Exporter.Prometheus.AspNetCore/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## 1.8.0-beta.1

Released 2024-Mar-14

* Added option to disable _total suffix addition to counter metrics
([#5305](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5305))

Expand Down
4 changes: 1 addition & 3 deletions src/OpenTelemetry.Exporter.Prometheus.AspNetCore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ for configuring an ASP.NET Core application with an endpoint for Prometheus
to scrape.

> [!NOTE]
> This exporter does not support [OpenMetrics
format](https://github.com/OpenObservability/OpenMetrics), and consequently,
does not support Exemplars. For using Exemplars, use the [OTLP
> This exporter does not support Exemplars. For using Exemplars, use the [OTLP
Exporter](../OpenTelemetry.Exporter.OpenTelemetryProtocol/README.md) and use a
component like OTel Collector to expose metrics (with exemplars) to Prometheus.
This [tutorial](../../docs/metrics/exemplars/README.md) shows one way how to do that.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## 1.8.0-beta.1

Released 2024-Mar-14

* Added option to disable _total suffix addition to counter metrics
([#5305](https://github.com/open-telemetry/opentelemetry-dotnet/pull/5305))

Expand Down
4 changes: 4 additions & 0 deletions src/OpenTelemetry.Exporter.Zipkin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## 1.8.0-beta.1

Released 2024-Mar-14

## 1.7.0

Released 2023-Dec-08
Expand Down
4 changes: 4 additions & 0 deletions src/OpenTelemetry.Extensions.Hosting/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## 1.8.0-beta.1

Released 2024-Mar-14

* `OpenTelemetryBuilder` has been marked obsolete. Component authors using
`OpenTelemetryBuilder` for cross-cutting signal configuration extensions
should switch to targeting `IOpenTelemetryBuilder` instead.
Expand Down
4 changes: 4 additions & 0 deletions src/OpenTelemetry.Extensions.Propagators/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## 1.8.0-beta.1

Released 2024-Mar-14

## 1.7.0

Released 2023-Dec-08
Expand Down
4 changes: 4 additions & 0 deletions src/OpenTelemetry/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## 1.8.0-beta.1

Released 2024-Mar-14

* Throw NotSupportedException when using `SetErrorStatusOnException` method for
Tracing in Mono Runtime and Native AOT environment because the dependent
`Marshal.GetExceptionPointers()` API is not supported on these platforms.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// SPDX-License-Identifier: Apache-2.0

using OpenTelemetry.Exporter.OpenTelemetryProtocol.Implementation;
using OpenTelemetry.PersistentStorage.Abstractions;
using OpenTelemetry.PersistentStorage.FileSystem;
using OpenTelemetry.Tests;
using Xunit;

Expand All @@ -14,4 +16,16 @@ public void EventSourceTest_OpenTelemetryProtocolExporterEventSource()
{
EventSourceTestHelper.MethodsAreImplementedConsistentlyWithTheirAttributes(OpenTelemetryProtocolExporterEventSource.Log);
}

[Fact]
public void EventSourceTest_PersistentStorageAbstractionsEventSource()
{
EventSourceTestHelper.MethodsAreImplementedConsistentlyWithTheirAttributes(PersistentStorageAbstractionsEventSource.Log);
}

[Fact]
public void EventSourceTest_PersistentStorageEventSource()
{
EventSourceTestHelper.MethodsAreImplementedConsistentlyWithTheirAttributes(PersistentStorageEventSource.Log);
}
}

0 comments on commit bb35bce

Please sign in to comment.