Commit d0609d71 authored by Akshay G's avatar Akshay G

Updated README

parent 84e3ccd7
...@@ -3,23 +3,34 @@ ...@@ -3,23 +3,34 @@
### Pass in the configurations: ### Pass in the configurations:
```python ```python
{ {
"kairosdb_url": "http://192.168.0.207:8080", "shared_volume":"/mnt",
"metric_name": "ilens.live_data.raw", "end_absolute":"30/11/2020 00:00:00",
"tag_hierarchy": { "start_absolute":"01/10/2020 00:00:00",
"pressure_values": "site_194$dept_1022$line_287$equipment_3824$tag_6663" "tag_hierarchy":{
"pressure_values":"site_194$dept_1022$line_287$equipment_3824$tag_6663"
}, },
"start_absolute": "01/10/2020 00:00:00", "metric_name":"ilens.live_data.raw",
"end_absolute": "30/11/2020 00:00:00", "kairosdb_url":"http://192.168.0.207:8080 ",
"shared_volume": "/mnt" "aggregation_ops":"MAX",
"aggregation_sampling_value":"1",
"aggregation_sampling_unit":"Days",
"aggregation_alignment":"None"
} }
``` ```
### Run Docker Container mounting the same directory to which the csv file is to be written ### Run Docker Container mounting the same directory to which the csv file is to be written
``` ```
docker run -v /mnt:/mnt -e config='{"kairosdb_url": "http://192.168.0.207:8080",' \ docker run
'"metric_name": "ilens.live_data.raw",' \ -v /mnt:/mnt
'"tag_hierarchy": {"pressure_values":"site_194$dept_1022$line_287$equipment_3824$tag_6663"},' \ -e shared_volume="/mnt"
'"start_absolute": "01/10/2020 00:00:00",' \ -e end_absolute="30/11/2020 00:00:00"
'"end_absolute": "30/11/2020 00:00:00",' \ -e start_absolute="01/10/2020 00:00:00"
'"shared_volume": "/mnt"}' batch-multi-karios-read-component:v0.1 -e tag_hierarchy='{"pressure_values":"site_194$dept_1022$line_287$equipment_3824$tag_6663"}'
-e metric_name=ilens.live_data.raw
-e kairosdb_url=http://192.168.0.207:8080
-e aggregation_ops=MAX
-e aggregation_sampling_value=1
-e aggregation_sampling_unit=Days
-e aggregation_alignment=None
azacrknowledgelens.azurecr.io/ai-forecasting/batch-multi-karios-read-component:v0.7
``` ```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment