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

deprecate nagios monitor #5172

Merged
merged 3 commits into from
Aug 29, 2024
Merged

deprecate nagios monitor #5172

merged 3 commits into from
Aug 29, 2024

Conversation

atoulme
Copy link
Contributor

@atoulme atoulme commented Aug 1, 2024

Description:
Deprecate nagios monitor.

@atoulme atoulme requested review from a team as code owners August 1, 2024 16:52
CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@pjanotti pjanotti left a comment

Choose a reason for hiding this comment

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

@pauljwil I think we need corresponding deprecation warnings on the docs https://docs.splunk.com/observability/en/gdi/monitors-monitoring/nagios.html

Unless @atoulme is tracking this some other way.

@@ -68,6 +68,8 @@ var (
// Configure and kick off internal metric collection
func (m *Monitor) Configure(conf *Config) error {
m.logger = logrus.WithFields(logrus.Fields{"monitorType": monitorType, "monitorID": conf.MonitorID})
m.logger.Warn("[NOTICE] The nagios monitor is deprecated and will be removed in a future release.")
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe we use [WARNING] in other places. Maybe better to be consistent if I'm not missing other places where we do [NOTICE]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's already logging at WARN level and therefore will show as a warning. We use [NOTICE] for all deprecation notices so far.

https://github.com/search?q=repo%3Asignalfx%2Fsplunk-otel-collector%20%5BNOTICE%5D&type=code

You are correct that we use [WARNING], but only in the concept of config converters where we use log.Println:

https://github.com/search?q=repo%3Asignalfx%2Fsplunk-otel-collector+%5BWARNING%5D&type=code

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@pjanotti pjanotti left a comment

Choose a reason for hiding this comment

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

:shipit:

@atoulme atoulme merged commit d8f1ead into main Aug 29, 2024
240 of 242 checks passed
@atoulme atoulme deleted the deprecate_nagios branch August 29, 2024 23:02
@github-actions github-actions bot locked and limited conversation to collaborators Aug 29, 2024
@aurbiztondo-splunk
Copy link
Contributor

@pjanotti - checking with @aunshc about next steps for docs/UI.

@pjanotti
Copy link
Contributor

pjanotti commented Sep 3, 2024

@aurbiztondo-splunk not sure if you recall but here is another deprecation that we did https://github.com/splunk/private-o11y-docs/pull/1699 - I am not sure if in the present case we go with a precise date as in the link.

@aurbiztondo-splunk
Copy link
Contributor

Thanks @pjanotti - will check with Aunsh as well! Docs updated in https://github.com/splunk/private-o11y-docs/pull/2292

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.

6 participants