Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Mar 5, 2024
1 parent 111bca1 commit 751c5bd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
/**
* Detects <code>service.name</code> and <code>service.version</code> from Spring Boot's <code>
* build-info.properties</code> file.
*
* <p>Note: The spring starter already includes provider in
* io.opentelemetry.instrumentation.spring.autoconfigure.resources.SpringResourceProvider
*/
@AutoService(ResourceProvider.class)
public class SpringBootBuildInfoServiceNameDetector extends SpringBootBuildInfoDetector {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
* Detects <code>service.name</code> and <code>service.version</code> from Spring Boot's <code>
* build-info.properties</code> file.
*
* <p>Use the following snippet in your pom.xml file to generate the build-info.properties file (the
* gradle plugin generates this file by default):
* <p>Use the following snippet in your pom.xml file to generate the build-info.properties file:
*
* <pre>{@code
* <build>
Expand All @@ -37,6 +36,16 @@
* </plugins>
* </build>
* }</pre>
*
* <p>Use the following snippet in your gradle file to generate the build-info.properties file:
*
* <pre>{@code
* springBoot {
* buildInfo {
* }
* }
* }</pre>
*
* <p>Note: The spring starter already includes provider in
* io.opentelemetry.instrumentation.spring.autoconfigure.resources.SpringResourceProvider
*/
Expand Down

0 comments on commit 751c5bd

Please sign in to comment.