agent icon indicating copy to clipboard operation
agent copied to clipboard

enhancement(agentctl): add inspect flag in test-logs cmd

Open fgouteroux opened this issue 2 years ago • 4 comments

PR Description

Hi,

I would like to add the --inspect flag from promtail to grafana-agentctl test-logs command, like explain in the doc.

$ grafana-agentctl test-logs -h

Starts Promtail using its '--dry-run' flag, which will only print logs instead of sending them to the remote server.
		This can be useful for debugging and understanding how logs are being parsed.

Usage:
  agentctl test-logs [config file] [flags]

Flags:
  -h, --help      help for test-logs
  -i, --inspect   Allows for detailed inspection of pipeline stages.

PR Checklist

  • [x] CHANGELOG.md updated
  • [ ] Documentation added
  • [ ] Tests updated
  • [ ] Config converters updated

fgouteroux avatar Apr 09 '24 12:04 fgouteroux

This PR has not had any activity in the past 30 days, so the needs-attention label has been added to it. If you do not have enough time to follow up on this PR or you think it's no longer relevant, consider closing it. The needs-attention label signals to maintainers that something has fallen through the cracks. No action is needed by you; your PR will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity. Thank you for your contributions!

github-actions[bot] avatar May 10 '24 00:05 github-actions[bot]

Hello, any chance to get this merged ?

fgouteroux avatar Jun 10 '24 09:06 fgouteroux

This PR has not had any activity in the past 30 days, so the needs-attention label has been added to it. If you do not have enough time to follow up on this PR or you think it's no longer relevant, consider closing it. The needs-attention label signals to maintainers that something has fallen through the cracks. No action is needed by you; your PR will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity. Thank you for your contributions!

github-actions[bot] avatar Aug 01 '24 00:08 github-actions[bot]