Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

cmd/scollector: Fix bug in AWS billing collector. - #2156

Merged
captncraig merged 1 commit into
bosun-monitor:masterfrom
mhenderson-so:AWSBugfix
Aug 31, 2017
Merged

cmd/scollector: Fix bug in AWS billing collector.#2156
captncraig merged 1 commit into
bosun-monitor:masterfrom
mhenderson-so:AWSBugfix

Conversation

@mhenderson-so

Copy link
Copy Markdown
Contributor

The billing collector did not correctly account for Route 53 zone billing
where the bill contains an empty zone name.

This fixes issue #2147

The billing collector did not correctly account for Route 53 zone billing
where the bill contains an empty zone name.

This fixes issue bosun-monitor#2147
@captncraig
captncraig merged commit 964118f into bosun-monitor:master Aug 31, 2017
@kylebrandt

Copy link
Copy Markdown
Member

This now results in errors because operation doesn't have a value. Maybe you can take another look @captncraig ?:

Sep 18 16:16:10 ny-bosun01.ds.stackexchange.com scollector[10591]: error: collectors.go:274: Invalid tagset discovered: {host=ny-bosun01,operation=,usagetype=USW2-Requests-Tier3}. Skipping datapoint. Added from: awsBilling.go:251
Sep 18 16:16:10 ny-bosun01.ds.stackexchange.com scollector[10591]: error: collectors.go:274: Invalid tagset discovered: {host=ny-bosun01,operation=,usagetype=USW2-Requests-Tier3}. Skipping datapoint. Added from: awsBilling.go:252
Sep 18 16:16:10 ny-bosun01.ds.stackexchange.com scollector[10591]: error: collectors.go:274: Invalid tagset discovered: {host=ny-bosun01,operation=,usagetype=USW2-Expedited-Retrieval-Bytes}. Skipping datapoint. Added from: awsBilling.go:251
Sep 18 16:16:10 ny-bosun01.ds.stackexchange.com scollector[10591]: error: collectors.go:274: Invalid tagset discovered: {host=ny-bosun01,operation=,usagetype=USW2-Expedited-Retrieval-Bytes}. Skipping datapoint. Added from: awsBilling.go:252

@mhenderson-so
mhenderson-so deleted the AWSBugfix branch September 22, 2017 15:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants