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

Add management mode enum to AgentInfo metadata #110

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions elastic-agent-client.proto
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ enum UnitLogLevel {
TRACE = 4;
}

// Reports the mode agent is running in
enum AgentManagedMode {
MANAGED = 0;
STANDALONE = 1;
}

// Package metadata provided in the meta field of a unit.
message Package {
// Source is the original configuration of this Package in the agent policy. Only standard
Expand Down Expand Up @@ -207,6 +213,8 @@ message AgentInfo {
string version = 2;
// Snapshot is true when the running Elastic Agent is a snapshot version.
bool snapshot = 3;
// AgentManagedMode reports what config mode agent is running in.
AgentManagedMode mode = 4;
}

// Feature flags configurations.
Expand Down
2 changes: 1 addition & 1 deletion pkg/proto/elastic-agent-client-deprecated.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/proto/elastic-agent-client-future.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/proto/elastic-agent-client-future_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading