Skip to content

Commit f1f0548

Browse files
authored
Fixed OpenTelemetry instrument name max length (#1346)
1 parent b5543df commit f1f0548

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wrapper/src/main/java/software/amazon/jdbc/util/telemetry/OpenTelemetryFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ public class OpenTelemetryFactory implements TelemetryFactory {
2929
* Max allowed name length for counters and gauges.
3030
*
3131
* @see
32-
* <a href="https://opentelemetry.io/docs/specs/otel/metrics/api/#:~:text=It%20can%20have%20a%20maximum%20length%20of%2063%20characters">More details</a>
32+
* <a href="https://opentelemetry.io/docs/specs/otel/metrics/api/#instrument-name-syntax">More details</a>
3333
*/
34-
private static final int NAME_MAX_LENGTH = 63;
34+
private static final int NAME_MAX_LENGTH = 255;
3535

3636
private static Tracer tracer;
3737
private static Meter meter;

0 commit comments

Comments
 (0)