Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(coderd): export metric indicating each experiment's status#12657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
dannykopping merged 5 commits intocoder:mainfromdannykopping:dk/experiments-prom
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Test metric name
Signed-off-by: Danny Kopping <danny@coder.com>
  • Loading branch information
@dannykopping
dannykopping committedMar 19, 2024
commitc93e4e23c5a5c847a5691fc7dda7eb4d2dec931e
3 changes: 2 additions & 1 deletioncli/cliui/provisionerjob_test.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,9 +11,10 @@ import (
"testing"
"time"

"github.com/coder/coder/v2/testutil"
"github.com/stretchr/testify/assert"

"github.com/coder/coder/v2/testutil"

"github.com/coder/coder/v2/cli/cliui"
"github.com/coder/coder/v2/coderd/database/dbtime"
"github.com/coder/coder/v2/codersdk"
Expand Down
2 changes: 2 additions & 0 deletionscoderd/prometheusmetrics/prometheusmetrics_test.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -525,6 +525,8 @@ func TestExperimentsMetric(t *testing.T) {
require.Lenf(t, out, 1, "unexpected number of registered metrics")

for _, metric := range out[0].GetMetric() {
require.Equal(t, "coderd_experiments", out[0].GetName())

labels := metric.GetLabel()
require.Lenf(t, labels, 1, "unexpected number of labels")

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp