Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyMothra committed Apr 15, 2022
1 parent 47c54af commit a5a6c47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/OpenTelemetry/Metrics/AggregatorStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ internal AggregatorStore(

private AggregatorStore(AggregatorStore other)
{
this.name = other.name;
this.batchSize = other.batchSize;

this.currentMetricPointBatch = (int[])other.currentMetricPointBatch.Clone();
Expand Down
1 change: 1 addition & 0 deletions src/OpenTelemetry/Metrics/Metric.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ private Metric(Metric other)
this.MetricType = other.MetricType;
this.InstrumentIdentity = other.InstrumentIdentity;
this.aggStore = other.aggStore.Copy();
this.Temporality = other.Temporality;
}

public MetricType MetricType { get; private set; }
Expand Down

0 comments on commit a5a6c47

Please sign in to comment.