You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: _includes/collector-components.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ The Splunk Distribution of the OpenTelemetry Collector has the following compone
4
4
* :ref:`Processors <collector-components-processors>`: Configure which operations you'll perform on data before it's exported. For example, filtering.
5
5
* :ref:`Exporters <collector-components-exporters>`: Set up where to send data to. It can be one or more backends or destinations.
6
6
* :ref:`Extensions <collector-components-extensions>`: Extend the capabilities of the Collector.
7
+
* :ref:`Connectors <collector-components-connectors>`: Connect two pipelines, consuming data as an exporter at the end of one pipeline and emitting data as a receiver at the start of another pipeline.
7
8
* Services. It consists of two elements:
8
9
9
10
* List of the :ref:`extensions <collector-components-extensions>` you've configured.
- Routes logs, metrics or traces based on resource attributes to specific pipelines using OpenTelemetry Transformation Language (OTTL) statements as routing conditions.
Copy file name to clipboardExpand all lines: _includes/gdi/collector-available-extensions.rst
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@
7
7
- Description
8
8
* - :ref:`basic-auth-extension` (``basicauth``)
9
9
- Implements both ``configauth.ServerAuthenticator`` and ``configauth.ClientAuthenticator`` to authenticate clients and servers using basic authentication. The authenticator type has to be set to ``basicauth``.
- Implements both ``configauth.ServerAuthenticator`` and ``configauth.ClientAuthenticator``. It can be used in both http and gRPC exporters inside the ``auth`` settings to embed a static token for every RPC call made.
- Detects and reports container endpoints discovered through the Docker API. Only containers that are in the state of ``Running`` and not ``Paused`` emit endpoints.
:description: Learn about the latest changes for Splunk OpenTelemetry JS version 3.0.
9
+
10
+
The Splunk OpenTelemetry JS version 3.0 contains a set of breaking changes. Previous versions (version 2.15.0 and prior) are compatible with these new changes. For more information about previous versions, see :ref:`get-started-nodejs`.
To update your Splunk Distribution for OpenTelemetry JS agent to version 3.0, see :ref:`instrument-nodejs-applications-3x` and install the latest version of the Splunk OpenTelemetry JS agent.
16
+
17
+
Default port and protocol changes
18
+
=================================
19
+
20
+
In the Node.js 3.x instrumentation, the default protocol changed from gRPC to http/protobuf.
21
+
22
+
If a custom configuration overrides the default endpoint setting, you must make sure of the following:
23
+
24
+
#. Verify that the Node.js agent configuration is correct:
25
+
26
+
#. Verify that you are using the correct port for the selected protocol:
27
+
28
+
* gRPC: 4317
29
+
* http/protobuf: 4318
30
+
31
+
#. Verify that the custom endpoint configuration uses the correct port. For example: ``OTEL_EXPORTER_OTLP_ENDPOINT=http://<host>:4318``.
32
+
33
+
#. Verify that the custom protocol configuration uses the correct protocol. For example: ``OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf``.
34
+
35
+
#. In the OTel Collector configuration file, verify that the associated OTLP receiver protocols match those used by the Node.js agent. Here is an example OTLP receiver configuration in the OTel Collector file:
Configure the Splunk Distribution of OTel JS for Splunk Observability Cloud
@@ -11,7 +11,7 @@ You can configure the Splunk Distribution of OpenTelemetry JS to suit your instr
11
11
12
12
The following sections describe all available settings for configuring OpenTelemetry for Node.js, including options for activating new features that are unique to the Splunk Distribution of OpenTelemetry JS.
@@ -87,7 +87,7 @@ For example, to turn off all default instrumentations and only turn on the ``bun
87
87
The previous settings only apply to instrumentations loaded by the Splunk Distribution of OpenTelemetry JS by default. When using the programmatic API to supply a list of user-specified instrumentations, they have no effect.
@@ -120,10 +120,10 @@ The following settings control tracing limits and attributes:
120
120
- Maximum number of links per span. Default value is ``1000``.
121
121
* - OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT
122
122
- Not applicable
123
-
- Maximum length of strings for attribute values. Values larger than the limit are truncated. Default value is ``1200``. Empty values are treated as infinity.
123
+
- Maximum length of strings for attribute values. Values larger than the limit are truncated. Default value is ``12000``. Empty values are treated as infinity.
@@ -132,19 +132,20 @@ The following settings control trace sampling:
132
132
133
133
.. list-table::
134
134
:header-rows: 1
135
-
:widths:30 70
135
+
:widths:20 40 40
136
136
:width: 100%
137
137
138
138
* - Environment variable
139
139
- Description
140
+
- Default value
140
141
* - OTEL_TRACES_SAMPLER
141
142
- Sampler to use. The default value is ``parentbased_always_on``. Possible values are: ``always_on``, ``always_off``, ``parentbased_always_on``, ``parentbased_always_off``, ``traceidratio``, ``parentbased_traceidratio``. See :new-page:`Built-in samplers <https://github.com/open-telemetry/opentelemetry-js/blob/main/packages/opentelemetry-sdk-trace-base/README.md#built-in-samplers>` in the official OpenTelemetry documentation for more information.
142
-
143
+
- ``always_on``
143
144
* - OTEL_TRACES_SAMPLER_ARG
144
145
- Semicolon-separated list of rules for the ``rules`` sampler. For example, when setting the sampler to ``parentbased_traceidratio`` you can set the ratio using a number in the 0 to 1 range: |br| |br| ``OTEL_TRACES_SAMPLER_ARG=0.25``.
You can use an existing SignalFx client for sending custom metrics instead of creating and configuring a new one.
248
-
249
-
To configure an existing client, pass the following data to the ``start()`` function:
250
-
251
-
- ``signalfx``: A JavaScript object with optional ``client`` and ``dimensions`` fields. The ``dimensions`` object adds a predefined dimension for each data point. The format for ``dimensions`` is ``{key: value, ...}``.
252
-
253
-
The following is a list of dimensions added by default:
254
-
255
-
- ``service``: See ``serviceName`` in :ref:`trace-configuration-nodejs`.
256
-
- ``metric_source``: ``splunk-otel-js``
257
-
- ``node_version``: ``process.versions.node``, for example ``16.10.0``
0 commit comments