Skip to content
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

feat: add grafana customize command #2619

Merged
merged 2 commits into from
Jan 31, 2024
Merged

Conversation

cgrinds
Copy link
Collaborator

@cgrinds cgrinds commented Jan 30, 2024

Fixes: #2617

Hardikl
Hardikl previously approved these changes Jan 31, 2024
return fmt.Errorf("error makedir [%s]: %w", filepath.Dir(fp), err)
}
if err = os.WriteFile(fp, data, GPerm); err != nil {
return err
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return fmt.Errorf("error writing customized dashboard to file %s: %w", fp, err)

@cgrinds cgrinds merged commit fb65ef3 into main Jan 31, 2024
10 checks passed
@cgrinds cgrinds deleted the cbg-issue-2617-grafana-customize branch January 31, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to use grafana import to output customized dashboards to local filesystem
3 participants