Skip to content

Commit b9a00da

Browse files
authored
Move file metrics to dataset endpoint (elastic#19977)
1 parent 88cda01 commit b9a00da

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.next.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
6161
- Adds Gsuite Admin support. {pull}19769[19769]
6262
- Adds Gsuite Drive support. {pull}19704[19704]
6363
- Adds Gsuite Groups support. {pull}19725[19725]
64+
- Move file metrics to dataset endpoint {pull}19977[19977]
6465

6566
*Heartbeat*
6667

filebeat/input/log/harvester.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import (
5858

5959
var (
6060
harvesterMetrics = monitoring.Default.NewRegistry("filebeat.harvester")
61-
filesMetrics = harvesterMetrics.NewRegistry("files")
61+
filesMetrics = monitoring.GetNamespace("dataset").GetRegistry()
6262

6363
harvesterStarted = monitoring.NewInt(harvesterMetrics, "started")
6464
harvesterClosed = monitoring.NewInt(harvesterMetrics, "closed")

0 commit comments

Comments
 (0)