Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 76efeab

Browse files
committed
Change module from api-metrics to api
1 parent d2d9df8 commit 76efeab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gdi/get-data-in/application/nodejs/instrumentation/manual-instrumentation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ To send custom traces to Splunk Observability Cloud, add the required dependenci
5151
Custom metrics
5252
=====================================
5353

54-
To send custom application metrics to Splunk Observability Cloud, add ``@opentelemetry/api-metrics`` to your dependencies:
54+
To send custom application metrics to Splunk Observability Cloud, add ``@opentelemetry/api`` to your dependencies:
5555

5656
.. code-block:: javascript
5757
5858
const { start } = require('@splunk/otel');
5959
const { Resource } = require('@opentelemetry/resources');
60-
const { metrics } = require('@opentelemetry/api-metrics');
60+
const { metrics } = require('@opentelemetry/api');
6161
6262
// All fields are optional.
6363
start({

0 commit comments

Comments
 (0)