oneuptime/Ingestor/Docs/metricsData.example.json
2023-10-23 20:02:44 +01:00

294 lines
11 KiB
JSON

{
"resourceMetrics":[
{
"resource":{
"attributes":[
{
"key":"host.name",
"value":{
"stringValue":"c16e92aabd73"
}
},
{
"key":"process.command_args",
"value":{
"arrayValue":{
"values":[
{
"stringValue":"/app/main"
}
]
}
}
},
{
"key":"process.executable.name",
"value":{
"stringValue":"main"
}
},
{
"key":"process.executable.path",
"value":{
"stringValue":"/app/main"
}
},
{
"key":"process.owner",
"value":{
"stringValue":"root"
}
},
{
"key":"process.pid",
"value":{
"intValue":"1"
}
},
{
"key":"process.runtime.description",
"value":{
"stringValue":"go version go1.21.2 linux/arm64"
}
},
{
"key":"process.runtime.name",
"value":{
"stringValue":"go"
}
},
{
"key":"process.runtime.version",
"value":{
"stringValue":"go1.21.2"
}
},
{
"key":"service.name",
"value":{
"stringValue":"demo-client"
}
},
{
"key":"telemetry.sdk.language",
"value":{
"stringValue":"go"
}
},
{
"key":"telemetry.sdk.name",
"value":{
"stringValue":"opentelemetry"
}
},
{
"key":"telemetry.sdk.version",
"value":{
"stringValue":"1.19.0"
}
}
]
},
"scopeMetrics":[
{
"scope":{
"name":"demo-client-meter"
},
"metrics":[
{
"name":"demo_client/request_latency",
"description":"The latency of requests processed",
"histogram":{
"dataPoints":[
{
"startTimeUnixNano":"1698055858300756753",
"timeUnixNano":"1698073168340861251",
"count":"12262",
"sum":5009057.084501003,
"bucketCounts":[
"0",
"268",
"700",
"1805",
"852",
"770",
"645",
"1041",
"1731",
"1761",
"1451",
"1238",
"0",
"0",
"0",
"0"
],
"explicitBounds":[
0,
5,
10,
25,
50,
75,
100,
250,
500,
750,
1000,
2500,
5000,
7500,
10000
],
"attributes":[
{
"key":"client",
"value":{
"stringValue":"cli"
}
},
{
"key":"method",
"value":{
"stringValue":"repl"
}
}
],
"min":0.827,
"max":2003.162543
}
],
"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"
}
},
{
"name":"demo_client/request_counts",
"description":"The number of requests processed",
"sum":{
"dataPoints":[
{
"startTimeUnixNano":"1698055858300764253",
"timeUnixNano":"1698073168340863543",
"asInt":"12262",
"attributes":[
{
"key":"client",
"value":{
"stringValue":"cli"
}
},
{
"key":"method",
"value":{
"stringValue":"repl"
}
}
]
}
],
"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE",
"isMonotonic":true
}
},
{
"name":"demo_client/line_lengths",
"description":"The lengths of the various lines in",
"histogram":{
"dataPoints":[
{
"startTimeUnixNano":"1698055858300770170",
"timeUnixNano":"1698073168340864918",
"count":"36845",
"sum":18342968,
"bucketCounts":[
"27",
"174",
"185",
"586",
"928",
"967",
"904",
"5531",
"9221",
"9200",
"9122",
"0",
"0",
"0",
"0",
"0"
],
"explicitBounds":[
0,
5,
10,
25,
50,
75,
100,
250,
500,
750,
1000,
2500,
5000,
7500,
10000
],
"attributes":[
{
"key":"client",
"value":{
"stringValue":"cli"
}
},
{
"key":"method",
"value":{
"stringValue":"repl"
}
}
],
"min":0,
"max":998
}
],
"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE"
}
},
{
"name":"demo_client/line_counts",
"description":"The counts of the lines in",
"sum":{
"dataPoints":[
{
"startTimeUnixNano":"1698055858300772836",
"timeUnixNano":"1698073168340865418",
"asInt":"36845",
"attributes":[
{
"key":"client",
"value":{
"stringValue":"cli"
}
},
{
"key":"method",
"value":{
"stringValue":"repl"
}
}
]
}
],
"aggregationTemporality":"AGGREGATION_TEMPORALITY_CUMULATIVE",
"isMonotonic":true
}
}
]
}
],
"schemaUrl":"https://opentelemetry.io/schemas/1.21.0"
}
]
}