tadayosi commented on a change in pull request #3152:
URL: https://github.com/apache/camel-k/pull/3152#discussion_r838119828



##########
File path: examples/traits/prometheus/ServiceMonitor.java
##########
@@ -0,0 +1,34 @@
+// This example will create a prometheus endpoint that will be used to send 
metrics to the prometheus server every second.
+// The endpoint will be configured with the following parameters:
+//
+// - `metricName`: `my-service`
+// - `metricVersion`: `v1`
+// - `metricNamespace`: `my-namespace`
+// - `metricLabels`: `label1=value1,label2=value2`
+// - `metricType`: `gauge`
+// - `metricHelp`: `My service help`
+// - `metricUnit`: `my-unit`
+// - `metricValue`: `1`
+//
+

Review comment:
       It's good idea to write how to run the example here or in README. Please 
refer to other exising trait examples.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to