Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): show cluster name on silences instead of each alertmanager #1827

Merged
merged 6 commits into from
Jun 13, 2020

Conversation

prymitive
Copy link
Owner

No description provided.

@prymitive
Copy link
Owner Author

prymitive commented Jun 13, 2020

Go benchmark diff

name                               old time/op        new time/op        delta
pkg:github.com/prymitive/karma/cmd/karma goos:linux goarch:amd64
Compress/Run-2                           5.06ms ± 1%        5.05ms ± 1%    ~     (p=0.103 n=19+19)
Decompress/Run-2                         3.45ms ± 1%        3.49ms ± 4%  +1.23%  (p=0.000 n=17+19)
CompressionAndDecompression/Run-2        8.67ms ± 1%        8.70ms ± 1%  +0.34%  (p=0.021 n=20+20)
PullAlerts/0.17.0-2                      5.55ms ± 1%        5.59ms ± 1%  +0.76%  (p=0.000 n=20+16)
AlertsAPIMisses/0.17.0-2                 1.27ms ± 1%        1.28ms ± 1%  +1.04%  (p=0.000 n=19+20)
AlertsAPIHits/0.17.0-2                    863µs ± 2%         867µs ± 1%  +0.47%  (p=0.021 n=19+20)
pkg:github.com/prymitive/karma/internal/alertmanager goos:linux goarch:amd64
DedupAlerts/Run-2                         125µs ± 1%         126µs ± 1%  +0.41%  (p=0.001 n=19+19)
DedupAutocomplete/Run-2                  81.7µs ± 1%        81.6µs ± 0%    ~     (p=0.639 n=20+18)
DedupColors/Run-2                        17.9µs ± 1%        17.9µs ± 0%  +0.23%  (p=0.002 n=20+18)

name                               old %/compression  new %/compression  delta
pkg:github.com/prymitive/karma/cmd/karma goos:linux goarch:amd64
Compress/Run-2                             0.04 ± 0%          0.04 ± 0%    ~     (all equal)

name                               old B/alloc        new B/alloc        delta
pkg:github.com/prymitive/karma/cmd/karma goos:linux goarch:amd64
Compress/Run-2                            4.88M ± 0%         4.88M ± 0%  +0.04%  (p=0.000 n=19+19)
Decompress/Run-2                          2.99M ± 0%         3.00M ± 0%    ~     (p=0.119 n=20+20)
CompressionAndDecompression/Run-2         4.89M ± 0%         4.89M ± 0%  +0.03%  (p=0.015 n=20+20)
PullAlerts/0.17.0-2                       2.95M ± 0%         2.95M ± 0%  +0.15%  (p=0.000 n=20+20)
AlertsAPIMisses/0.17.0-2                  3.35M ± 0%         3.35M ± 0%  +0.01%  (p=0.000 n=19+19)
AlertsAPIHits/0.17.0-2                    3.31M ± 0%         3.31M ± 0%  +0.01%  (p=0.000 n=18+18)

name                               old alloc/op       new alloc/op       delta
pkg:github.com/prymitive/karma/cmd/karma goos:linux goarch:amd64
Compress/Run-2                           1.13MB ± 0%        1.13MB ± 0%    ~     (all equal)
Decompress/Run-2                         4.24MB ± 0%        4.24MB ± 0%    ~     (p=0.349 n=19+20)
CompressionAndDecompression/Run-2        5.38MB ± 0%        5.38MB ± 0%  +0.00%  (p=0.000 n=16+20)
PullAlerts/0.17.0-2                      1.26MB ± 0%        1.26MB ± 0%    ~     (p=0.191 n=19+20)
AlertsAPIMisses/0.17.0-2                 1.29MB ± 0%        1.29MB ± 0%    ~     (p=0.820 n=20+20)
AlertsAPIHits/0.17.0-2                    311kB ± 1%         311kB ± 1%    ~     (p=0.713 n=20+20)
pkg:github.com/prymitive/karma/internal/alertmanager goos:linux goarch:amd64
DedupAlerts/Run-2                        75.9kB ± 0%        75.9kB ± 0%    ~     (p=0.695 n=20+20)
DedupAutocomplete/Run-2                  40.3kB ± 0%        40.3kB ± 0%    ~     (p=0.573 n=19+20)
DedupColors/Run-2                        6.28kB ± 0%        6.28kB ± 0%    ~     (all equal)

name                               old allocs/op      new allocs/op      delta
pkg:github.com/prymitive/karma/cmd/karma goos:linux goarch:amd64
Compress/Run-2                             31.0 ± 0%          31.0 ± 0%    ~     (all equal)
Decompress/Run-2                           80.0 ± 0%          80.0 ± 0%    ~     (all equal)
CompressionAndDecompression/Run-2           111 ± 0%           111 ± 0%    ~     (all equal)
PullAlerts/0.17.0-2                       22.4k ± 0%         22.4k ± 0%    ~     (all equal)
AlertsAPIMisses/0.17.0-2                  5.98k ± 0%         5.98k ± 0%    ~     (p=1.000 n=20+20)
AlertsAPIHits/0.17.0-2                    2.35k ± 0%         2.35k ± 0%    ~     (p=0.527 n=20+20)
pkg:github.com/prymitive/karma/internal/alertmanager goos:linux goarch:amd64
DedupAlerts/Run-2                           396 ± 0%           396 ± 0%    ~     (all equal)
DedupAutocomplete/Run-2                     131 ± 0%           131 ± 0%    ~     (all equal)
DedupColors/Run-2                          43.0 ± 0%          43.0 ± 0%    ~     (all equal)

@prymitive prymitive merged commit 2d9a8db into master Jun 13, 2020
@prymitive prymitive deleted the fix-clusters branch June 13, 2020 13:35
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant