mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2025-02-21 01:21:22 +00:00
switch to grafana for dashboard
This commit is contained in:
parent
655bceb9df
commit
d1262894bf
2
es.tf
2
es.tf
@ -2,7 +2,7 @@
|
||||
|
||||
resource "aws_elasticsearch_domain" "ElasticsearchDomain" {
|
||||
domain_name = "sondes-v2-7-9"
|
||||
elasticsearch_version = "OpenSearch_1.3"
|
||||
elasticsearch_version = "OpenSearch_2.3"
|
||||
cluster_config {
|
||||
dedicated_master_count = 3
|
||||
dedicated_master_enabled = false
|
||||
|
@ -23,7 +23,7 @@ def handler(event, context):
|
||||
if uri.startswith('/go/donate'):
|
||||
return redirect('https://www.paypal.com/donate/?hosted_button_id=4V7L43MD5CQ52')
|
||||
if uri.startswith('/go/status'):
|
||||
return redirect("https://cloudwatch.amazonaws.com/dashboard.html?dashboard=SondeHub&context=eyJSIjoidXMtZWFzdC0xIiwiRCI6ImN3LWRiLTE0Mzg0MTk0MTc3MyIsIlUiOiJ1cy1lYXN0LTFfZ2NlT3hwUnp0IiwiQyI6IjNuOWV0Y2ZxZm9zdm11aTc0NTYwMWFzajVzIiwiSSI6InVzLWVhc3QtMTo0ODI5YmQ4MC0yZmYzLTQ0MDktYjI1ZS0yOTE4MTM5YTgwM2MiLCJNIjoiUHVibGljIn0%3D")
|
||||
return redirect("https://grafana.v2.sondehub.org/d/bhdBI0KVz/infrastructure")
|
||||
if uri.startswith('/go/'):
|
||||
tinyurl = uri.replace("/go/", "")
|
||||
return redirect('https://tinyurl.com/' + tinyurl)
|
||||
|
Loading…
x
Reference in New Issue
Block a user