Skip to content

Commit a0e209b

Browse files
authored
chore(docs): update docs and changelog
1 parent 60d46e3 commit a0e209b

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

experimental/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ All notable changes to experimental packages in this project will be documented
2020
* feat(otlp-metric-exporters): Add User-Agent header to OTLP metric exporters. [#3806](https://github.com/open-telemetry/opentelemetry-js/pull/3806) @JamieDanielson
2121
* feat(opencensus-shim): add OpenCensus trace shim [#3809](https://github.com/open-telemetry/opentelemetry-js/pull/3809) @aabmass
2222
* feat(exporter-logs-otlp-proto): protobuf exporter for logs. [#3779](https://github.com/open-telemetry/opentelemetry-js/pull/3779) @Abinet18
23+
* feat(otlp-grpc-exporters): add support for UDS endpoints. [#3853](https://github.com/open-telemetry/opentelemetry-js/pull/3853) @llc1123
2324

2425
### :bug: (Bug Fix)
2526

experimental/packages/exporter-logs-otlp-grpc/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import { OTLPLogExporter } from '@opentelemetry/exporter-logs-otlp-grpc';
3434

3535
const collectorOptions = {
3636
// url is optional and can be omitted - default is http://localhost:4317
37+
// Unix domain sockets are also supported: 'unix:///path/to/socket.sock'
3738
url: 'http://<collector-hostname>:<port>',
3839
};
3940

experimental/packages/exporter-trace-otlp-grpc/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const { OTLPTraceExporter } = require('@opentelemetry/exporter-trace-otlp-grpc'
3030

3131
const collectorOptions = {
3232
// url is optional and can be omitted - default is http://localhost:4317
33+
// Unix domain sockets are also supported: 'unix:///path/to/socket.sock'
3334
url: 'http://<collector-hostname>:<port>',
3435
};
3536

@@ -54,6 +55,7 @@ const { OTLPTraceExporter } = require('@opentelemetry/exporter-trace-otlp-grpc'
5455

5556
const collectorOptions = {
5657
// url is optional and can be omitted - default is http://localhost:4317
58+
// Unix domain sockets are also supported: 'unix:///path/to/socket.sock'
5759
url: 'http://<collector-hostname>:<port>',
5860
credentials: grpc.credentials.createSsl(),
5961
};
@@ -94,6 +96,7 @@ metadata.set('k', 'v');
9496

9597
const collectorOptions = {
9698
// url is optional and can be omitted - default is http://localhost:4317
99+
// Unix domain sockets are also supported: 'unix:///path/to/socket.sock'
97100
url: 'http://<collector-hostname>:<port>',
98101
metadata, // // an optional grpc.Metadata object to be sent with each request
99102
};
@@ -120,6 +123,7 @@ The OTLPTraceExporter has a timeout configuration option which is the maximum ti
120123
const collectorOptions = {
121124
timeoutMillis: 15000,
122125
// url is optional and can be omitted - default is localhost:4317
126+
// Unix domain sockets are also supported: 'unix:///path/to/socket.sock'
123127
url: '<collector-hostname>:<port>',
124128
metadata, // // an optional grpc.Metadata object to be sent with each request
125129
};
@@ -138,6 +142,7 @@ const { CompressionAlgorithm } = require('@opentelemetry/exporter-trace-otlp-grp
138142

139143
const collectorOptions = {
140144
// url is optional and can be omitted - default is http://localhost:4317
145+
// Unix domain sockets are also supported: 'unix:///path/to/socket.sock'
141146
url: 'http://<collector-hostname>:<port>',
142147
metadata, // // an optional grpc.Metadata object to be sent with each request
143148
compression: CompressionAlgorithm.GZIP,

experimental/packages/opentelemetry-exporter-metrics-otlp-grpc/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const { MeterProvider, PeriodicExportingMetricReader } = require('@opentelemetry
3232
const { OTLPMetricExporter } = require('@opentelemetry/exporter-metrics-otlp-grpc');
3333
const collectorOptions = {
3434
// url is optional and can be omitted - default is http://localhost:4317
35+
// Unix domain sockets are also supported: 'unix:///path/to/socket.sock'
3536
url: 'http://<collector-hostname>:<port>',
3637
};
3738

0 commit comments

Comments
 (0)