-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: @opentelemetry/metrics fails to run due to bad import #881
Conversation
@@ -28,7 +28,7 @@ import { | |||
import { LabelSet } from './LabelSet'; | |||
import { Batcher, UngroupedBatcher } from './export/Batcher'; | |||
import { PushController } from './export/Controller'; | |||
import { NoopExporter } from '../test/mocks/Exporter'; | |||
import { NoopExporter } from './export/NoopExporter'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another option is to use ConsoleMetricExporter
as a default metric exporter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or InMemoryMetricExporter
similar to InMemorySpanExporter
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think no-op is better. We can create a more fancy version of no-op if a need arises later.
@@ -28,7 +28,7 @@ import { | |||
import { LabelSet } from './LabelSet'; | |||
import { Batcher, UngroupedBatcher } from './export/Batcher'; | |||
import { PushController } from './export/Controller'; | |||
import { NoopExporter } from '../test/mocks/Exporter'; | |||
import { NoopExporter } from './export/NoopExporter'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think no-op is better. We can create a more fancy version of no-op if a need arises later.
Which problem is this PR solving?