File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
integrationTest/java/io/opentelemetry/ibm/mq/integration/tests
main/java/io/opentelemetry/ibm/mq/metrics Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 802802
803803
804804
805- ## Metric ` mq.connection.errors `
805+ ## Metric ` ibm. mq.connection.errors`
806806
807807| Name | Instrument Type | Unit (UCUM) | Description | Stability |
808808| -------- | --------------- | ----------- | -------------- | --------- |
809- | ` mq.connection.errors ` | Counter | ` {errors} ` | Number of connection errors | ![ Development] ( https://img.shields.io/badge/-development-blue ) |
809+ | ` ibm. mq.connection.errors` | Counter | ` {errors} ` | Number of connection errors | ![ Development] ( https://img.shields.io/badge/-development-blue ) |
810810
811811
812- ### ` mq.connection.errors ` Attributes
812+ ### ` ibm. mq.connection.errors` Attributes
813813
814814| Attribute | Type | Description | Examples | [ Requirement Level] ( https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/ ) | Stability |
815815| ---| ---| ---| ---| ---| ---|
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ void test_bad_connection() throws Exception {
302302
303303 SumData <LongPointData > connectionErrors = null ;
304304 for (MetricData metricData : data ) {
305- if ("mq.connection.errors" .equals (metricData .getName ())) {
305+ if ("ibm. mq.connection.errors" .equals (metricData .getName ())) {
306306 connectionErrors = (SumData <LongPointData >) metricData .getData ();
307307 }
308308 }
Original file line number Diff line number Diff line change @@ -422,9 +422,9 @@ public static LongGauge createIbmMqManagerMaxHandles(Meter meter) {
422422 .build ();
423423 }
424424
425- public static LongCounter createMqConnectionErrors (Meter meter ) {
425+ public static LongCounter createIbmMqConnectionErrors (Meter meter ) {
426426 return meter
427- .counterBuilder ("mq.connection.errors" )
427+ .counterBuilder ("ibm. mq.connection.errors" )
428428 .setUnit ("{errors}" )
429429 .setDescription ("Number of connection errors" )
430430 .build ();
Original file line number Diff line number Diff line change @@ -199,8 +199,8 @@ public boolean isIbmMqManagerMaxHandlesEnabled() {
199199 return isEnabled ("ibm.mq.manager.max.handles" );
200200 }
201201
202- public boolean isMqConnectionErrorsEnabled () {
203- return isEnabled ("mq.connection.errors" );
202+ public boolean isIbmMqConnectionErrorsEnabled () {
203+ return isEnabled ("ibm. mq.connection.errors" );
204204 }
205205
206206 private boolean isEnabled (String key ) {
You can’t perform that action at this time.
0 commit comments