Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

PMM-9632 Settings view usage.#147

Closed
JiriCtvrtka wants to merge 5 commits intomainfrom
PMM-9632-settings-view
Closed

PMM-9632 Settings view usage.#147
JiriCtvrtka wants to merge 5 commits intomainfrom
PMM-9632-settings-view

Conversation

@JiriCtvrtka
Copy link
Contributor

@JiriCtvrtka JiriCtvrtka commented May 6, 2022

ORDER BY period_start DESC;`

// SelectPGSMSettings selects settings for given queryid.
func (m *Metrics) SelectPGSMSettings(ctx context.Context, periodStartFromSec,

Choose a reason for hiding this comment

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

🚫 [golangci-lint] reported by reviewdog 🐶
Function 'SelectPGSMSettings' is too long (67 > 60) (funlen)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also same for another methods here.

}

// GetPGSMSettings gets pg_stat_monitor settings for given queryid.
func (s *Service) GetPGSMSettings(ctx context.Context, in *qanpb.SettingsRequest) (*qanpb.SettingsReply, error) { //nolint:dupl

Choose a reason for hiding this comment

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

🚫 [golangci-lint] reported by reviewdog 🐶
parameter name 'in' is too short for the scope of its usage (varnamelen)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We have this name "in" also in another methods here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants