Created
October 8, 2018 22:26
-
-
Save Jonnymcc/05e0cdab85e25a28594b8d0a2b1e5376 to your computer and use it in GitHub Desktop.
Grafana simplejson datasource tag-keys endpoint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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