Skip to content

Commit

Permalink
Merge pull request #2818 from sgibson91/deployer
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 authored Jul 17, 2023
2 parents ec0689d + 590a55a commit 8906044
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
20 changes: 8 additions & 12 deletions deployer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,18 +371,14 @@ the clusters that we run.
**Command line usage:**
```

Usage: deployer update-central-grafana-datasources [OPTIONS]
[CENTRAL_GRAFANA_CLUSTER]

Update a central grafana with datasources for all our prometheuses

╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ central_grafana_cluster [CENTRAL_GRAFANA_CLUSTER] Name of cluster where the central grafana lives │
│ [default: 2i2c] │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Usage: deployer update-central-grafana-datasources [OPTIONS]

Update the central grafana with datasources for all clusters prometheus instances

╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --central-grafana-cluster TEXT Name of cluster where the central grafana lives [default: 2i2c] │
│ --help Show this message and exit. │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

```
Expand Down
2 changes: 1 addition & 1 deletion deployer/grafana/central_grafana.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def get_clusters_used_as_datasources(cluster_name, datasource_endpoint):

@app.command()
def update_central_grafana_datasources(
central_grafana_cluster=typer.Argument(
central_grafana_cluster=typer.Option(
"2i2c", help="Name of cluster where the central grafana lives"
)
):
Expand Down

0 comments on commit 8906044

Please sign in to comment.