Commit d21e78c
authored
feat: Promote IBM MQ OpenTelemetry synthesis from staging to production (#3022)
* feat: Promote IBM MQ OpenTelemetry synthesis from staging to production (NR-579402)
Promote the tested OpenTelemetry (prometheusreceiver) synthesis rules and
relationships for INFRA-IBMMQ_MANAGER and INFRA-IBMMQ_QUEUE from staging
(.stg) overrides into their production definitions.
- Fold the OTel synthesis rule into each production definition.yml alongside
the existing nri-mq rules (guarded with instrumentation.provider present:false
so the two pipelines never double-synthesize). nri identity (targetName:qmgr[:queue])
is unchanged, so existing entity GUIDs are preserved.
- Add an OpenTelemetry Log matching rule to IBMMQ_MANAGER (modeled on
infra-haproxyinstance + infra-kafkabroker) so filelog-forwarded logs attach to
the queue manager entity instead of only the HOST.
- Promote golden_metrics (dual prometheus + opentelemetry queries), the OTel
dashboards, the queue summary_metrics, and test fixtures.
- Promote INFRA-HOST-to-INFRA-IBMMQ_MANAGER (MEASURES).
- Add the OpenTelemetry MANAGES path to INFRA-IBMMQ_MANAGER-to-INFRA-IBMMQ_QUEUE,
keeping the existing nri-mq rule untouched.
- Remove the now-redundant .stg override files.
Assisted-by: Claude Opus 4.8 (1M context)
* refactor(ibmmq): key OTel identity on host.id with target.name fallback
In OTel data host.id == target.name, so switch the primary OTel identity to
host.id and keep target.name only as a backup when host.id is absent.
- Each OTel synthesis rule (manager metric, manager logs, queue metric) is now a
primary rule keyed on host.id (host.id present: true) plus a *_fallback rule
keyed on target.name (host.id present: false). The pair is mutually exclusive,
so no entity is synthesized twice. host.id and target.name are both carried as
tags on every rule.
- MANAGER->QUEUE OTel relationship builds the source manager GUID from host.id:qmgr
(primary) with a target.name:qmgr fallback, matching the new manager identity.
- Test fixtures trimmed to one sample per rule; manager log samples moved to a
dedicated tests/Log.json (filename-derived eventType).
Assisted-by: Claude Opus 4.8 (1M context)
* fix(ibmmq_manager): format 'Last Update' as HH:mm MM/dd/yyyy in dashboards
Wrap the queue manager summary table's timestamp in toDateTime so the
'Last Update' column renders as a readable date instead of a raw epoch,
in both the newrelic and opentelemetry dashboards.
Assisted-by: Claude Opus 4.8 (1M context)
* docs(ibmmq): shorten OTel rule/log comments
Assisted-by: Claude Opus 4.8 (1M context)
* refactor(ibmmq): rename rel to hostMeasuresOTelIbmMqManager
Assisted-by: Claude Opus 4.8 (1M context)1 parent 68bc344 commit d21e78c
20 files changed
Lines changed: 625 additions & 691 deletions
File tree
- entity-types
- infra-ibmmq_manager
- tests
- infra-ibmmq_queue
- tests
- relationships/synthesis
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
21 | | - | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
33 | | - | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
37 | | - | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
49 | | - | |
| 54 | + | |
| 55 | + | |
50 | 56 | | |
51 | 57 | | |
52 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
53 | 250 | | |
54 | 251 | | |
55 | 252 | | |
| 253 | + | |
| 254 | + | |
56 | 255 | | |
57 | 256 | | |
58 | 257 | | |
| |||
0 commit comments