Skip to content

Commit

Permalink
Relase 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspeitz committed Nov 16, 2018
1 parent 74bcd94 commit c3b002e
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 7 deletions.
50 changes: 50 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,53 @@
# 0.9.0
* Add lambda support
* Fix support for listing multiple statistics per metric
* Add tag labels on metrics for easy querying
```
# Before
aws_ec2_cpuutilization_average + on (name) group_left(tag_Name) aws_ec2_info
# After, now name tags are on metrics and no grouping needed
aws_ec2_cpuutilization_average
```

* **BREAKING** Change config syntax. Now you can define tags which are exported as labels on metrics.
Before:

```yaml
discovery:
- region: eu-west-1
type: "es"
searchTags:
- Key: type
Value: ^(easteregg|k8s)$
metrics:
- name: FreeStorageSpace
statistics:
- 'Sum'
period: 600
length: 60
```
New Syntax with optional exportedTagsOnMetrics:
```yaml
discovery:
exportedTagsOnMetrics:
ec2:
- Name
jobs:
- region: eu-west-1
type: "es"
searchTags:
- Key: type
Value: ^(easteregg|k8s)$
metrics:
- name: FreeStorageSpace
statistics:
- 'Sum'
period: 600
length: 60
```
# 0.8.0
* Added VPN connection metrics
* Added ExtendedStatistics (percentiles)
Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +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
* Static metrics support for all cloudwatch metrics
* Supported services with auto discovery through tags:
- alb - Application Load Balancer
- ebs - Elastic Block Storage
Expand All @@ -21,7 +22,6 @@ YACE is currently in quick iteration mode. Things will probably break in upcomin
- rds - Relational Database Service
- s3 - Object Storage
- vpn - VPN connection
* 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 @@ -32,6 +32,10 @@ YACE is currently in quick iteration mode. Things will probably break in upcomin
Example of config File
```
discovery:
exportedTagsOnMetrics:
ec2:
- Name
jobs:
- region: eu-west-1
type: "es"
searchTags:
Expand Down Expand Up @@ -115,10 +119,8 @@ static:

## Metrics Examples
```
### Metrics
aws_ec2_cpuutilization_maximum{name="arn:aws:ec2:eu-west-1:472724724:instance/i-someid"} 57.2916666666667
aws_elb_healthyhostcount_minimum{name="arn:aws:elasticloadbalancing:eu-west-1:472724724:loadbalancer/a815b16g3417211e7738a02fcc13bbf9"} 9
aws_elb_httpcode_backend_4xx_sum{name="arn:aws:elasticloadbalancing:eu-west-1:472724724:loadbalancer/a815b16g3417211e7738a02fcc13bbf9"} 1
### Metrics with exportedTagsOnMetrics
aws_ec2_cpuutilization_maximum{name="arn:aws:ec2:eu-west-1:472724724:instance/i-someid", tag_Name="jenkins"} 57.2916666666667
### Info helper with tags
aws_elb_info{name="arn:aws:elasticloadbalancing:eu-west-1:472724724:loadbalancer/a815b16g3417211e7738a02fcc13bbf9",tag_KubernetesCluster="production-19",tag_Name="",tag_kubernetes_io_cluster_production_19="owned",tag_kubernetes_io_service_name="nginx-ingress/private-ext"} 0
Expand All @@ -128,7 +130,7 @@ aws_ec2_info{name="arn:aws:ec2:eu-west-1:472724724:instance/i-someid",tag_Name="
yace_cloudwatch_requests_total 168
```

## Query Examples
## Query Examples without exportedTagsOnMetrics

```
# CPUUtilization + Name tag of the instance id - No more instance id needed for monitoring
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.8.0"
const yaceVersion = "0.9.0"

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

0 comments on commit c3b002e

Please sign in to comment.