File tree 1 file changed +35
-2
lines changed
1 file changed +35
-2
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,41 @@ And change the initial environment `BASE_PATH` value to `<your local IP address>
78
78
6. Add a job to through api `jobs -> Add job`, to schedule a job to execute the measure. In the example, the schedule interval is 5 minutes.<br><br>
79
79
<br><br>
80
80
7. After some minutes, you can get the metrics from elasticsearch.
81
- ```
82
- curl -XGET '<your local IP address>:39200/griffin/accuracy/_search?pretty&filter_path=hits.hits._source' -d '{"query":{"match_all":{}}, "sort": [{"tmst": {"order": "asc"}}]}'
81
+ ```bash
82
+ curl -XGET '<IP Address>:39200/griffin/accuracy/_search?pretty&filter_path=hits.hits._source' \
83
+ -d '{"query":{"match_all":{}}, "sort": [{"tmst": {"order": "asc"}}]}'
84
+
85
+ # json metric data returned
86
+ {
87
+ "hits" : {
88
+ "hits" : [
89
+ {
90
+ "_source" : {
91
+ "name" : "metricName",
92
+ "tmst" : 1509599811123,
93
+ "value" : {
94
+ "__tmst" : 1509599811123,
95
+ "miss" : 11,
96
+ "total" : 125000,
97
+ "matched" : 124989
98
+ }
99
+ }
100
+ },
101
+ {
102
+ "_source" : {
103
+ "name" : "metricName",
104
+ "tmst" : 1509599811123,
105
+ "value" : {
106
+ "__tmst" : 1509599811123,
107
+ "miss" : 11,
108
+ "total" : 125000,
109
+ "matched" : 124989
110
+ }
111
+ }
112
+ }
113
+ ]
114
+ }
115
+ }
83
116
```
84
117
85
118
### How to use Apache Griffin docker images in streaming mode
You can’t perform that action at this time.
0 commit comments