grafana / cloudcost-exporter

Prometheus Exporter for Cloud Provider agnostic cost metrics
Apache License 2.0
66 stars 4 forks source link

chore: Rename reduntant methods and structs #22

Closed Pokom closed 11 months ago

Pokom commented 11 months ago

One thing that's nagged me is the provider + collectors have reduntant method names. IE, aws.NewAWS or s3.NewCollector. This refactors them to be aws.New and s3.New.

Also refactors collector package to provider as it's a more apt description.