You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title says, we could parse the given URLs and infer which beat to run. For example:
postgres://example.com/database - would run a postgres beat with a default query (SELECT 1, as the post on Extract beats and notifiers modules. #3 suggests);
mongodb://example.com/database - would run a mongodb beat with a query similar to postgres';
http://example.com - would run a GET;
This could also simplify the config, as we could simply have something along these lines:
{
"database": "mongodb://example.com/database",
"my-microservice": "http://example.com",
// And if you'd like to specify the beat, like a ping instead of a GET, you could do:
"my-microservice2": { "beat": "ping", "target": "http://example2.com" },
…
}
As the title says, we could parse the given URLs and infer which beat to run. For example:
postgres://example.com/database- would run a postgres beat with a default query (SELECT 1, as the post on Extract beats and notifiers modules. #3 suggests);mongodb://example.com/database- would run a mongodb beat with a query similar to postgres';http://example.com- would run a GET;This could also simplify the config, as we could simply have something along these lines: