Skip to content

Commit

Permalink
Reenable tests and fix them based on recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisronline committed Mar 10, 2020
1 parent b85de86 commit dab2b4e
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export async function getPaginatedPipelines(
{ clusterUuid, logstashUuid },
{ throughputMetric, nodesCountMetric },
pagination,
sort,
sort = { field: null },
queryText
) {
const sortField = sort.field;
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,53 @@
{"pipelines":[{"id":"uno","metrics":{"throughput":{"bucket_size":"10 seconds","timeRange":{"min":1573485225266,"max":1573485425399},"metric":{"app":"logstash","field":"logstash_stats.pipelines.events.out","label":"Pipeline Throughput","description":"Number of events emitted per second by the Logstash pipeline at the outputs stage.","units":"e/s","format":"0,0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1573485230000,0]]},"nodesCount":{"bucket_size":"10 seconds","timeRange":{"min":1573485225266,"max":1573485425399},"metric":{"app":"logstash","field":"logstash_stats.logstash.uuid","label":"Pipeline Node Count","description":"Number of nodes on which the Logstash pipeline is running.","units":"","format":"0,0.[00]","hasCalculation":true,"isDerivative":false},"data":[[1573485230000,1]]}},"latestThroughput":0,"latestNodesCount":1}],"clusterStatus":{"node_count":1,"events_in_total":0,"events_out_total":0,"avg_memory":1037959168,"avg_memory_used":203687512,"max_uptime":863288,"pipeline_count":1,"queue_types":{"memory":1,"persisted":0},"versions":["8.0.0"]},"totalPipelineCount":1}
{
"pipelines": [
{
"id": "uno",
"metrics": {
"throughput": {
"bucket_size": "10 seconds",
"timeRange": { "min": 1573485225266, "max": 1573485425399 },
"metric": {
"app": "logstash",
"field": "logstash_stats.pipelines.events.out",
"label": "Pipeline Throughput",
"description": "Number of events emitted per second by the Logstash pipeline at the outputs stage.",
"units": "e/s",
"format": "0,0.[00]",
"hasCalculation": false,
"isDerivative": true
},
"data": [[1573485230000, 0]]
},
"nodesCount": {
"bucket_size": "10 seconds",
"timeRange": { "min": 1573485225266, "max": 1573485425399 },
"metric": {
"app": "logstash",
"field": "logstash_stats.logstash.uuid",
"label": "Pipeline Node Count",
"description": "Number of nodes on which the Logstash pipeline is running.",
"units": "",
"format": "0,0.[00]",
"hasCalculation": true,
"isDerivative": false
},
"data": [[1573485230000, 1]]
}
},
"latestThroughput": 0,
"latestNodesCount": 1
}
],
"clusterStatus": {
"node_count": 1,
"events_in_total": 0,
"events_out_total": 0,
"avg_memory": 1037959168,
"avg_memory_used": 203687512,
"max_uptime": 863288,
"pipeline_count": 1,
"queue_types": { "memory": 1, "persisted": 0 },
"versions": ["8.0.0"]
},
"totalPipelineCount": 1
}
Loading

0 comments on commit dab2b4e

Please sign in to comment.