Skip to content

Add debug logging for non-retryable metric data on wavefront output. #8405

@agriffin208

Description

@agriffin208

Steps to reproduce:

In addition to #8404

  1. Include metric data for the Wavefront output plugin that has no metric name.
  2. Observe error logged has no relevant information for troubleshooting what data is bad:
    E! [outputs.wavefront] non-retryable error during Wavefront.Write: empty metric name.

Expected behavior:

Set logging level to debug = true under agent in telegraf.conf and see what data is invalid.

Actual behavior:

No increased logging.

Additional info:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugunexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions