opentelemetry-collector/exporter/otlphttpexporter
renovate[bot] 10053e378b
Update All golang.org/x packages (#12806)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| golang.org/x/net | `v0.38.0` -> `v0.39.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fnet/v0.39.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fnet/v0.39.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fnet/v0.38.0/v0.39.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fnet/v0.38.0/v0.39.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/sys | `v0.31.0` -> `v0.32.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fsys/v0.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fsys/v0.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fsys/v0.31.0/v0.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fsys/v0.31.0/v0.32.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/text | `v0.23.0` -> `v0.24.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftext/v0.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2ftext/v0.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2ftext/v0.23.0/v0.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2ftext/v0.23.0/v0.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Yang Song <songy23@users.noreply.github.com>
2025-04-10 16:11:50 +00:00
..
internal/metadata [exporter/otlp] update stability level (#12423) 2025-02-18 18:32:14 +00:00
testdata Promote confmap.strictlyTypedInput feature gate to beta (#10554) 2024-07-12 10:15:20 +02:00
Makefile split otlp/otlphttp/logging exporters (#6343) 2022-10-25 08:23:58 -07:00
README.md [exporter/otlp] update stability level (#12423) 2025-02-18 18:32:14 +00:00
config.go Add batching capability to the old QueueConfig (#12746) 2025-03-26 23:56:07 +00:00
config_test.go Add batching capability to the old QueueConfig (#12746) 2025-03-26 23:56:07 +00:00
doc.go [chore] use mdatagen for otlphttp exporter (#9184) 2023-12-22 11:11:18 -08:00
factory.go Avoid using go embedded messages in Config (#12718) 2025-03-24 20:51:26 +00:00
factory_test.go [chore] update tests to use Empty (#12750) 2025-03-27 20:52:18 +00:00
generated_component_test.go Add `component.Type` parameter to `NewNopSettings` And deprecate `NewNopSettingsWithType` (#12452) 2025-02-21 11:17:45 +00:00
generated_package_test.go [mdatagen] generate goleak package test (#9959) 2024-04-17 13:10:34 -07:00
go.mod Update All golang.org/x packages (#12806) 2025-04-10 16:11:50 +00:00
go.sum Update All golang.org/x packages (#12806) 2025-04-10 16:11:50 +00:00
metadata.yaml [exporter/otlp] update stability level (#12423) 2025-02-18 18:32:14 +00:00
otlp.go [chore]: fix staticcheck exclusions (#12792) 2025-04-02 20:07:55 +00:00
otlp_test.go [chore]: fix testifylint rules (#12791) 2025-04-02 23:10:07 +00:00

README.md

OTLP/HTTP Exporter

Status
Stability development: profiles
stable: traces, metrics, logs
Distributions core, contrib, k8s, otlp
Issues Open issues Closed issues

Export traces and/or metrics via HTTP using OTLP format.

The following settings are required:

  • endpoint (no default): The target base URL to send data to (e.g.: https://example.com:4318). To send each signal a corresponding path will be added to this base URL, i.e. for traces "/v1/traces" will appended, for metrics "/v1/metrics" will be appended, for logs "/v1/logs" will be appended.

The following settings can be optionally configured:

  • traces_endpoint (no default): The target URL to send trace data to (e.g.: https://example.com:4318/v1/traces). If this setting is present the endpoint setting is ignored for traces.
  • metrics_endpoint (no default): The target URL to send metric data to (e.g.: https://example.com:4318/v1/metrics). If this setting is present the endpoint setting is ignored for metrics.
  • logs_endpoint (no default): The target URL to send log data to (e.g.: https://example.com:4318/v1/logs). If this setting is present the endpoint setting is ignored logs.
  • tls: see TLS Configuration Settings for the full set of available options.
  • timeout (default = 30s): HTTP request time limit. For details see https://golang.org/pkg/net/http/#Client
  • read_buffer_size (default = 0): ReadBufferSize for HTTP client.
  • write_buffer_size (default = 512 * 1024): WriteBufferSize for HTTP client.
  • encoding (default = proto): The encoding to use for the messages (valid options: proto, json)

Example:

exporters:
  otlphttp:
    endpoint: https://example.com:4318

By default gzip compression is enabled. See compression comparison for details benchmark information. To disable, configure as follows:

exporters:
  otlphttp:
    ...
    compression: none

By default proto encoding is used, to change the content encoding of the message configure it as follows:

exporters:
  otlphttp:
    ...
    encoding: json

The full list of settings exposed for this exporter are documented here with detailed sample configurations here.