rakutentech / kafka-firehose-nozzle

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

Add instanceId on stats info #6

Closed tcnksm closed 8 years ago

tcnksm commented 8 years ago

Now we can not identify which host generates which stats. This PR enables to annotate host/instance info to stats.

For initial implementation, use CF_INSTANCE_INDEX (The index number of the cloudfoundry app instance)

We should allow to set via other general env var in future.