-
Notifications
You must be signed in to change notification settings - Fork 814
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
varnish: allow multiple instances (fixes #490)
- Loading branch information
Carlo Cabanilla
committed
Dec 23, 2013
1 parent
6a4b855
commit 0020988
Showing
2 changed files
with
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
init_config: | ||
|
||
instances: | ||
- varnishstat: /usr/bin/varnishstat | ||
# tags: | ||
# - instance:production | ||
# - varnishstat: (required) String path to varnishstat binary | ||
# name: (optional) String name of varnish instance. Passed to the -n parameter of varnishstat. Will also tag each metric with this name. | ||
# tags: (optional) Additional tags to tag each metric with | ||
# | ||
# Example: | ||
# | ||
- varnishstat: /usr/bin/varnishstat | ||
name: myvarnishinstance | ||
tags: | ||
- instance:production |
You should avoid tags called "name" as it's pretty confusing and will collide with EC2 tags.