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

Cherry-pick #17336 to 7.x: Display the stability status of the Elastic Agent #17578

Merged
merged 1 commit into from
Apr 7, 2020

Conversation

ph
Copy link
Contributor

@ph ph commented Apr 7, 2020

Cherry-pick of PR #17336 to 7.x branch. Original message:

The Elastic Agent is currently Alpha quality software and is not ready
to be used in a production environment, this commit make it obvious in
the logs on startup and at enrollment.

Note this doesn't use the cfgwarn helpers for two reasons:

  • We aren't using zap in the Elastic Agent code.
  • We also need to print on standout.

This also add a "warn" package where the messaging can be edited once.

Fixes: #17328

What does this PR do?

Print the stability status of the Agent in the logs and in the stdout.

Why is it important?

The Elastic Agent should not be used in production and we need to be explicit about it.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

* Display the stability status of the Elastic Agent

The Elastic Agent is currently Alpha quality software and is not ready
to be used in a production environment, this commit make it obvious in
the logs on startup and at enrollment.

Note this doesn't use the cfgwarn helpers for two reasons:

- We aren't using zap in the Elastic Agent code.
- We also need to print on standout.

This also add a "warn" package where the messaging can be edited once.

Fixes: elastic#17328

* Add a changelog entry

(cherry picked from commit b70e44b)
@ph ph self-assigned this Apr 7, 2020
@ph ph requested a review from michalpristas April 7, 2020 14:50
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ingest-management (Team:Ingest Management)

Copy link
Contributor

@michalpristas michalpristas left a comment

Choose a reason for hiding this comment

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

👍

@ph ph merged commit 9c844df into elastic:7.x Apr 7, 2020
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