Skip to content

Commit

Permalink
Fixing Micrometer warning
Browse files Browse the repository at this point in the history
  • Loading branch information
treff7es committed Jul 10, 2024
1 parent cd932c3 commit f21ddb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 3 additions & 1 deletion metadata-integration/java/spark-lineage-beta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,10 @@ Use Java 8 to build the project. The project uses Gradle as the build tool. To b

+
## Changelog
### Version 0.2.14
- Fix warning about MeterFilter warning from Micrometer

### Version 0.2.12
### Version 0.2.13
- Silencing some chatty warnings in RddPathUtils

### Version 0.2.12
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,13 +287,7 @@ private static void initializeMetrics(OpenLineageConfig openLineageConfig) {
} else {
disabledFacets = "";
}
meterRegistry
.config()
.commonTags(
Tags.of(
Tag.of("openlineage.spark.integration.version", Versions.getVersion()),
Tag.of("openlineage.spark.version", sparkVersion),
Tag.of("openlineage.spark.disabled.facets", disabledFacets)));

((CompositeMeterRegistry) meterRegistry)
.getRegistries()
.forEach(
Expand Down

0 comments on commit f21ddb7

Please sign in to comment.