rakutentech / kafka-firehose-nozzle

Forward logs from the Cloud Foundry Firehose to Apache Kafka
MIT License
13 stars 8 forks source link

Application stats #5

Closed tcnksm closed 8 years ago

tcnksm commented 8 years ago

Now we only provide runtime spec (by fukata/golang-stats-api-handler). This is not enough for debugging.

This PR will opens application stats like number of consume, number of publish so that we can detect something wrong on nozzle. Not only application stats, but enables net/http/pprof for tuning. This is initial step. We should add more stats in future.

Now we have three endpoints,

tcnksm commented 8 years ago

@CAFxX Please review. It's deployed on our internal lab

CAFxX commented 8 years ago

The idea is to use watchtower to pull the stats, right?

tcnksm commented 8 years ago

@CAFxX Yes