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 802
802
803
803
804
804
805
- ## Metric ` mq.connection.errors `
805
+ ## Metric ` ibm. mq.connection.errors`
806
806
807
807
| Name | Instrument Type | Unit (UCUM) | Description | Stability |
808
808
| -------- | --------------- | ----------- | -------------- | --------- |
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 ) |
810
810
811
811
812
- ### ` mq.connection.errors ` Attributes
812
+ ### ` ibm. mq.connection.errors` Attributes
813
813
814
814
| Attribute | Type | Description | Examples | [ Requirement Level] ( https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/ ) | Stability |
815
815
| ---| ---| ---| ---| ---| ---|
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ void test_bad_connection() throws Exception {
302
302
303
303
SumData <LongPointData > connectionErrors = null ;
304
304
for (MetricData metricData : data ) {
305
- if ("mq.connection.errors" .equals (metricData .getName ())) {
305
+ if ("ibm. mq.connection.errors" .equals (metricData .getName ())) {
306
306
connectionErrors = (SumData <LongPointData >) metricData .getData ();
307
307
}
308
308
}
Original file line number Diff line number Diff line change @@ -422,9 +422,9 @@ public static LongGauge createIbmMqManagerMaxHandles(Meter meter) {
422
422
.build ();
423
423
}
424
424
425
- public static LongCounter createMqConnectionErrors (Meter meter ) {
425
+ public static LongCounter createIbmMqConnectionErrors (Meter meter ) {
426
426
return meter
427
- .counterBuilder ("mq.connection.errors" )
427
+ .counterBuilder ("ibm. mq.connection.errors" )
428
428
.setUnit ("{errors}" )
429
429
.setDescription ("Number of connection errors" )
430
430
.build ();
Original file line number Diff line number Diff line change @@ -199,8 +199,8 @@ public boolean isIbmMqManagerMaxHandlesEnabled() {
199
199
return isEnabled ("ibm.mq.manager.max.handles" );
200
200
}
201
201
202
- public boolean isMqConnectionErrorsEnabled () {
203
- return isEnabled ("mq.connection.errors" );
202
+ public boolean isIbmMqConnectionErrorsEnabled () {
203
+ return isEnabled ("ibm. mq.connection.errors" );
204
204
}
205
205
206
206
private boolean isEnabled (String key ) {
You can’t perform that action at this time.
0 commit comments