performancecopilot / speed

A Go implementation of the PCP instrumentation API
MIT License
37 stars 6 forks source link

Expose Go runtime metrics #42

Closed saurvs closed 7 years ago

saurvs commented 7 years ago

The Go runtime package exposes metrics related to the host CPU, memory usage and garbage collector.

We can either add a new example demonstrating how to expose those metrics using the existing API, or we can implement a new PCPInstanceMetric called GoRuntime, which exposes those metrics and implements a SetTimeResolution method for periodically updating the metrics.

suyash commented 7 years ago

An example would be nice, there was also a stretch goal for last year (#7) to create a CLI application on top of the API that does that

saurvs commented 7 years ago

Ok. I'll work on an example and look into that issue.

natoscott commented 7 years ago

+1 awesome! This would be wonderful to see guys.

suyash commented 7 years ago

daemon is tracked in #7, example was added in #44, closing this