Skip to content

docs: use scale testing utility #12643

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Mar 22, 2024
Merged
Prev Previous commit
Next Next commit
Use mock Grafana url
  • Loading branch information
mtojek committed Mar 19, 2024
commit 51f9f0cf35d69ee0480aad2d904fa42be3527ff5
5 changes: 2 additions & 3 deletions examples/scaletests/scaletest-runner/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ locals {
scaletest_run_id = "scaletest-${replace(time_static.start_time.rfc3339, ":", "-")}"
scaletest_run_dir = "/home/coder/${local.scaletest_run_id}"
scaletest_run_start_time = time_static.start_time.rfc3339
grafana_url = "https://stats.dev.c8s.io"
grafana_url = "https://grafana.corp.tld"
grafana_dashboard_uid = "qLVSTR-Vz"
grafana_dashboard_name = "coderv2-loadtest-dashboard"
}
Expand Down Expand Up @@ -736,8 +736,7 @@ resource "coder_app" "prometheus" {
agent_id = coder_agent.main.id
slug = "01-prometheus"
display_name = "Prometheus"
// https://stats.dev.c8s.io:9443/classic/graph?g0.range_input=2h&g0.end_input=2023-09-08%2015%3A58&g0.stacked=0&g0.expr=rate(pg_stat_database_xact_commit%7Bcluster%3D%22big%22%2Cdatname%3D%22big-coder%22%7D%5B1m%5D)&g0.tab=0
url = "https://stats.dev.c8s.io:9443"
url = "https://grafana.corp.tld:9443"
icon = "https://prometheus.io/assets/favicons/favicon-32x32.png"
external = true
}
Expand Down