Closed marcalff closed 3 months ago
Note that this is a blind push.
I could not get instructions to work to run tests:
[malff@malff-desktop opentelemetry-configuration]$ npm --version
6.14.11
[malff@malff-desktop opentelemetry-configuration]$ make
npm install
npm WARN opentelemetry-configuration No repository field.
npm WARN opentelemetry-configuration No license field.
audited 110 packages in 0.598s
57 packages are looking for funding
run `npm fund` for details
found 1 high severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
All tools installed
/data/malff/CODE/PLAY_GITHUB/opentelemetry-configuration
└── ajv-cli@5.0.0
npx: installed 1 in 0.487s
command not found: compile
make: *** [Makefile:11: compile-schema] Error 1
Fixes #109
Changes
Split
MetricExporter
into:PushMetricExporter
, which can representotlp
,console
, or an extension point,PullMetricExporter
, which can representprometheus
, or an extension point,This is to enforce that:
PeriodicMetricReader
can only use aPushMetricExporter
PullMetricReader
can only use aPullMetricExporter