Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ internal OtlpExporterOptions(
/// * http://localhost:4317 for <see cref="OtlpExportProtocol.Grpc"/>
/// * http://localhost:4318 for <see cref="OtlpExportProtocol.HttpProtobuf"/>.
/// </summary>
/// <remarks>
/// When using <see cref="OtlpExportProtocol.HttpProtobuf"/>, the full URL MUST be provided, including the signal-specific path v1/{signal}.
/// For example, for traces, the full URL will look like http://your-custom-endpoint/v1/traces.
/// </remarks>
public Uri Endpoint
{
get
Expand Down
25 changes: 25 additions & 0 deletions src/OpenTelemetry.Exporter.OpenTelemetryProtocol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,26 @@
[The OTLP (OpenTelemetry Protocol) exporter](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md)
implementation.

<!-- markdownlint-disable MD033 -->
<details>
<summary>Table of Contents</summary>

* [Installation](#installation)
* [Enable Trace Exporter](#enable-trace-exporter)
* [Enable Metric Exporter](#enable-metric-exporter)
* [Enable Log Exporter](#enable-log-exporter)
* [Configuration](#configuration)
* [OtlpExporterOptions](#otlpexporteroptions)
* [LogRecordExportProcessorOptions](#logrecordexportprocessoroptions)
* [MetricReaderOptions](#metricreaderoptions)
* [Environment Variables](#environment-variables)
* [Experimental Features](#environment-variables-for-experimental-features)
* [Configure HttpClient](#configure-httpclient)
* [Troubleshooting](#troubleshooting)

</details>
<!-- markdownlint-enable MD033 -->

## Prerequisite

* An endpoint capable of accepting OTLP, like [OpenTelemetry
Expand Down Expand Up @@ -169,6 +189,11 @@ appBuilder.Services.AddOptions<OtlpExporterOptions>()
`OtlpExportProtocol.Grpc` and "localhost:4318" for
`OtlpExportProtocol.HttpProtobuf`.

> [!NOTE]
> When using `OtlpExportProtocol.HttpProtobuf`, the full URL MUST be
> provided, including the signal-specific path v1/{signal}. For example, for
> traces, the full URL will look like <http://your-custom-endpoint/v1/traces>.

* `Headers`: Optional headers for the connection.

* `HttpClientFactory`: A factory function called to create the `HttpClient`
Expand Down