Skip to content

Instantly share code, notes, and snippets.

@tomwilkie
Created February 17, 2020 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomwilkie/de63eb15806d6ac97e075ac351b280f8 to your computer and use it in GitHub Desktop.
Save tomwilkie/de63eb15806d6ac97e075ac351b280f8 to your computer and use it in GitHub Desktop.
{
"request": {
"url": "https://admin-ops-tools1.grafana.net/grafana/api/datasources/proxy/1/api/v1/query?query=sum(kube_pod_container_resource_limits_cpu_cores%7Bcluster%3D%22ops-tools1%22%2C%20namespace%3D%22cortex-ops%22%7D)%20by%20(pod)&time=1581946086",
"method": "GET"
},
"response": {
"status": "success",
"data": {
"resultType": "vector",
"result": [
{
"metric": {
"pod": "distributor-598dddf9bf-dpphc"
},
"value": [
1581946086,
"6"
],
"values": [
[
1581946086,
"6"
]
]
},
{
"metric": {
"pod": "distributor-598dddf9bf-nghcg"
},
"value": [
1581946086,
"6"
],
"values": [
[
1581946086,
"6"
]
]
},
{
"metric": {
"pod": "distributor-598dddf9bf-tbwbn"
},
"value": [
1581946086,
"6"
],
"values": [
[
1581946086,
"6"
]
]
},
{
"metric": {
"pod": "distributor-598dddf9bf-7gg6r"
},
"value": [
1581946086,
"6"
],
"values": [
[
1581946086,
"6"
]
]
},
{
"metric": {
"pod": "table-manager-78f75f54b8-jwqgf"
},
"value": [
1581946086,
"0.2"
],
"values": [
[
1581946086,
"0.2"
]
]
},
{
"metric": {
"pod": "test-exporter-69db47b85f-lb8cg"
},
"value": [
1581946086,
"0.1"
],
"values": [
[
1581946086,
"0.1"
]
]
},
{
"metric": {
"pod": "distributor-598dddf9bf-rjrsr"
},
"value": [
1581946086,
"6"
],
"values": [
[
1581946086,
"6"
]
]
},
{
"metric": {
"pod": "distributor-598dddf9bf-8t7hf"
},
"value": [
1581946086,
"6"
],
"values": [
[
1581946086,
"6"
]
]
},
{
"metric": {
"pod": "distributor-598dddf9bf-7q8zr"
},
"value": [
1581946086,
"6"
],
"values": [
[
1581946086,
"6"
]
]
},
{
"metric": {
"pod": "persister-gw-9fd98bd9c-mxhpn"
},
"value": [
1581946086,
"1"
],
"values": [
[
1581946086,
"1"
]
]
},
{
"metric": {
"pod": "ruler-766797bd99-4dwzr"
},
"value": [
1581946086,
"16"
],
"values": [
[
1581946086,
"16"
]
]
},
{
"metric": {
"pod": "ruler-766797bd99-ncn4d"
},
"value": [
1581946086,
"16"
],
"values": [
[
1581946086,
"16"
]
]
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment