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 StorageGrid collector and dashboard #1322

Merged
merged 8 commits into from
Oct 31, 2022
Merged

feat: add StorageGrid collector and dashboard #1322

merged 8 commits into from
Oct 31, 2022

Conversation

cgrinds
Copy link
Collaborator

@cgrinds cgrinds commented Sep 29, 2022

No description provided.

@rahulguptajss
Copy link
Contributor

Super!

conf/storagegrid/11.6.0/tenant.yaml Outdated Show resolved Hide resolved
cmd/collectors/storagegrid/rest/client.go Outdated Show resolved Hide resolved
cmd/collectors/storagegrid/storagegrid.go Show resolved Hide resolved
Hardikl
Hardikl previously approved these changes Oct 3, 2022
cmd/collectors/storagegrid/storagegrid.go Show resolved Hide resolved
cmd/collectors/storagegrid/rest/client.go Outdated Show resolved Hide resolved
conf/storagegrid/11.6.0/tenant.yaml Outdated Show resolved Hide resolved
apiVersion := s.Params.GetChildContentS("api")
if !strings.HasSuffix(s.client.APIPath, apiVersion) {
cur := s.client.APIPath
s.client.APIPath = "/apiVersion/" + apiVersion
Copy link
Contributor

Choose a reason for hiding this comment

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

"/apiVersion/" word would be required in endpoint ?

func (s *StorageGrid) initClient() error {
var err error

if s.client, err = srest.NewClient(s.Options.Poller, s.Params.GetChildContentS("client_timeout")); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

same apply here: client_timeout gets loaded later in loadTemplate.

@cgrinds cgrinds merged commit 8a968f0 into main Oct 31, 2022
@cgrinds cgrinds deleted the cbg-storagegrid branch October 31, 2022 14:07
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.

3 participants