Skip to content

Commit

Permalink
remove unused types
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Jan 2, 2025
1 parent 09570e7 commit 71fa422
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions api/metrics/prometheus_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,6 @@ func getPrometheusQueries(appName, envName, componentName, duration, since strin
return queries
}

type ResourceCategory struct {
Memory prometheusModel.SampleValue
Cpu prometheusModel.SampleValue
}

type Containers struct {
Requests ResourceCategory
Replicas map[string]ResourceCategory
}

func (c *client) GetMetricsByPod(ctx context.Context, appName, envName, duration string) (map[internal.QueryName][]QueryVectorResult, error) {
namespace := ".*"
if envName != "" {
Expand Down

0 comments on commit 71fa422

Please sign in to comment.