• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

grpc / grpc-java / #20144
89%

Build:
DEFAULT BRANCH: master
Ran 11 Jan 2026 08:08PM UTC
Jobs 1
Files 627
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jan 2026 02:16PM UTC coverage: 88.672% (+0.02%) from 88.656%
#20144

push

github

web-flow
opentelemetry: Add target attribute filter for metrics (#12587)

Introduce an optional Predicate<String> targetAttributeFilter to control how grpc.target is recorded in OpenTelemetry client metrics.

When a filter is provided, targets rejected by the predicate are normalized to "other" to reduce grpc.target metric cardinality, while accepted targets are recorded as-is. If no filter is set, existing behavior is preserved.

This change adds a new Builder API on GrpcOpenTelemetry to allow applications to configure the filter. Tests verify both the Builder
wiring and the target normalization behavior.

This is an optional API; annotation (e.g., experimental) can be added
per maintainer guidance.

Refs #12322
Related: gRFC A109 – Target Attribute Filter for OpenTelemetry Metrics
https://github.com/grpc/proposal/pull/528

35350 of 39866 relevant lines covered (88.67%)

0.89 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.21
-0.14% ../okhttp/src/main/java/io/grpc/okhttp/OkHttpClientTransport.java
1
91.9
-0.48% ../xds/src/main/java/io/grpc/xds/client/ControlPlaneClient.java
2
74.14
-1.72% ../servlet/src/main/java/io/grpc/servlet/ServletServerStream.java
7
95.0
-0.4% ../opentelemetry/src/main/java/io/grpc/opentelemetry/GrpcOpenTelemetry.java
21
92.97
0.18% ../opentelemetry/src/main/java/io/grpc/opentelemetry/OpenTelemetryMetricsModule.java
Jobs
ID Job ID Ran Files Coverage
1 #20144.1 11 Jan 2026 08:08PM UTC 627
88.67
Source Files on build #20144
  • Tree
  • List 627
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20144
  • c5f5ee0e on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc