Skip to content

Commit b35be77

Browse files
Revert "Change OTLP/HTTP port from 4317 to 4318 (open-telemetry#1839)"
Apparently there is new evidence that one port may work after all: https://github.com/open-telemetry/opentelemetry-collector/pull/3765/files This reverts commit cce1d59 until we have the final decision about the ability to have a single port, see: open-telemetry#1846 (comment)
1 parent 7cef355 commit b35be77

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

CHANGELOG.md

-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ release.
3838
- Adding requirement to implement at least one of two transports: `grpc` or `http/protobuf`.
3939
([#1790](https://github.com/open-telemetry/opentelemetry-specification/pull/1790/files))
4040

41-
- Change OTLP/HTTP port from 4317 to 4318.
42-
([#1839](https://github.com/open-telemetry/opentelemetry-specification/pull/1839))
43-
4441
### SDK Configuration
4542

4643
## v1.5.0 (2021-07-08)

specification/protocol/exporter.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The following configuration options MUST be available to configure the OTLP expo
1010

1111
| Configuration Option | Description | Default | Env variable |
1212
| -------------------- | ------------------------------------------------------------ | ----------------- | ------------------------------------------------------------ |
13-
| Endpoint (OTLP/HTTP) | Target to which the exporter is going to send spans or metrics. The endpoint MUST be a valid URL with scheme (http or https) and host, and MAY contain a port and path. A scheme of https indicates a secure connection. When using `OTEL_EXPORTER_OTLP_ENDPOINT`, exporters SHOULD follow the collector convention of appending the version and signal to the path (e.g. `v1/traces` or `v1/metrics`), if not present already. The per-signal endpoint configuration options take precedence and can be used to override this behavior. See the [OTLP Specification][otlphttp-req] for more details. | `https://localhost:4318` | `OTEL_EXPORTER_OTLP_ENDPOINT` `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT` `OTEL_EXPORTER_OTLP_METRICS_ENDPOINT` |
13+
| Endpoint (OTLP/HTTP) | Target to which the exporter is going to send spans or metrics. The endpoint MUST be a valid URL with scheme (http or https) and host, and MAY contain a port and path. A scheme of https indicates a secure connection. When using `OTEL_EXPORTER_OTLP_ENDPOINT`, exporters SHOULD follow the collector convention of appending the version and signal to the path (e.g. `v1/traces` or `v1/metrics`), if not present already. The per-signal endpoint configuration options take precedence and can be used to override this behavior. See the [OTLP Specification][otlphttp-req] for more details. | `https://localhost:4317` | `OTEL_EXPORTER_OTLP_ENDPOINT` `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT` `OTEL_EXPORTER_OTLP_METRICS_ENDPOINT` |
1414
| Endpoint (OTLP/gRPC) | Target to which the exporter is going to send spans or metrics. The endpoint SHOULD accept any form allowed by the underlying gRPC client implementation. Additionally, the endpoint MUST accept a URL with a scheme of either `http` or `https`. A scheme of `https` indicates a secure connection and takes precedence over the `insecure` configuration setting. If the gRPC client implementation does not support an endpoint with a scheme of `http` or `https` then the endpoint SHOULD be transformed to the most sensible format for that implementation. | `https://localhost:4317` | `OTEL_EXPORTER_OTLP_ENDPOINT` `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT` `OTEL_EXPORTER_OTLP_METRICS_ENDPOINT` |
1515
| Insecure | Whether to enable client transport security for the exporter's gRPC connection. This option only applies to OTLP/gRPC - OTLP/HTTP always uses the scheme provided for the `endpoint`. Implementations MAY choose to not implement the `insecure` option if it is not required or supported by the underlying gRPC client implementation. | `false` | `OTEL_EXPORTER_OTLP_INSECURE` `OTEL_EXPORTER_OTLP_SPAN_INSECURE` `OTEL_EXPORTER_OTLP_METRIC_INSECURE` |
1616
| Certificate File | The trusted certificate to use when verifying a server's TLS credentials. Should only be used for a secure connection. | n/a | `OTEL_EXPORTER_OTLP_CERTIFICATE` `OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE` `OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE` |

specification/protocol/otlp.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ connections SHOULD be configurable.
473473

474474
#### OTLP/HTTP Default Port
475475

476-
The default network port for OTLP/HTTP is 4318.
476+
The default network port for OTLP/HTTP is 4317.
477477

478478
## Implementation Recommendations
479479

0 commit comments

Comments
 (0)