I would like a unit test, but I don't know how to mock github.com/observatorium/obsctl/pkg/config.Client
Regarding e2e tests, I'd like to deliver them in a follow-up. The problem is that I am on a Mac. For me to run my own tests will require some rework. When I did contributions to observatorium/api I created this e2e test. I will do something similar, but it might be too much for this PR.
Signed-off-by: Ed Snible snible@us.ibm.com
Initial implementation of
obsctl traces services
.If Observatorium has tracing enabled, and query is enabled, and the user has rights, the output will be a list of the services that are traced.
cc @pavolloffay