Commit graph

26 commits

Author SHA1 Message Date
Jan Henkel
c0158b23c4 fix: use new fields for traffic pricing 2024-07-25 20:59:46 +02:00
Jan Henkel
04826e589a feat: paginate hcloud requests 2024-01-17 20:19:21 +01:00
Jan Henkel
0a0204f07f chore: upgrade to v2 of the Hetzner SDK 2024-01-17 17:49:34 +01:00
Jan Graefen
0e6fbf496b chore: Add tests for new additional labels feature 2023-01-25 21:23:54 +01:00
Rikard Gynnerstedt
fca0b5f77b
Add additional labels flag (#48)
* added additional tags flag

* move additional labels to base fetcher

* find label function instead of jump label

* bugfix to labels not correctly set when -additional-labels flag not present

* check for more than 0, instead of 1
2023-01-25 20:24:33 +01:00
Jan Gräfen
954c98f013
feat: Add type label for IPs (#41)
* feat: Add type label for IPs
* Fix tests
2022-12-29 15:58:04 +01:00
Nils
ce48c3f951
fix: Adjust for new primary ip pricing format and ignore v6 (#40) 2022-12-29 14:45:14 +01:00
Jan Gräfen
7ae251751f
chore: Add test suite draft for most of the fetchers (#42)
* Add test suite draft for most of the fetchers
* Make the tests passing
* Suppress code duplication warning
* Add tests to actions
* Add hcloud token to test action
* Move test files to own folder
* Rename tests to e2e tests
* Fix wrong type guard
2022-12-29 00:56:37 +01:00
Jan Graefen
268d1f9f57 Fix constructor for primary IP collector 2022-12-14 15:37:54 +01:00
Jan Graefen
8df2d29893 Fix line endings 2022-12-14 15:36:50 +01:00
Jan Graefen
05dc439f7f Add support for primary IPs 2022-12-14 15:29:15 +01:00
Jan Gräfen
6aae8286f5 Update floating IP pricing logic 2021-08-24 12:16:03 +02:00
Jan Gräfen
8a4e908cd2 Calculate correct backup price percentage 2021-05-31 12:51:50 +02:00
Jan Gräfen
c812bce0df Reset metrics to prevent deleted resources showing up 2021-03-13 23:40:18 +01:00
Jan Gräfen
3ad670aec4 Add load balancer traffic pricing 2021-03-12 16:39:03 +01:00
Jan Gräfen
905ec07a30 Upgrad hcloud dependency to use volume pricing from the API 2021-03-11 13:08:24 +01:00
Jan Gräfen
0781f18940 Fix wrong version conversions 2021-03-07 00:40:07 +01:00
Jan Gräfen
7ec0c8282c Write default value for backups 2021-03-07 00:20:46 +01:00
Jan Gräfen
9362d02aeb Fix volume pricing 2021-03-07 00:03:36 +01:00
Jan Gräfen
2b456762e6 Fix wrong labels for server metric 2021-03-06 19:11:57 +01:00
Jan Gräfen
0e83f7a8d1 Fix invalid price finding based on ID 2021-03-06 12:20:10 +01:00
Jan Gräfen
11cb5dc150 Improve error message for missing pricings 2021-03-06 12:10:22 +01:00
Jan Gräfen
f92d993002 Fix build target and linting issues 2021-03-05 21:02:07 +01:00
Jan Gräfen
816a6d02fc Add price provider 2021-03-05 20:28:17 +01:00
Jan Gräfen
de4833ebe1 Add documentation 2021-03-05 19:53:37 +01:00
Jan Gräfen
400239ba34 Initial code base 2021-03-05 19:47:23 +01:00