Package io.kubernetes.client.examples
Class PrometheusExample
java.lang.Object
io.kubernetes.client.examples.PrometheusExample
A simple example of how to use the Java API with Prometheus metrics
Easiest way to run this: mvn exec:java -Dexec.mainClass="io.kubernetes.client.examples.PrometheusExample"
From inside $REPO_DIR/examples
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PrometheusExample
public PrometheusExample()
-
-
Method Details
-
main
public static void main(String[] args) throws IOException, io.kubernetes.client.openapi.ApiException - Throws:
IOExceptionio.kubernetes.client.openapi.ApiException
-