-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Experimental autodiscovery provider for AWS ELBs. (cherry picked from commit 2c85c97)
- Loading branch information
Showing
64 changed files
with
8,475 additions
and
16 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,27 @@ | ||
{beatname_uc} supports templates for modules: | ||
|
||
["source","yaml",subs="attributes"] | ||
------------------------------------------------------------------------------------- | ||
heartbeat.autodiscover: | ||
providers: | ||
- type: aws_elb | ||
period: 1m | ||
regions: ["us-east-1", "us-east-2"] | ||
# If you don't wish to use env vars or shared credentials files explicitly put credentials here. | ||
#access_key_id: my-access-key | ||
#secret_access_key: my-secret-access-key | ||
#session_token: my-session-token | ||
templates: | ||
- condition: | ||
equals.port: 8080 | ||
config: | ||
- type: tcp | ||
hosts: ["${data.host}:${data.port}"] | ||
schedule: "@every 5s" | ||
timeout: 1s | ||
------------------------------------------------------------------------------------- | ||
|
||
This configuration launches a `tcp` monitor for all ELBs that have a declared port. | ||
|
||
This autodiscover provider takes our standard AWS credentials options. | ||
|
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
79 changes: 79 additions & 0 deletions
79
vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/api_client.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
76 changes: 76 additions & 0 deletions
76
vendor/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2/api_doc.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.