Closed esnible closed 2 years ago
I found it difficult to understand what obsctl was doing.
This PR adds debug output to obsctl. To try it do obsctl metrics get rules --log.level=debug and see it now logs "debug: GET: https://observatorium.api.stage.openshift.com/api/metrics/v1/rhobs/api/v1/rules".
obsctl metrics get rules --log.level=debug
Headers are not logged, just the method and URL.
I found it difficult to understand what obsctl was doing.
This PR adds debug output to obsctl. To try it do
obsctl metrics get rules --log.level=debug
and see it now logs "debug: GET: https://observatorium.api.stage.openshift.com/api/metrics/v1/rhobs/api/v1/rules".Headers are not logged, just the method and URL.