last9 / last9/openapm-nodejs

feat: Support OTEL metrics

Open
#48 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
66
Forks
5
PR merge metrics
No merged PRs in 30d

Description

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'
})

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing OpenAPM configuration and OpenMetrics emission path to understand how the current mode is selected and metrics are delivered. Define the changes needed for an opentelemetry mode, including OTLP delivery to a compatible endpoint, and verify that openmetrics remains the default.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.