last9 / openapm-nodejs

APM for NodeJS using Prometheus
https://last9.io
Apache License 2.0
61 stars 3 forks source link

feat: Support OTEL metrics #48

Open chtushar opened 2 months ago

chtushar commented 2 months ago

Description

Add a OTel metrics support so that the OpenAPM emits metrics in OTLP format and directly pushes it to a OTLP compatible endpoint like vmagent or Otel collector.

OpenAPM should have a mode option and should have two modes namely openmetrics (default) and opentelemetry.

const openapm = new OpenAPM({
    mode: 'opentelemetry'
})
Ayush9026 commented 1 month ago

@chtushar sir i will solve this issue.