feat: break month-to-date cost down by Application tag
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Read docs/recipes/README.md, then inspect src/aws/cost.rs, src/cache/cost.rs, and src/ui/views/cost_overview.rs as listed. First wait for issue #159 to merge, then follow the existing Cost Explorer and cache paths; unit test parsing of Application group keys, including empty values. Done when Cost Overview shows cached month-to-date costs by application and the README and changeset are updated.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Why
ADR 0007 in seamless-iac activates Application as a cost allocation tag. Cost Explorer can group by it, which answers "what does each product cost" directly. This is also the cost input for the Application view.
Steps
- Read
src/aws/cost.rsandsrc/cache/cost.rsfirst. Cost Explorer charges per request, so the result must go through the existing cost cache. - Add a
get_cost_and_usagecall grouped byTAGwith keyApplicationfor the current month. Values come back asApplication$<value>; strip the prefix, and show an empty value as(untagged). - Add a "By application" section to the Cost Overview view.
- Test the parsing of group keys, including the untagged case.
Where to look
src/aws/cost.rssrc/cache/cost.rssrc/ui/views/cost_overview.rs
Done when
- Cost Overview shows cost per application
- Result is cached
- Parsing tested
- README and changeset
-
cargo fmt --all,cargo clippy --all-targets -- -D warnings, andcargo test --allpass, with output pasted in the PR
Check against AWS
Optional. Unit tests are enough for this issue.
Blocked by
#159. Start this after that is merged.
Size: M. Read docs/recipes/README.md before starting.
- Lingua principale
- Rust
- Stelle
- 2
- Fork
- 0
- Merge medio
- 4h 8m
- PR unite (30g)
- 8
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di fells-code/seamless-glance
-
size: XS
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
fells-code/seamless-glance#166 ·
I maintainer di solito rispondono entro 1 giorno
-
size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
fells-code/seamless-glance#165 ·
I maintainer di solito rispondono entro 1 giorno
-
size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
fells-code/seamless-glance#164 ·
I maintainer di solito rispondono entro 1 giorno
-
size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
fells-code/seamless-glance#162 ·
I maintainer di solito rispondono entro 1 giorno
-
size: XS
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
fells-code/seamless-glance#158 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di fells-code/seamless-glance
Issue simili
-
crate: spate-kafka documentation priority: medium
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
balovess/aria2_rust#88 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Shell `yoyo <verb> <sub>` missing its required argument prints usage and exits 0: `config get`Apertaagent-self
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
yologdev/yoyo-evolve#1154 ·