diff --git a/graylog2-server/src/main/java/org/graylog/failure/FailureSubmissionService.java b/graylog2-server/src/main/java/org/graylog/failure/FailureSubmissionService.java index b670c9d137b0..972aa05f0a96 100644 --- a/graylog2-server/src/main/java/org/graylog/failure/FailureSubmissionService.java +++ b/graylog2-server/src/main/java/org/graylog/failure/FailureSubmissionService.java @@ -203,7 +203,7 @@ private IndexingFailure fromIndexingError(IndexingError indexingError) { private void updateProcessingFailureMetric(Message message) { Object inputId = message.getField(FIELD_GL2_SOURCE_INPUT); if (inputId != null) { - final String indexingFailureMetricName = name("org.graylog2", inputId.toString(), "failures.processing"); + final String indexingFailureMetricName = name("org.graylog2.inputs", inputId.toString(), "failures.processing"); metricRegistry.meter(indexingFailureMetricName).mark(); } } @@ -212,7 +212,7 @@ private void updateIndexingFailureMetric(Indexable message) { final Map searchObject = message.toElasticSearchObject(objectMapper, dummyMeter); Object inputId = searchObject.get(FIELD_GL2_SOURCE_INPUT); if (inputId != null) { - final String indexingFailureMetricName = name("org.graylog2", inputId.toString(), "failures.indexing"); + final String indexingFailureMetricName = name("org.graylog2.inputs", inputId.toString(), "failures.indexing"); metricRegistry.meter(indexingFailureMetricName).mark(); } }