added prometheus metrics to the live running host - #396
Conversation
| // Proto | ||
| isProtoSet = false | ||
| proto = kingpin.Flag("proto", `The Protocol Buffer .proto file.`). | ||
| PlaceHolder(" ").IsSetByUser(&isProtoSet).String() |
There was a problem hiding this comment.
Sorry my IDE did this should i revert all of them?
|
Sorry somehow missed this PR. Will take a look soon. |
|
I am interested to learn more about your use case. I get the general idea and I think something like this could be useful. The issue with this specific implementation is that we would possibly (probably?) miss some scrape data? Prometheus normally scrapes metrics endpoints at some interval (ex Additionally I think that package is deprecated in favour of github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus. I think something like this is useful, but it might be better to try and build something that can be used programatically first and maybe generalized... that may inform opinions and offer some insights into practical way to provide it as part of CLI if possible. I will think about this some more. |
Hello, i found your project and was looking to use it for some very long runs and would prefer the metric data to be sent live if possible. AFAIK you cant do this out of the box. I've tested a quick-n-dirty implementation of go-grpc-prometheus with config flags to turn it on/off.
Here is a sample dashboard all based on the examples here.

Thanks, let me know what you think.