Skip to content

Commit

Permalink
changelog and error message
Browse files Browse the repository at this point in the history
  • Loading branch information
reyang committed Nov 23, 2021
1 parent bc738aa commit 924d7b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/OpenTelemetry/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
aggregation is not implemented yet.
([#2660](https://github.com/open-telemetry/opentelemetry-dotnet/pull/2660))

* Refactored temporality setting to align with the latest spec.
([#2666](https://github.com/open-telemetry/opentelemetry-dotnet/pull/2666))

## 1.2.0-beta2

Released 2021-Nov-19
Expand Down
2 changes: 1 addition & 1 deletion src/OpenTelemetry/Metrics/MetricReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public AggregationTemporality Temporality
{
if (this.temporality != AggregationTemporalityUnspecified)
{
throw new NotSupportedException(); // TODO: add details
throw new NotSupportedException($"The temporality cannot be modified (the current value is {this.temporality}).");
}

this.temporality = value;
Expand Down

0 comments on commit 924d7b4

Please sign in to comment.