Skip to content

Commit

Permalink
add note about default protocol of spring boot starter
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Apr 5, 2024
1 parent 9b9596e commit ba4ff02
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion content/en/docs/languages/java/automatic/spring-boot.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,16 @@ IDE.

The OpenTelemetry Starter supports all the
[SDK Autoconfiguration](/docs/languages/java/automatic/configuration/#sdk-autoconfiguration)
(since 2.2.0). You can set properties in the `application.properties` or the
(since 2.2.0).

{{% alert title="Attention" color="warning" %}}

Unlike the SDK autoconfiguration, the OpenTelemetry Spring Boot starter uses `http/protobuf` as the default
protocol, not `grpc`.

{{% /alert %}}

You can set properties in the `application.properties` or the
`application.yaml` file, or use environment variables.

`application.properties` example:
Expand Down

0 comments on commit ba4ff02

Please sign in to comment.