weaveworks / scope

Monitoring, visualisation & management for Docker & Kubernetes
https://www.weave.works/oss/scope/
Apache License 2.0
5.83k stars 708 forks source link

Integration with microservice frameworks #1622

Open 2opremio opened 8 years ago

2opremio commented 8 years ago

We could extend microservice frameworks such as Go-kit and SpringBoot to send information to Scope (e.g. request rates etc ...).

This will get give deeper and finer grained information and enable us to do things like tracing without explicit modifications to the app (although the applications will be implicitly instrumented).

pidster commented 8 years ago

Probably less 'extend' and more 'observe'.

rade commented 8 years ago

I reckon our initial focus here should be high-level metrics, as per #1631.

@peterbourgon says

The integration (with go-kit) is straightforward. It would be the first of many similar integrations for other frameworks and runtimes. Go kit would offer middlewares that exposed a predefined set of expvar/Prometheus/... metrics. Scope would probe for those metric endpoints on discovered host:ports, and try to parse out the stats. Raw counts and latencies are trivial. Calculation of rates would require some state. All doable."