Skip to content

Make Datadog metric submission explicit - #63

Open
dayaffe wants to merge 1 commit into
mainfrom
david-yaffe/explicit-datadog-submit
Open

Make Datadog metric submission explicit#63
dayaffe wants to merge 1 commit into
mainfrom
david-yaffe/explicit-datadog-submit

Conversation

@dayaffe

@dayaffe dayaffe commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • require sync-metrics callers to choose --submit, --dry-run, or --output-json
  • read DD_API_KEY from the environment for direct submission instead of accepting it as a CLI argument
  • print a compact JSON receipt after successful submission so automation does not need to transport metric payloads
  • document the direct agent/scheduler path and sandbox boundary

Testing

  • cargo test --locked
  • verified missing/conflicting modes fail before fetching
  • verified sync-metrics --help omits --dd-api-key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant