mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Add rule spaceId to APM transaction when a rule is running (#149600)
Resolves https://github.com/elastic/kibana/issues/149318 In this PR, I'm adding `alerting_rule_space_id` label to the apm transaction whenever a rule is running.
This commit is contained in:
parent
116492d6f0
commit
275fdeba85
1 changed files with 1 additions and 0 deletions
|
@ -487,6 +487,7 @@ export class TaskRunner<
|
|||
if (apm.currentTransaction) {
|
||||
apm.currentTransaction.name = `Execute Alerting Rule`;
|
||||
apm.currentTransaction.addLabels({
|
||||
alerting_rule_space_id: spaceId,
|
||||
alerting_rule_id: ruleId,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue