Skip to content

Instantly share code, notes, and snippets.

@Jonnymcc

Jonnymcc/index.py

Created Oct 8, 2018
Embed
What would you like to do?
Grafana simplejson datasource tag-keys endpoint
@app.route('/tag-keys', methods=['POST'])
def tag_keys():
data = [
{"type": "string", "text": "City"},
{"type": "string", "text": "Country"}
]
return jsonify(data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment