Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Add metrics API endpoint and CLI command #3

Merged
merged 3 commits into from
May 18, 2019
Merged

Conversation

jrasell
Copy link
Owner

@jrasell jrasell commented May 17, 2019

What type of PR is this?
This is a feature enhancement which takes previous telemetry work and adds an API endpoint and CLI command.

What this PR does / why we need it:
This adds both an API and CLI command for viewing the latest telemetry data points from a Sherpa server. This means operators can quickly get an idea for the server performance and will later allow the addition of Prometheus metrics output which will allow Prometheus exporter to run crawls on the Sherpa API.

jrasell added 2 commits May 17, 2019 08:59
In addition to sending telemetry to an endpoint, this commit now
allows metrics to be viewed by calling the Sherpa API. A command
can also be used, which wraps the API, to output the telemetry
information to the terminal. The API and command are nested under
the system commands and endpoints.
@jrasell jrasell added kind/enhancement Issues relating to enhancements area/cli Issues related to the CLI area/api Issues related to the API labels May 17, 2019
@jrasell jrasell self-assigned this May 17, 2019
@jrasell jrasell merged commit 3e6b041 into master May 18, 2019
@jrasell jrasell deleted the metrics-api-and-command branch May 18, 2019 07:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/api Issues related to the API area/cli Issues related to the CLI kind/enhancement Issues relating to enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant