Skip to content

Instantly share code, notes, and snippets.

@grobie
Created November 6, 2013 05:46
Show Gist options
  • Save grobie/7331513 to your computer and use it in GitHub Desktop.
Save grobie/7331513 to your computer and use it in GitHub Desktop.
Test run of tsenart/vegeta against the prometheus/client_ruby rack example app.
[{
"baseLabels": {
"name": "http_requests_total"
},
"docstring": "A counter of the total number of HTTP requests made",
"metric": {
"type": "counter",
"value": [{
"labels": {
"method": "GET"
},
"value": 167
}, {
"labels": {
"method": "POST"
},
"value": 167
}, {
"labels": {
"method": "DELETE"
},
"value": 166
}]
}
}, {
"baseLabels": {
"name": "http_request_durations_total_microseconds"
},
"docstring": "The total amount of time Rack has spent answering HTTP requests (microseconds).",
"metric": {
"type": "counter",
"value": [{
"labels": {
"method": "GET"
},
"value": 1022
}, {
"labels": {
"method": "POST"
},
"value": 1116
}, {
"labels": {
"method": "DELETE"
},
"value": 1011
}]
}
}, {
"baseLabels": {
"name": "http_request_latency_microseconds"
},
"docstring": "A histogram of the response latency for requests made (microseconds).",
"metric": {
"type": "summary",
"value": [{
"labels": {
"method": "GET"
},
"value": {
"0.5": 6,
"0.9": 8,
"0.99": 15
}
}, {
"labels": {
"method": "POST"
},
"value": {
"0.5": 6,
"0.9": 8,
"0.99": 56
}
}, {
"labels": {
"method": "DELETE"
},
"value": {
"0.5": 6,
"0.9": 8,
"0.99": 14
}
}]
}
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment