fix(ingest/spark): Fixing Micrometer warning (#10882)

This commit is contained in:
Tamas Nemeth 2024-07-16 11:50:15 +02:00 committed by GitHub
parent 643ba0c5cf
commit 642fb404ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 8 deletions

View File

@ -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

View File

@ -287,13 +287,7 @@ public class DatahubSparkListener extends SparkListener {
} 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(