open-telemetry / opentelemetry-configuration

JSON Schema definitions for OpenTelemetry file configuration
Apache License 2.0
41 stars 17 forks source link

[SCHEMA] The MetricExporter schema is unsafe #110

Closed marcalff closed 3 months ago

marcalff commented 3 months ago

Fixes #109

Changes

Split MetricExporter into:

This is to enforce that:

marcalff commented 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
jack-berg commented 3 months ago

Not sure what you're node error is all about. I use node version 18 which comes with npm version 9. Maybe we should check an .nvmrc into version control.