Treat custom textfile metric timestamps as errors (#769)
This is clearer behavior and users will notice and fix their textfiles faster than if we just output a warning.
This commit is contained in:
parent
c504c7e264
commit
864a6ee935
5 changed files with 30 additions and 8 deletions
|
|
@ -62,6 +62,10 @@ func TestTextfileCollector(t *testing.T) {
|
|||
path: "fixtures/textfile/nonexistent_path",
|
||||
out: "fixtures/textfile/nonexistent_path.out",
|
||||
},
|
||||
{
|
||||
path: "fixtures/textfile/client_side_timestamp",
|
||||
out: "fixtures/textfile/client_side_timestamp.out",
|
||||
},
|
||||
{
|
||||
path: "fixtures/textfile/different_metric_types",
|
||||
out: "fixtures/textfile/different_metric_types.out",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue