-
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.
Signed-off-by: Raymond Zhao <raymond.zhao@datadoghq.com>
- Loading branch information
Showing
5 changed files
with
116 additions
and
3 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
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
44 changes: 44 additions & 0 deletions
44
lib/datadog-protos/proto/datadog/autodiscovery/autodiscovery.proto
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,44 @@ | ||
syntax = "proto3"; | ||
|
||
package datadog.autodiscovery; | ||
|
||
option go_package = "pkg/proto/pbgo/core"; // golang\ | ||
|
||
enum ConfigEventType { | ||
SCHEDULE = 0; | ||
UNSCHEDULE = 1; | ||
} | ||
|
||
message KubeNamespacedName { | ||
string name = 1; | ||
string namespace = 2; | ||
} | ||
|
||
message AdvancedADIdentifier { | ||
KubeNamespacedName kubeService = 1; | ||
KubeNamespacedName kubeEndpoints = 2; | ||
} | ||
|
||
message Config { | ||
string name = 1; | ||
repeated bytes instances = 2; | ||
bytes initConfig = 3; | ||
bytes metricConfig = 4; | ||
bytes logsConfig = 5; | ||
repeated string adIdentifiers = 6; | ||
repeated AdvancedADIdentifier advancedAdIdentifiers = 7; | ||
string provider = 8; | ||
string serviceId = 9; | ||
string taggerEntity = 10; | ||
bool clusterCheck = 11; | ||
string nodeName = 12; | ||
string source = 13; | ||
bool ignoreAutodiscoveryTags = 14; | ||
bool metricsExcluded = 15; | ||
bool logsExcluded = 16; | ||
ConfigEventType eventType = 17; | ||
} | ||
|
||
message AutodiscoveryStreamResponse { | ||
repeated Config configs = 1; | ||
} |
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
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