Closed marcelcorso closed 5 years ago
Create a histogram specifying buckets
curl -H "Content-type: application/json" -X POST -d '{"type": "histogram", "name": "server_handling_seconds", "help": "time spent handling reqs", "method": "observe", "value": 15.8, "buckets": [1,3,6,10,15,20]}' http://127.0.0.1:9091/
Now don't say anything.. we should get the default ones
curl -H "Content-type: application/json" -X POST -d '{"type": "histogram", "name": "server_handling_seconds_no_buckets", "help": "time spent handling reqs 2", "method": "observe", "value": 15.8}' http://127.0.0.1:9091/
👍
@kostkobv came to my desk and said he approved it
Create a histogram specifying buckets
curl -H "Content-type: application/json" -X POST -d '{"type": "histogram", "name": "server_handling_seconds", "help": "time spent handling reqs", "method": "observe", "value": 15.8, "buckets": [1,3,6,10,15,20]}' http://127.0.0.1:9091/
Now don't say anything.. we should get the default ones
curl -H "Content-type: application/json" -X POST -d '{"type": "histogram", "name": "server_handling_seconds_no_buckets", "help": "time spent handling reqs 2", "method": "observe", "value": 15.8}' http://127.0.0.1:9091/
👍