aws / aws/aws-sdk-java-v2

Support Cost Allocation Tags to PutMetricData

Offen
#2,108 2 Kommentare 4 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature-request p3 sdk-metrics service-api
Vorherrschende Sprache
Java
Sterne
2.6k
Forks
1k
Ø Merge
2 T. 9 Std.
Gemergte PRs (30 T.)
51

Beschreibung

Support Cost Allocation Tags to PutMetricData

## Describe the Feature
aws-sdk-java-v2 has a feature to send AWS CloudWatch Custom Metrics with CloudWatchMetricPublisher.

## Is your Feature Request related to a problem?
### Inter component problem
When I noticed an increased cost of PutMetricData on checking Cost Explorer, I cannot investigate what causes the cost.
What I can now is just ask "[at]here Are there people who know why PutMetricData" in our Slack...

### Between stages
When we have multiple stages like `production`, `staging`, and `development`, we need to grouping metrics count by stage. If we have tags we can use it but we don't have a way to distinguish the metrics between stages.

## Proposed Solution
aws-sdk-java-v2 supports Cost Allocation Tags on sending PutMetricData

## Describe alternatives you've considered

Output namespace of metrics in aws billing data.

- [ ] I may be able to implement this feature request

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, die Einstiegspunkte CloudWatchMetricPublisher und PutMetricData in aws-sdk-java-v2 zu lokalisieren, und vergleiche dann die bestehende Unterstützung des Java SDK mit dem vorgeschlagenen Verhalten für Cost Allocation Tags. Als abgeschlossen sollte gelten, dass benutzerdefinierte Metriken mit den angeforderten Tags gesendet werden können und das Verhalten durch die relevanten Tests abgedeckt ist, auch wenn das Issue keine bestimmten Dateien oder Tests nennt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
aws, java
Bereich
cloud, observability
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.