Skip to content

Commit f7617dd

Browse files
committed
Remove resource type and name from monitoring
1 parent 8886588 commit f7617dd

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

coderd/monitoring/monitoring.go

-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ func New(ctx context.Context, options *Options) *Monitor {
104104
Name: "workspace_resources",
105105
Help: "The workspace resources in a Coder deployment.",
106106
}, []string{
107-
"workspace_resource_id",
108-
"workspace_resource_name",
109107
"workspace_resource_type",
110108
}),
111109
},

coderd/monitoring/monitoring_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ func TestMonitoring(t *testing.T) {
127127
name: "coder_workspace_resources",
128128
total: 2,
129129
labels: []labels{
130-
{name: "workspace_resource_name", value: "banana2"},
131-
{name: "workspace_resource_name", value: "banana3"},
130+
{name: "workspace_resource_type", value: "google_compute_instance"},
132131
},
133132
},
134133
}

0 commit comments

Comments
 (0)