Public Grafana solution to Bitcoin Market from Brazil
docker-compose up -d
docker-compose down
curl -XPUT http://localhost:9200/btc
curl -X DELETE "localhost:9200/btc?pretty"
curl http://localhost:9200/_aliases?pretty=true
curl http://localhost:9200/_cat/health?pretty=true
curl -XPOST "http://localhost:9200/produto/default" -H 'Content-Type: application/json' -d '{"valor_venda":8.540, "valor_compra":7.000, "date_time":"2020-04-26 17:44"}'
curl -GET "http://localhost:9200/produto/default/_search?pretty"
curl -X GET "localhost:9200/grafanabtc/_doc/?pretty"
{"valor_venda":8.540, "valor_compra":7.000, "date_time":"1587939637"}