Hello!
Env:
ECK 2.9.0
Kibana, Elasticsearch, APM-server: 8.10.2
APM agetnt Java: 1.43.0
Kibana Alerts setting
Using Server log connector type
Message template:
Rule.name: {{rule.name}}
Service name: {{context.serviceName}}
Environment: {{context.environment}}
Error count: {{context.triggerValue}} errors over the last {{context.interval}}
Threshold: {{context.threshold}}
Details: {{context.alertDetailsUrl}}
AppView: {{context.viewInAppUrl}}
TransactionName: {{context.transactionName}}
Kibana log example:
[2023-11-16T12:22:55.842+03:00][INFO ][plugins.actions.server-log] Server log: Rule.name: auth-mp-dev-error;Service name: auth-service-mp-dev;Environment: mp-dev;Error count: 1 errors over the last 5 mins;Threshold: 0;Details: https://kibana-dev.example.com/app/observability/alerts?_a=(kuery:%27kibana.alert.uuid:%20%22443afb17-7f1f-4f90-832a-e8f3d283a478%22%27%2CrangeFrom:%272023-11-16T09:17:52.772Z%27%2CrangeTo:now%2Cstatus:all);AppView: https://kibana-dev.example.com/app/apm/services/auth-service-mp-dev/errors?environment=mp-dev;TransactionName:
Context variable {{context.transactionName}} is empty, why and how fix it?