Skip to content

Commit

Permalink
Update setMetricProducer doc string to mark it internal
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass committed Aug 9, 2023
1 parent 15c1d39 commit f095627
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/sdk-metrics/src/export/MetricReader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,13 @@ export abstract class MetricReader {
}

/**
* Set the {@link MetricProducer} used by this instance.
* Set the {@link MetricProducer} used by this instance. **This should only be called by the
* SDK and should be considered internal.**
*
* To add additional {@link MetricProducer}s to a {@link MetricReader}, pass them to the
* constructor as {@link MetricReaderOptions.metricProducers}.
*
* @internal
* @param metricProducer
*/
setMetricProducer(metricProducer: MetricProducer) {
Expand Down

0 comments on commit f095627

Please sign in to comment.