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: make agent stats' cardinality configurable#12535

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
Merged
Changes from1 commit
Commits
Show all changes
22 commits
Select commitHold shift + click to select a range
975caa5
Initial implementation
dannykoppingMar 7, 2024
fcaebb3
Refactoring
dannykoppingMar 8, 2024
70102f8
Drive-by change to add delve to nix flake so ./scripts/develop.sh --d…
dannykoppingMar 8, 2024
e3bfa0d
Update deployment config
dannykoppingMar 8, 2024
92e538a
Linting
dannykoppingMar 8, 2024
fd19896
Control cardinality of coderd metrics as well
dannykoppingMar 8, 2024
a682843
Remove default value
dannykoppingMar 8, 2024
48b68ad
make fmt && make gen
dannykoppingMar 8, 2024
661f5c2
Appeasing CI
dannykoppingMar 8, 2024
7d3ded4
Appeasing CI, again...
dannykoppingMar 8, 2024
defcf74
...
dannykoppingMar 8, 2024
97f2bd1
Review comments & CI appeasement
dannykoppingMar 11, 2024
8f2c505
More review comments & CI appeasement
dannykoppingMar 11, 2024
c0896a7
Fixing lints
dannykoppingMar 11, 2024
c11dc61
chore(dogfood): update keys
johnstcnMar 11, 2024
cdd6734
Fix flaky label evaluation by sorting both sides
dannykoppingMar 11, 2024
06f2f87
Update node key
dannykoppingMar 11, 2024
3c1d016
Filter out unacceptable labels in AgentStats
dannykoppingMar 11, 2024
f8ebdf2
make fmt
dannykoppingMar 11, 2024
05e5cd0
Merge branch 'dk/configurable-cardinality' of github.com:dannykopping…
dannykoppingMar 12, 2024
b1ef0d6
Merge branch 'main' of github.com:/coder/coder into dk/configurable-c…
dannykoppingMar 12, 2024
a669411
Review comments
dannykoppingMar 12, 2024
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
make fmt
Signed-off-by: Danny Kopping <danny@coder.com>
  • Loading branch information
@dannykopping
dannykopping committedMar 11, 2024
commitf8ebdf2182ebf5aeaea5d0c1ce3bd15cf9e978e5
3 changes: 2 additions & 1 deletioncoderd/prometheusmetrics/prometheusmetrics_test.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,13 +5,14 @@ import (
"database/sql"
"encoding/json"
"fmt"
"github.com/coder/coder/v2/coderd/agentmetrics"
"os"
"reflect"
"sync/atomic"
"testing"
"time"

"github.com/coder/coder/v2/coderd/agentmetrics"

"github.com/coder/coder/v2/coderd/batchstats"
"github.com/coder/coder/v2/coderd/database/dbtestutil"
"github.com/coder/coder/v2/coderd/database/dbtime"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

nit: sorting?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Hhmm, I ranmake fmt and it didn't correct it so I think we have some things to fix in our CI. Will manually sort though 👍

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

goimports only ensures that imports are grouped, but doesn't handle merging multiple import groups from the same source. I recall thathttps://github.com/indeedeng/go-groups was built in anger to address this, but it has not been updated in a while.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Oh nice. I just ran it and it... changesa lot.
I'll raise a separate PR.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

It isextremely opinionated

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp