API ReferenceGuidesChangelog
Metrics

Get a list of metrics in a project

GET
/v1/metrics

Authorization

api-key<token>

In: header

Query Parameters

projectId?string
name?string
version?integer
Formatint32
labelLimit?string
Formatuint64
labelSearchQuery?string

Response Body

application/json

curl -X GET "https://example.com/v1/metrics"
{  "computeStats": {    "binaryVersionHash": "string",    "clickhouseStats": {      "memoryUsage": "string",      "queryDurationMs": "string",      "readBytes": "string",      "readRows": "string",      "resultBytes": "string",      "resultRows": "string"    },    "computeCostMs": "string",    "computedAt": "2019-08-24T14:15:22Z",    "computedBy": "string",    "isCached": true,    "isRefreshing": true  },  "metrics": [    {      "chainId": [        "string"      ],      "contractAddress": [        "string"      ],      "contractName": [        "string"      ],      "displayName": "string",      "labels": {        "property1": {          "totalCount": "string",          "values": [            "string"          ]        },        "property2": {          "totalCount": "string",          "values": [            "string"          ]        }      },      "metadata": {        "help": "string",        "lastSeen": "string",        "type": "string",        "unit": "string"      },      "name": "string",      "projectId": "string"    }  ]}