Skip to content

Commit 751c32b

Browse files
committed
begin fixing up attributes and generate weaver template for constants (instead of duplicating these strings everywhere!)
1 parent bfbc35d commit 751c32b

File tree

8 files changed

+406
-275
lines changed

8 files changed

+406
-275
lines changed

ibm-mq-metrics/docs/metrics.md

Lines changed: 171 additions & 125 deletions
Large diffs are not rendered by default.

ibm-mq-metrics/model/attributes.yaml

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,55 +3,57 @@ groups:
33
type: attribute_group
44
brief: Attributes of metrics.
55
attributes:
6-
- id: queue.manager
6+
- id: ibm.mq.queue.manager
77
type: string
88
brief: >
9-
The name of the queue manager
9+
The name of the IBM queue manager
1010
stability: development
1111
examples: ["MQ1"]
12-
- id: topic.name
12+
- id: messaging.destination.name
1313
type: string
1414
brief: >
15-
The name of the topic
15+
The system-specific name of the messaging operation.
16+
note: This is duplicated from otel semantic-conventions.
1617
stability: development
1718
examples: [ "dev/" ]
18-
- id: channel.name
19+
- id: ibm.mq.channel.name
1920
type: string
2021
brief: >
2122
The name of the channel
2223
stability: development
2324
examples: [ "DEV.ADMIN.SVRCONN" ]
24-
- id: channel.type
25+
- id: ibm.mq.channel.type
2526
type: string
2627
brief: >
2728
The type of the channel
2829
stability: development
2930
examples: [ "server-connection", "cluster-receiver", "amqp" ]
30-
- id: job.name
31+
- id: ibm.mq.job.name
3132
type: string
3233
brief: >
3334
The job name
3435
stability: development
3536
examples: [ "0000074900000003" ]
36-
- id: channel.start.time
37+
- id: ibm.mq.channel.start.time
3738
type: int
3839
brief: >
3940
The start time of the channel as seconds since Epoch.
4041
stability: development
4142
examples: [ 1748462702 ]
42-
- id: queue.name
43-
type: string
44-
brief: >
45-
The queue name
46-
stability: development
47-
examples: [ "DEV.DEAD.LETTER.QUEUE" ]
48-
- id: queue.type
43+
# Use the messaging.destination.name attribute instead?
44+
# - id: queue.name
45+
# type: string
46+
# brief: >
47+
# The queue name
48+
# stability: development
49+
# examples: [ "DEV.DEAD.LETTER.QUEUE" ]
50+
- id: ibm.mq.queue.type
4951
type: string
5052
brief: >
5153
The queue type
5254
stability: development
5355
examples: [ "local-normal" ]
54-
- id: listener.name
56+
- id: ibm.mq.listener.name
5557
type: string
5658
brief: >
5759
The listener name
@@ -60,12 +62,14 @@ groups:
6062
- id: user.name
6163
type: string
6264
brief: >
63-
The user name
65+
Short name or login/username of the user.
66+
note: This is duplicated from otel semantic-conventions.
6467
stability: development
6568
examples: [ "foo", "root" ]
66-
- id: application.name
69+
- id: service.name
6770
type: string
6871
brief: >
69-
The application name
72+
Logical name of the service.
73+
note: This is duplicated from otel semantic-conventions.
7074
stability: development
71-
examples: [ "Wordle", "JMSService" ]
75+
examples: [ "Wordle", "JMSService" ]

0 commit comments

Comments
 (0)