Skip to content

Commit

Permalink
Merge branch 'v3' into poc-v3-otel-syslog
Browse files Browse the repository at this point in the history
  • Loading branch information
dhurley committed Dec 13, 2024
2 parents 5d0f9b0 + 8d7c4de commit bc04caa
Show file tree
Hide file tree
Showing 126 changed files with 5,489 additions and 3,238 deletions.
386 changes: 239 additions & 147 deletions api/grpc/mpi/v1/command.pb.go

Large diffs are not rendered by default.

277 changes: 274 additions & 3 deletions api/grpc/mpi/v1/command.pb.validate.go

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

42 changes: 22 additions & 20 deletions api/grpc/mpi/v1/command.proto
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,8 @@ message InstanceChild {

// A set of runtime NGINX OSS settings
message NGINXRuntimeInfo {
// the stub status API URL
string stub_status = 1 [(buf.validate.field).cel = {
id: "string.uri",
message: "value must be a valid URI or can be empty",
expression: "this == \'\' || this.isUri()"
}];
// the stub status API details
APIDetails stub_status = 1;
// a list of access_logs
repeated string access_logs = 2;
// a list of error_logs
Expand All @@ -282,12 +278,8 @@ message NGINXRuntimeInfo {

// A set of runtime NGINX Plus settings
message NGINXPlusRuntimeInfo {
// the stub status API URL
string stub_status = 1 [(buf.validate.field).cel = {
id: "string.uri",
message: "value must be a valid URI or can be empty",
expression: "this == \'\' || this.isUri()"
}];
// the stub status API details
APIDetails stub_status = 1;
// a list of access_logs
repeated string access_logs = 2;
// a list of error_logs
Expand All @@ -296,12 +288,15 @@ message NGINXPlusRuntimeInfo {
repeated string loadable_modules = 4;
// List of NGINX dynamic modules.
repeated string dynamic_modules = 5;
// the plus API location
string plus_api = 6 [(buf.validate.field).cel = {
id: "string.uri",
message: "value must be a valid URI or can be empty",
expression: "this == \'\' || this.isUri()"
}];
// the plus API details
APIDetails plus_api = 6;
}

message APIDetails {
// the API location directive
string location = 1;
// the API listen directive
string listen = 2;
}

// A set of actions that can be performed on an instance
Expand All @@ -323,8 +318,15 @@ message AgentConfig {
string message_buffer_size = 6;
}

// The command settings, associated with messaging from an external source
message CommandServer {}
// The command server settings, associated with messaging from an external source
message CommandServer {
// Server configuration (e.g., host, port, type)
mpi.v1.ServerSettings server = 1;
// Authentication configuration (e.g., token)
mpi.v1.AuthSettings auth = 2;
// TLS configuration for secure communication
mpi.v1.TLSSettings tls = 3;
}

// The metrics settings associated with origins (sources) of the metrics and destinations (exporter)
message MetricsServer {}
Expand Down
Loading

0 comments on commit bc04caa

Please sign in to comment.