Skip to content

Commit

Permalink
Release 0.6.0 with new config
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspeitz committed Sep 20, 2018
1 parent 4ba4f79 commit aa512cb
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 23 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 0.6.0-alpha
# 0.6.0 / 0.6.0-alpha
* **BREAKING**: Period/length uses now seconds instead of minutes
* **BREAKING**: Config file uses new syntax to support static
* Support of --debug flag which outputs some dev debug informations
Expand Down
52 changes: 31 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ YACE is currently in quick iteration mode. Things will probably break in upcomin
* Filter monitored resources via regex
* Automatic adding of tag labels to metrics
* Allows to export 0 even if CloudWatch returns nil
* Supported services:
* Supported services with auto discovery through tags:
- es - ElasticSearch
- ec - ElastiCache
- ec2 - Elastic Compute Cloud
Expand All @@ -18,6 +18,7 @@ YACE is currently in quick iteration mode. Things will probably break in upcomin
- s3 - Object Storage
- efs - Elastic File System
- ebs - Elastic Block Storage
* Static metrics support for all cloudwatch metrics

## Image
* `quay.io/invisionag/yet-another-cloudwatch-exporter:x.x.x` e.g. 0.5.0
Expand All @@ -27,13 +28,12 @@ YACE is currently in quick iteration mode. Things will probably break in upcomin

Example of config File
```
jobs:
- discovery:
region: eu-west-1
type: "es"
searchTags:
- Key: type
Value: ^(easteregg|k8s)$
discovery:
- region: eu-west-1
type: "es"
searchTags:
- Key: type
Value: ^(easteregg|k8s)$
metrics:
- name: FreeStorageSpace
statistics:
Expand All @@ -55,12 +55,11 @@ jobs:
- 'Maximum'
period: 600
length: 60
- discovery:
type: "elb"
region: eu-west-1
searchTags:
- Key: KubernetesCluster
Value: production-19
- type: "elb"
region: eu-west-1
searchTags:
- Key: KubernetesCluster
Value: production-19
metrics:
- name: HealthyHostCount
statistics:
Expand All @@ -73,6 +72,18 @@ jobs:
period: 60
length: 900
nilToZero: true
static:
- namespace: AWS/AutoScaling
region: eu-west-1
dimensions:
- name: AutoScalingGroupName
value: Test
metrics:
- name: GroupInServiceInstances
statistics:
- 'Minimum'
period: 60
length: 300
```

## Metrics Examples
Expand Down Expand Up @@ -133,13 +144,12 @@ metadata:
data:
config.yml: |-
---
jobs:
- discovery:
region: eu-west-1
type: "ec2"
searchTags:
- Key: Name
Value: jenkins
discovery:
- region: eu-west-1
type: "ec2"
searchTags:
- Key: Name
Value: jenkins
metrics:
- name: CPUUtilization
statistics:
Expand Down
2 changes: 1 addition & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"os"
)

const yaceVersion = "0.6.0-alpha"
const yaceVersion = "0.6.0"

var (
addr = flag.String("listen-address", ":5000", "The address to listen on.")
Expand Down

0 comments on commit aa512cb

Please sign in to comment.