chronograf
chronograf copied to clipboard
As a user I can see "Apps" that are running for a host
• Using the endpoint from #186 get the supported "Apps"
• Using the selected source in the sources database show series from /item0$|item1$/ (regular expression for each key in the resulting from the API)
The result is a long series of
docker,cluster_id=ffac6c0b0d5b85820da8d6358d17357f,engine_host=tot-ffac6c0b-4,host=tot-ffac6c0b-4
docker,cluster_id=ffac6c0b0d5b85820da8d6358d17357f,engine_host=tot-ffac6c0b-4,host=tot-ffac6c0b-4,unit=bytes
influxdb,cluster_id=0123d3563ad2e86fe764141eb39c8965,host=prod-0123d356-us-west-1-data-3
influxdb,cluster_id=0123d3563ad2e86fe764141eb39c8965,host=prod-0123d356-us-west-1-data-4
influxdb,cluster_id=023501f636034c9c05102aa6bf610420,host=prod-023501f6-us-east-1-data-3
influxdb,cluster_id=023501f636034c9c05102aa6bf610420,host=prod-023501f6-us-east-1-data-4
• Scan the result of show series and if a host has a measurement app the value of that key from the API to a list of running apps
• Display that list in the apps view in the host list
got the front end logic together for requesting all of the apps for each host.. just need to know which to look for. should come via 186