summaryrefslogtreecommitdiffstats
path: root/metrics-proxy/src/test/resources/generic-without-node.json
diff options
context:
space:
mode:
Diffstat (limited to 'metrics-proxy/src/test/resources/generic-without-node.json')
-rw-r--r--metrics-proxy/src/test/resources/generic-without-node.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/metrics-proxy/src/test/resources/generic-without-node.json b/metrics-proxy/src/test/resources/generic-without-node.json
new file mode 100644
index 00000000000..f4914a86129
--- /dev/null
+++ b/metrics-proxy/src/test/resources/generic-without-node.json
@@ -0,0 +1,37 @@
+{
+ "services": [
+ {
+ "name": "searchnode",
+ "timestamp": 1234,
+ "status": {
+ "code": "up"
+ },
+ "metrics": [
+ {
+ "values": {
+ "queries.count": 4
+ },
+ "dimensions": {
+ "documentType": "music"
+ }
+ }
+ ]
+ },
+ {
+ "name": "slobrok",
+ "timestamp": 1234,
+ "status": {
+ "code": "unknown",
+ "description": "Unable to fetch metrics from service 'slobrok'"
+ },
+ "metrics": [
+ {
+ "values": {},
+ "dimensions": {
+ "instance": "slobrok0"
+ }
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file