mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-26 07:55:50 +03:00
[PR #178] [MERGED] Cli overhaul: MetricServer #288
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#288
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Telmate/proxmox-api-go/pull/178
Author: @Tinyblargon
Created: 5/9/2022
Status: ✅ Merged
Merged: 5/10/2022
Merged by: @mleone87
Base:
master← Head:CLI-Overhaul📝 Commits (4)
371c810Add: set metricserver Command0292b0eAdd: get metricserver Command41a4cbcChanged how values are mapped to apica862ccIntegration Test: MetricServer📊 Changes
10 files changed (+830 additions, -11 deletions)
View changed files
➕
cli/command/get/get-metricserver.go(+17 -0)📝
cli/command/get/get.go(+2 -0)➕
cli/command/set/set-metricserver.go(+34 -0)📝
proxmox/config_metrics.go(+19 -11)➕
test/cli/MetricServers/MetricServer_Errors_test.go(+167 -0)➕
test/cli/MetricServers/MetricServer_Graphite_0_test.go(+107 -0)➕
test/cli/MetricServers/MetricServer_Graphite_1_test.go(+109 -0)➕
test/cli/MetricServers/MetricServer_InfluxDB_0_test.go(+134 -0)➕
test/cli/MetricServers/MetricServer_InfluxDB_1_test.go(+122 -0)➕
test/cli/MetricServers/MetricServer_InfluxDB_2_test.go(+119 -0)📄 Description
Another pull for #171
Work so far:
Made minor changes to how the metricserver feature maps the struct values to the api, as it had some unintended behavior and bugs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.