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

new silenced setting attributes addition #5049

Open
wants to merge 5 commits into
base: develop/6
Choose a base branch
from

Conversation

chavakula
Copy link

@chavakula chavakula commented Jan 31, 2024

What is this change?

as per required mentioned in https://github.com/sensu/sensu-go-extras/issues/16

Why is this change necessary?

feature request mentioned in https://github.com/sensu/sensu-go-extras/issues/16

Does your change need a Changelog entry?

Do you need clarification on anything?

Were there any complications while making this change?

Have you reviewed and updated the documentation for this change? Is new documentation required?

How did you verify this change?

Done manual testing using available options to create silenced

  1. from UI interface
  2. using sensuctl create command
  3. using sensuctl create silence --interactive method

Is this change a patch?

Signed-off-by: Rajshekar Chavakula <rchavakula.ctr@sumologic.com>
Signed-off-by: Rajshekar Chavakula <rchavakula.ctr@sumologic.com>
Signed-off-by: Rajshekar Chavakula <rchavakula.ctr@sumologic.com>
Signed-off-by: Rajshekar Chavakula <rchavakula.ctr@sumologic.com>
@fguimond
Copy link
Contributor

@chavakula Looks good! I believe this change requires a changelog entry.

@chavakula
Copy link
Author

chavakula commented Feb 29, 2024

@chavakula Looks good! I believe this change requires a changelog entry.

Yes i guess,

@chavakula Looks good! I believe this change requires a changelog entry.

Hi @fguimond , i guess we require entry into changelog 6. any specific version planned to release?.

Signed-off-by: Rajshekar Chavakula <rchavakula.ctr@sumologic.com>
@chavakula
Copy link
Author

@fguimond change log added. Please have a look if anything is required.

// Store is an implementation of the sensu-go/backend/store.Store iface.
type Store struct {
client *clientv3.Client
keepalivesPath string
cfg Config
Copy link
Contributor

@fguimond fguimond Mar 7, 2024

Choose a reason for hiding this comment

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

I'm wondering if this is the right place to have this config property. It seems to be used exclusively in silenced_store.go so why not have it there instead?
Hmmm I see why. I know some of the validation logic was there already but I wonder if it could be performed elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants