Creates a push client that will be used to push metrics to
Prometheus Aggregation Gateway. The client can be used for
any type of Gateway and it takes in the URL and the HTTP Client
that would have all the necessary information(authentication)
required to push to the gateway.
Configured to take in Prometheus Objects for pushing to gateway.
https://github.com/prometheus/client_golang/tree/master/prometheus
In order to make all the metrics uniform, the MetricBuilder
struct type is created with the option for storage, value setting,
and a type field. A build function is added which will create the
respective Prometheus Collector object based on the type of the
MetricBuilder and will automatically set the values and labels to
the collector object which can be used for pushing.
It also has a field for the description and the full name of the
metric for providing information about the metric generated. The field
bucket is used only for histogram.
Adds a new feature which prints a summary of the time it took in
each stage of the installer after the stage has been completed.
Summary is currently supported for the create, wait-for and the
delete command. The summary is printed at the completion of the
command and will show the time elapsed for each of the stages
of the execution.
Create command has the following stages:-
. Infrastructure
. API
. Bootstrap Complete
. Destroy bootstrap complete.
. Cluster Operator Complete.
Destroy command has the following stages:-
. Cluster
. Bootstrap
The wait-for command has the following stages:-
- Bootstrap-complete command
. Bootstrap
. API
- Install-complete command
. Cluster
. Console