-
Notifications
You must be signed in to change notification settings - Fork 394
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
Create OpenShift dashboard to visualize Collector metrics #2996
base: main
Are you sure you want to change the base?
Conversation
main.go
Outdated
err = openshiftDashboards.CreateOpenShiftDashboard(clientset) | ||
if err == nil { | ||
ctrl.Log.Info("OpenShift dashboard for OpenTelemetryCollector monitoring created") | ||
defer openshiftDashboards.DeleteOpenShiftDashboard(clientset, ctrl.Log) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you test this? Otherwise we could use context.AfterFunc
on the context returned from ctrl.SetupSignalHandler()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a vanilla grafana dashboard or OCP-specific? It would be great to document how this dashboard can be created/updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where should I document it? So that you know, the creation of this dashboard is reported in the release notes + flag. Regarding editing.. changes will be overwritten on operator restarts or upgrades.
It is Grafana 5 syntax.
…try#2995 Signed-off-by: Israel Blancas <iblancasa@gmail.com>
Description: this PR adds the creation of OpenShift dashboards to monitor OpenTelemetry Collector instances.