|
16 | 16 | }, |
17 | 17 | { |
18 | 18 | "cell_type": "code", |
19 | | - "execution_count": null, |
| 19 | + "execution_count": 1, |
20 | 20 | "metadata": {}, |
21 | | - "outputs": [], |
| 21 | + "outputs": [ |
| 22 | + { |
| 23 | + "name": "stdout", |
| 24 | + "output_type": "stream", |
| 25 | + "text": [ |
| 26 | + "Collecting git+https://github.com/v3io/grafwiz.git\n", |
| 27 | + " Cloning https://github.com/v3io/grafwiz.git to /tmp/pip-req-build-fwkh1tj4\n", |
| 28 | + "Requirement already satisfied (use --upgrade to upgrade): grafwiz==0.1.0 from git+https://github.com/v3io/grafwiz.git in /User/.pythonlibs/lib/python3.6/site-packages\n", |
| 29 | + "Requirement already satisfied: grafanalib in /User/.pythonlibs/lib/python3.6/site-packages (from grafwiz==0.1.0) (0.5.3)\n", |
| 30 | + "Requirement already satisfied: attrs in /conda/lib/python3.6/site-packages (from grafanalib->grafwiz==0.1.0) (19.1.0)\n", |
| 31 | + "Building wheels for collected packages: grafwiz\n", |
| 32 | + " Running setup.py bdist_wheel for grafwiz ... \u001b[?25ldone\n", |
| 33 | + "\u001b[?25h Stored in directory: /tmp/pip-ephem-wheel-cache-0jnpcojn/wheels/8f/07/f3/185d8b497806aae5db86574055449669bd6c6658be2a5f9ec4\n", |
| 34 | + "Successfully built grafwiz\n" |
| 35 | + ] |
| 36 | + } |
| 37 | + ], |
22 | 38 | "source": [ |
23 | 39 | "!pip install git+https://github.com/v3io/grafwiz.git" |
24 | 40 | ] |
25 | 41 | }, |
26 | 42 | { |
27 | 43 | "cell_type": "code", |
28 | | - "execution_count": 1, |
| 44 | + "execution_count": 2, |
29 | 45 | "metadata": {}, |
30 | 46 | "outputs": [], |
31 | 47 | "source": [ |
|
35 | 51 | }, |
36 | 52 | { |
37 | 53 | "cell_type": "code", |
38 | | - "execution_count": 2, |
| 54 | + "execution_count": 3, |
39 | 55 | "metadata": {}, |
40 | | - "outputs": [ |
41 | | - { |
42 | | - "name": "stdout", |
43 | | - "output_type": "stream", |
44 | | - "text": [ |
45 | | - "Datasource iguazio created successfully\n" |
46 | | - ] |
47 | | - } |
48 | | - ], |
| 56 | + "outputs": [], |
49 | 57 | "source": [ |
50 | 58 | "# Grafana internal cluster address (will be http://grafana)\n", |
51 | | - "grafana_url = 'http://10.97.225.197'\n", |
| 59 | + "grafana_url = 'http://grafana'\n", |
52 | 60 | "# External URL of the demo's stream-viewer Nuclio serverless function\n", |
53 | | - "streamview_url = 'https://stream-view.iguazio.app.vjszzjiaingr.iguazio-cd0.com/'" |
| 61 | + "# Replace the string after the app. with the dashboard URL (e.g. stream-view.iguazio.app.product4.iguazio-cd2.com)\n", |
| 62 | + "streamview_url = 'https://stream-view.iguazio.app.<Dashboard URL string>/'" |
54 | 63 | ] |
55 | 64 | }, |
56 | 65 | { |
57 | 66 | "cell_type": "code", |
58 | | - "execution_count": null, |
59 | | - "metadata": {}, |
60 | | - "outputs": [], |
61 | | - "source": [ |
62 | | - "# Deploy the \"iguazio\" datasource with default paramaters/credentials.\n", |
63 | | - "# You need to do this only once.\n", |
64 | | - "ds=DataSource().deploy(grafana_url)" |
65 | | - ] |
66 | | - }, |
67 | | - { |
68 | | - "cell_type": "code", |
69 | | - "execution_count": 3, |
| 67 | + "execution_count": 4, |
70 | 68 | "metadata": {}, |
71 | 69 | "outputs": [ |
72 | 70 | { |
|
0 commit comments