Skip to content

Instantly share code, notes, and snippets.

@Jonnymcc
Created October 8, 2018 22:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jonnymcc/05e0cdab85e25a28594b8d0a2b1e5376 to your computer and use it in GitHub Desktop.
Save Jonnymcc/05e0cdab85e25a28594b8d0a2b1e5376 to your computer and use it in GitHub Desktop.
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