Skip to content

Commit

Permalink
udn mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau committed Nov 27, 2024
1 parent 1f56e27 commit fedd455
Show file tree
Hide file tree
Showing 6 changed files with 540 additions and 3 deletions.
132 changes: 132 additions & 0 deletions mocks/loki/flow_metrics_dropped_udn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
{
"status": "success",
"data": {
"resultType": "matrix",
"result": [
{
"metric": {
"UdnId": "my-udn"
},
"values": [
[
1708011360,
"0.041666666666666664"
],
[
1708011720,
"0.6236111111111111"
]
]
},
{
"metric": {
"UdnId": "my-udn-2"
},
"values": [
[
1708011360,
"0.036111111111111115"
],
[
1708011720,
"0.49166666666666664"
]
]
}
],
"stats": {
"summary": {
"bytesProcessedPerSecond": 379050316,
"linesProcessedPerSecond": 577163,
"totalBytesProcessed": 221936446,
"totalLinesProcessed": 337933,
"execTime": 0.585506558,
"queueTime": 5.295528995,
"subqueries": 0,
"totalEntriesReturned": 2,
"splits": 6,
"shards": 48,
"totalPostFilterLines": 810,
"totalStructuredMetadataBytesProcessed": 0
},
"querier": {
"store": {
"totalChunksRef": 0,
"totalChunksDownloaded": 0,
"chunksDownloadTime": 0,
"chunk": {
"headChunkBytes": 0,
"headChunkLines": 0,
"decompressedBytes": 0,
"decompressedLines": 0,
"compressedBytes": 0,
"totalDuplicates": 0,
"postFilterLines": 0,
"headChunkStructuredMetadataBytes": 0,
"decompressedStructuredMetadataBytes": 0
}
}
},
"ingester": {
"totalReached": 48,
"totalChunksMatched": 375,
"totalBatches": 56,
"totalLinesSent": 802,
"store": {
"totalChunksRef": 16,
"totalChunksDownloaded": 16,
"chunksDownloadTime": 7855086,
"chunk": {
"headChunkBytes": 18755808,
"headChunkLines": 28594,
"decompressedBytes": 203180638,
"decompressedLines": 309339,
"compressedBytes": 43253118,
"totalDuplicates": 0,
"postFilterLines": 810,
"headChunkStructuredMetadataBytes": 0,
"decompressedStructuredMetadataBytes": 0
}
}
},
"cache": {
"chunk": {
"entriesFound": 0,
"entriesRequested": 0,
"entriesStored": 0,
"bytesReceived": 0,
"bytesSent": 0,
"requests": 0,
"downloadTime": 0
},
"index": {
"entriesFound": 0,
"entriesRequested": 0,
"entriesStored": 0,
"bytesReceived": 0,
"bytesSent": 0,
"requests": 0,
"downloadTime": 0
},
"result": {
"entriesFound": 4,
"entriesRequested": 6,
"entriesStored": 3,
"bytesReceived": 1372,
"bytesSent": 0,
"requests": 9,
"downloadTime": 63334
},
"statsResult": {
"entriesFound": 0,
"entriesRequested": 0,
"entriesStored": 0,
"bytesReceived": 0,
"bytesSent": 0,
"requests": 0,
"downloadTime": 0
}
}
}
}
}
Loading

0 comments on commit fedd455

Please sign in to comment.