Fix measurement name for write errors

This commit is contained in:
Daniel Nelson 2019-08-21 18:02:30 -07:00
parent 40bbd805b6
commit 3cdc6c32dd
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ func NewRunningOutput(
) *RunningOutput { ) *RunningOutput {
logger := &Logger{ logger := &Logger{
Name: logName("outputs", config.Name, config.Alias), Name: logName("outputs", config.Name, config.Alias),
Errs: selfstat.Register("gather", "errors", Errs: selfstat.Register("write", "errors",
map[string]string{"output": config.Name, "alias": config.Alias}), map[string]string{"output": config.Name, "alias": config.Alias}),
} }