<jupyter_start><jupyter_text>Creating the Grafana dashboard  Setup grafana service * Go to the services screen* Create Grafana service or use an existing one  Get grafana package<jupyter_code>!pip install git+https://github.com/v3io/grafwiz.git
from grafwiz import *<jupyter_output><empty_output><jupyter_text>Deploy worldmap datasource<jupyter_code># Grafana internal cluster address (will be http://{grafana-service-name})
grafana_url = 'http://grafana'<jupyter_output><empty_output><jupyter_text>Using the nuclio function created at the previous notebook ([nuclio-worldmap](05-nuclio-worldmap-grafana-integration.ipynb)) with the kubernetes dns.<jupyter_code># frames_url = http://{worldmap-function-name}:8080 
worldmap = DataSource(name='worldmap', frames_url='http://worldmap-endpoint:8080')
worldmap.deploy(grafana_url)<jupyter_output>Datasource worldmap already exists
Datasource worldmap created successfully
{'fraction_non_alphanumeric': 0.10141766630316248, 'fraction_numerical': 0.011995637949836423, 'mean_word_length': 8.18, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '331267', 'license': 'Apache-2.0', 'n_tokens_mistral': 315, 'n_tokens_neox': 300, 'n_words': 66, 'path': 'demos/location-based-recommendations/06-creating-grafana-dashboard.ipynb', 'repo_name': 'zilbermanor/tutorials', 'size': '917'}