Skip to content

Commit

Permalink
Move file metrics to dataset endpoint (elastic#19977)
Browse files Browse the repository at this point in the history
  • Loading branch information
vjsamuel authored Jul 22, 2020
1 parent 88cda01 commit b9a00da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Adds Gsuite Admin support. {pull}19769[19769]
- Adds Gsuite Drive support. {pull}19704[19704]
- Adds Gsuite Groups support. {pull}19725[19725]
- Move file metrics to dataset endpoint {pull}19977[19977]

*Heartbeat*

Expand Down
2 changes: 1 addition & 1 deletion filebeat/input/log/harvester.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import (

var (
harvesterMetrics = monitoring.Default.NewRegistry("filebeat.harvester")
filesMetrics = harvesterMetrics.NewRegistry("files")
filesMetrics = monitoring.GetNamespace("dataset").GetRegistry()

harvesterStarted = monitoring.NewInt(harvesterMetrics, "started")
harvesterClosed = monitoring.NewInt(harvesterMetrics, "closed")
Expand Down

0 comments on commit b9a00da

Please sign in to comment.