Monitor the Nomad events
and send all Nomad events to Influxdb.
This commit is contained in:
@@ -181,6 +181,9 @@ func (nc *nomadAPIClient) EventStream(ctx context.Context) (<-chan *nomadApi.Eve
|
||||
// As Poseidon uses no such token, the request will return a permission denied error.
|
||||
"*",
|
||||
},
|
||||
nomadApi.TopicJob: {"*"},
|
||||
nomadApi.TopicNode: {"*"},
|
||||
nomadApi.TopicDeployment: {"*"},
|
||||
},
|
||||
0,
|
||||
nc.queryOptions())
|
||||
|
Reference in New Issue
Block a user