autometrics-dev / am

Autometrics Companion CLI app
Apache License 2.0
16 stars 2 forks source link

Change default scrape frequency and allow users to customize it #86

Closed hatchan closed 1 year ago

hatchan commented 1 year ago

When using am to monitor your local application it makes sense to get a quicker feedback loop. By changing the default scrape duration to be lower than the default we can get data from your application into Prometheus faster and you'll be able to see a better resolution.

We should also allow the user to set a default value as a command line argument, or as a value in the am.toml. Any endpoint configured in the am.toml should also allow a override from the default.