-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
464 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
syntax = "proto3"; | ||
|
||
package temporal.api.cloud.account.v1; | ||
|
||
option go_package = "go.temporal.io/api/cloud/account/v1;account"; | ||
|
||
message MetricsSpec { | ||
// Enables the endpoint from which clients can scrape all their namespace metrics. | ||
bool enabled = 1; | ||
// The base64 encoded ca cert(s) in PEM format that clients connecting to the metrics endpoint can use for authentication. | ||
// This must only be one value, but the CA can have a chain. | ||
string accepted_client_ca = 2; | ||
} | ||
|
||
message AccountSpec { | ||
// The metrics specification for this account. | ||
MetricsSpec metrics = 1; | ||
} | ||
|
||
message Metrics { | ||
// The prometheus metrics endpoint uri. | ||
// This is only populated when the metrics is enabled in the metrics specification. | ||
string uri = 1; | ||
} | ||
|
||
message Account { | ||
// The current version of the account specification. | ||
// The next update operation will have to include this version. | ||
string resource_version = 1; | ||
// The current state of the account. | ||
string state = 2; | ||
// The id of the async operation that is updating the account, if any. | ||
string async_operation_id = 3; | ||
// Information related to metrics. | ||
Metrics metrics = 4; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.