forked from logrhythm/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request elastic#395 from Tom-Artale/vitals-config
Vitals config
- Loading branch information
Showing
2 changed files
with
94 additions
and
0 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,46 @@ | ||
package configelements; | ||
|
||
option java_package = "com.logrhythm.configelements"; | ||
option java_outer_classname = "VitalsConfigMsg"; | ||
|
||
|
||
|
||
|
||
message VitalsConfig { | ||
message DBConf { | ||
message ShardSpec { | ||
optional string shardSpaceName = 1; | ||
optional string regex = 2; | ||
optional string retentionPolicy = 3; | ||
optional string shardDuration = 4; | ||
} | ||
|
||
optional string host = 1; | ||
optional string db = 2; | ||
optional string user = 3; | ||
optional string pass = 4; | ||
optional ShardSpec shardSpec = 5; | ||
} | ||
|
||
message Pulse { | ||
optional string name = 1; | ||
optional int32 port = 2; | ||
optional string url = 3; | ||
} | ||
|
||
message AccumulatorConf { | ||
message UrlPortPair { | ||
optional string url = 1; | ||
optional int32 port = 2; | ||
} | ||
|
||
optional string region = 1; | ||
optional UrlPortPair zmqVamp = 2; | ||
optional UrlPortPair sendTo = 3; | ||
} | ||
|
||
optional DBConf dbConf = 1; | ||
repeated Pulse pulse = 2; | ||
optional AccumulatorConf accumulatorConf = 3; | ||
|
||
} |
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,48 @@ | ||
package configelements.ux; | ||
|
||
import "ConfigUX.proto"; | ||
|
||
option java_package = "com.logrhythm.configelements.ux"; | ||
option java_outer_classname = "VitalsConfigUXMsg"; | ||
|
||
|
||
|
||
|
||
message VitalsConfigUX { | ||
message DBConf { | ||
message ShardSpec { | ||
optional ConfigUX shardSpaceName = 1; | ||
optional ConfigUX regex = 2; | ||
optional ConfigUX retentionPolicy = 3; | ||
optional ConfigUX shardDuration = 4; | ||
} | ||
|
||
optional ConfigUX host = 1; | ||
optional ConfigUX db = 2; | ||
optional ConfigUX user = 3; | ||
optional ConfigUX pass = 4; | ||
optional ShardSpec shardSpec = 5; | ||
} | ||
|
||
message Pulse { | ||
optional ConfigUX name = 1; | ||
optional ConfigUX port = 2; | ||
optional ConfigUX url = 3; | ||
} | ||
|
||
message AccumulatorConf { | ||
message UrlPortPair { | ||
optional ConfigUX url = 1; | ||
optional ConfigUX port = 2; | ||
} | ||
|
||
optional ConfigUX region = 1; | ||
optional UrlPortPair zmqVamp = 2; | ||
optional UrlPortPair sendTo = 3; | ||
} | ||
|
||
optional DBConf dbConf = 1; | ||
repeated Pulse pulse = 2; | ||
optional AccumulatorConf accumulatorConf = 3; | ||
|
||
} |