-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dashboard): create DON dashboard (#12738)
* feat(dashboard): add DON ocr contract panels * feat(dashboard): add panels included env var * feat(dashboard): add panels for round epoch progression * feat(dashboard): add summary don panels * feat(dashboard): cleanup * chore: modify sonarkube code duplication exclusion * feat(dashboard): delete dashboard * feat(dashboard): adapt for multiple ocr versions * feat(dashboard): DON dashboard for all ocr versions * feat(dashbord): separated PR for core components * feat(dashboard): correct escaping for k8s vars
- Loading branch information
Showing
10 changed files
with
784 additions
and
20 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package main | ||
|
||
import ( | ||
lib "github.com/smartcontractkit/chainlink/dashboard-lib" | ||
) | ||
|
||
func main() { | ||
cfg := lib.ReadEnvDeployOpts() | ||
db := lib.NewDashboard(cfg.Name, cfg, nil) | ||
err := db.Delete() | ||
if err != nil { | ||
lib.L.Fatal().Err(err).Msg("failed to delete the dashboard") | ||
} | ||
lib.L.Info(). | ||
Str("Name", db.Name). | ||
Str("GrafanaURL", db.DeployOpts.GrafanaURL). | ||
Str("GrafanaFolder", db.DeployOpts.GrafanaFolder). | ||
Msg("Dashboard deleted") | ||
} |
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
Oops, something went wrong.