mirror of
https://github.com/prymitive/karma
synced 2026-02-13 20:59:53 +00:00
Merge pull request #1 from prymitive/owners
Revert "Remove myself from CODEOWNERS"
This commit is contained in:
@@ -66,18 +66,18 @@ jobs:
|
||||
- tar -xf bakelite.tar.gz
|
||||
# and now compile using bakelite for all target archs
|
||||
- export SOURCE_DATE_EPOCH=$(git show -s --format=%ci ${TRAVIS_TAG:-${TRAVIS_COMMIT}}^{commit})
|
||||
- ./bakelite-${BAKELITE_OS}-${BAKELITE_ARCH} -platforms="-plan9" -ldflags="-X main.version=\"$(make show-version)\"" github.com/cloudflare/unsee
|
||||
- ./bakelite-${BAKELITE_OS}-${BAKELITE_ARCH} -platforms="-plan9" -ldflags="-X main.version=\"$(make show-version)\"" github.com/prymitive/unsee
|
||||
- for i in unsee-*; do tar --mtime="${SOURCE_DATE_EPOCH}" --owner=0 --group=0 --numeric-owner -c $i | gzip -n - > $i.tar.gz; done
|
||||
- shasum -a 512 unsee-*.tar.gz | tee sha512sum.txt
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key:
|
||||
secure: 0vwQFykHkkfQ0pTsqHF6JLgMzAMxW7aQ6xc7P8tvawEgvKNOm1DS+hVNcb5fT9c5njV1+SQw12yv63WIXBthSiQp2VXDkUHhfCtthKklcLcloojr5avrQ43pwPSI8ViczRUb86ZLRTE+VfLgKaqeq/wpnDdeIXZ6YgM5vfgLPXjQvoRNKz3xGldHdSPsl/ar4/2Emvyk2pyenv0kMMd7Q6r7H5H3y03AdhmSQ1QTnOuaxkIimsBCakSTC3GqA+Z/SHZry2CD4u6Qb4XOpMlenAXEAiSKviSN9npmFV8kutl5BwRdCwzqGaeTGANWpSev43Ucneh6aMxSiIVOhMb8JO4ahXCF4effgipgnW5RJS8skMQW4WLvZtQ5ZFT6rAegFaECLhntl9z38V/FNdqiVU0LatIVZ8Wd3Jnug/Q+zkKwTHfMyqpLQ8ff39Qxi1vlhNQZJUrFrUonX9gf1mLOz3wBavvaUJJ8DZdH2ZRU4H05m7ARQ11uSS6U6q8DjhdpdTVi+ZLr6z/S2SkjtaNAl8CVSHAgTo6vX/kI68X63WjmtX+pll4bNfEt+UXsDw5RwTlKhhZ30KPB1tPY70hhTzBPLwKtH9OG6t5WhJr/93usTuuNQmXyayEIbFAnghIK0qSnCOl54izH4H5YYU4v1zDt5CrMq7cszk3TF91naIU=
|
||||
secure: P0xobtDkFWfzTm6UF2OTrXicmzykk7Tnm9p3gb70DORlkbGzM+/kVNe0aYWcZrubbSi2Ld41EWifDGKOgqFi8GZYULaXanMbGHX82rElMLryhUaagXmgS1adlwhsT6Dc9bBkJnQ7ezRy5hvuzli+rXoeLO3uE8aRpf05s+CDMyVneE/vURvAxfiuMiIL+aI1Le54N8vHENaxmP8xRt9NwKt2D+fErF3isSLdS6tkW7BrsImVKIjebvG+bUnZyVjvGHokBlQFRD2W8M87frkLDYmsK2w9DCpNiyUGYQoKqqQKysswTexfrlObyGadMgb3G7BQM/8v+jlag7b/4v+EJ2AIppSXzeY1Jj8IrKqkscGihmgbJABhKp5A8VgnoCiGm5mXPuhp7A7gFtuLpR3FWpx1Xe7hbVw6bjmDRoYyRasZ0uCcsWPy/nShWFyahKSzaxdNQs1aGAWgVD6t+/EvGG5+tl1ThUm9+uw7E8FIiKe9M2mGiu5JK5mBSN4Drw4+wz+s2IfiLF3I/UVZqD7PBetHW1uv2hnlth7sIjsCkPCC/Myis99zjiR3C74rdxr99/ux/BKjH44Fm1HL2qakUcbytE0YaMppebHm35oB1kBX5RBFjXGZYtkvS+BTpUncl1IEXxuaorA8nNEv3fqH/UgpzmKIqiaryPehezYYFCI=
|
||||
skip_cleanup: true
|
||||
file_glob: true
|
||||
file:
|
||||
- unsee-*.tar.gz
|
||||
- sha512sum.txt
|
||||
on:
|
||||
repo: cloudflare/unsee
|
||||
repo: prymitive/unsee
|
||||
tags: true
|
||||
|
||||
@@ -4,12 +4,12 @@ COPY . /unsee
|
||||
RUN make -C /unsee webpack
|
||||
|
||||
FROM golang:1.10.1-alpine as go-builder
|
||||
COPY --from=nodejs-builder /unsee /go/src/github.com/cloudflare/unsee
|
||||
COPY --from=nodejs-builder /unsee /go/src/github.com/prymitive/unsee
|
||||
ARG VERSION
|
||||
RUN apk add --update make git
|
||||
RUN CGO_ENABLED=0 make -C /go/src/github.com/cloudflare/unsee VERSION="${VERSION:-dev}" unsee
|
||||
RUN CGO_ENABLED=0 make -C /go/src/github.com/prymitive/unsee VERSION="${VERSION:-dev}" unsee
|
||||
|
||||
FROM gcr.io/distroless/base
|
||||
COPY --from=go-builder /go/src/github.com/cloudflare/unsee/unsee /unsee
|
||||
COPY --from=go-builder /go/src/github.com/prymitive/unsee/unsee /unsee
|
||||
EXPOSE 8080
|
||||
CMD ["/unsee"]
|
||||
|
||||
18
README.md
18
README.md
@@ -14,7 +14,7 @@ on those tags.
|
||||

|
||||
|
||||
To get notifications about new unsee releases you can subscribe to the RSS feed
|
||||
that [GitHub provides](https://github.com/cloudflare/unsee/releases.atom)
|
||||
that [GitHub provides](https://github.com/prymitive/unsee/releases.atom)
|
||||
To get email notifications please use one of the free services providing
|
||||
_RSS to email_ notifications, like [Blogtrottr](https://blogtrottr.com/).
|
||||
|
||||
@@ -50,8 +50,8 @@ used.
|
||||
|
||||
To clone git repo and build the binary yourself run:
|
||||
|
||||
git clone https://github.com/cloudflare/unsee $GOPATH/src/github.com/cloudflare/unsee
|
||||
cd $GOPATH/src/github.com/cloudflare/unsee
|
||||
git clone https://github.com/prymitive/unsee $GOPATH/src/github.com/prymitive/unsee
|
||||
cd $GOPATH/src/github.com/prymitive/unsee
|
||||
|
||||
To finally compile `unsee` the binary run:
|
||||
|
||||
@@ -88,25 +88,25 @@ variables. Example:
|
||||
### Running pre-build docker image
|
||||
|
||||
Official docker images are built and hosted on
|
||||
[hub.docker.com](https://hub.docker.com/r/cloudflare/unsee/).
|
||||
[hub.docker.com](https://hub.docker.com/r/prymitive/unsee/).
|
||||
|
||||
Images are built automatically for:
|
||||
|
||||
* release tags in git - `cloudflare/unsee:vX.Y.Z`
|
||||
* master branch commits - `cloudflare/unsee:latest`
|
||||
* release tags in git - `prymitive/unsee:vX.Y.Z`
|
||||
* master branch commits - `prymitive/unsee:latest`
|
||||
|
||||
#### Examples
|
||||
|
||||
To start a release image run:
|
||||
|
||||
docker run -e ALERTMANAGER_URI=https://alertmanager.example.com cloudflare/unsee:vX.Y.Z
|
||||
docker run -e ALERTMANAGER_URI=https://alertmanager.example.com prymitive/unsee:vX.Y.Z
|
||||
|
||||
Latest release details can be found on
|
||||
[GitHub](https://github.com/cloudflare/unsee/releases).
|
||||
[GitHub](https://github.com/prymitive/unsee/releases).
|
||||
|
||||
To start docker image build from lastet master branch run:
|
||||
|
||||
docker run -e ALERTMANAGER_URI=https://alertmanager.example.com cloudflare/unsee:latest
|
||||
docker run -e ALERTMANAGER_URI=https://alertmanager.example.com prymitive/unsee:latest
|
||||
|
||||
Note that latest master branch might have bugs or breaking changes. Using
|
||||
release images is strongly recommended for any production use.
|
||||
|
||||
@@ -3,9 +3,9 @@ package main
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/alertmanager"
|
||||
"github.com/cloudflare/unsee/internal/filters"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/alertmanager"
|
||||
"github.com/prymitive/unsee/internal/filters"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
func getFiltersFromQuery(filterString string) ([]filters.FilterT, bool) {
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/blang/semver"
|
||||
"github.com/cloudflare/unsee/internal/mock"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/mock"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
type groupTest struct {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# CODEOWNERS file lists people and teams responsible for code in this
|
||||
# repository.
|
||||
# See https://help.github.com/articles/about-codeowners/ for details.
|
||||
|
||||
* @prymitive
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/alertmanager"
|
||||
"github.com/cloudflare/unsee/internal/config"
|
||||
"github.com/prymitive/unsee/internal/alertmanager"
|
||||
"github.com/prymitive/unsee/internal/config"
|
||||
)
|
||||
|
||||
func BenchmarkDedupAlerts(b *testing.B) {
|
||||
|
||||
@@ -3,10 +3,10 @@ package alertmanager
|
||||
import (
|
||||
"sort"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/config"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/slices"
|
||||
"github.com/cloudflare/unsee/internal/transform"
|
||||
"github.com/prymitive/unsee/internal/config"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/slices"
|
||||
"github.com/prymitive/unsee/internal/transform"
|
||||
)
|
||||
|
||||
// DedupAlerts will collect alert groups from all defined Alertmanager
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/alertmanager"
|
||||
"github.com/cloudflare/unsee/internal/config"
|
||||
"github.com/cloudflare/unsee/internal/mock"
|
||||
"github.com/prymitive/unsee/internal/alertmanager"
|
||||
"github.com/prymitive/unsee/internal/config"
|
||||
"github.com/prymitive/unsee/internal/mock"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package alertmanager
|
||||
|
||||
import (
|
||||
"github.com/cloudflare/unsee/internal/mapper"
|
||||
"github.com/cloudflare/unsee/internal/mapper/v04"
|
||||
"github.com/cloudflare/unsee/internal/mapper/v05"
|
||||
"github.com/cloudflare/unsee/internal/mapper/v061"
|
||||
"github.com/cloudflare/unsee/internal/mapper/v062"
|
||||
"github.com/prymitive/unsee/internal/mapper"
|
||||
"github.com/prymitive/unsee/internal/mapper/v04"
|
||||
"github.com/prymitive/unsee/internal/mapper/v05"
|
||||
"github.com/prymitive/unsee/internal/mapper/v061"
|
||||
"github.com/prymitive/unsee/internal/mapper/v062"
|
||||
)
|
||||
|
||||
// initialize all mappers
|
||||
|
||||
@@ -10,11 +10,11 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/config"
|
||||
"github.com/cloudflare/unsee/internal/mapper"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/transform"
|
||||
"github.com/cloudflare/unsee/internal/uri"
|
||||
"github.com/prymitive/unsee/internal/config"
|
||||
"github.com/prymitive/unsee/internal/mapper"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/transform"
|
||||
"github.com/prymitive/unsee/internal/uri"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/uri"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/uri"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/uri"
|
||||
"github.com/prymitive/unsee/internal/uri"
|
||||
"github.com/spf13/pflag"
|
||||
"github.com/spf13/viper"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/uri"
|
||||
"github.com/prymitive/unsee/internal/uri"
|
||||
"github.com/pmezard/go-difflib/difflib"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package filters
|
||||
|
||||
import (
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
type autocompleteFactory func(name string, operators []string, alerts []models.Alert) []models.Autocomplete
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"regexp"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/slices"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/slices"
|
||||
)
|
||||
|
||||
// FilterT provides methods for interacting with alert filters
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
type ageFilter struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
type alertmanagerInstanceFilter struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"regexp"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
type fuzzyFilter struct {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
type labelFilter struct {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
type limitFilter struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
type receiverFilter struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
type silenceAuthorFilter struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
type silenceJiraFilter struct {
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/slices"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/slices"
|
||||
)
|
||||
|
||||
type stateFilter struct {
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/alertmanager"
|
||||
"github.com/cloudflare/unsee/internal/filters"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/alertmanager"
|
||||
"github.com/prymitive/unsee/internal/filters"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -13,9 +13,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/blang/semver"
|
||||
"github.com/cloudflare/unsee/internal/mapper"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/uri"
|
||||
"github.com/prymitive/unsee/internal/mapper"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/uri"
|
||||
)
|
||||
|
||||
type alert struct {
|
||||
|
||||
@@ -14,9 +14,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/blang/semver"
|
||||
"github.com/cloudflare/unsee/internal/mapper"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/uri"
|
||||
"github.com/prymitive/unsee/internal/mapper"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/uri"
|
||||
)
|
||||
|
||||
// Alertmanager 0.4 silence format
|
||||
|
||||
@@ -12,9 +12,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/blang/semver"
|
||||
"github.com/cloudflare/unsee/internal/mapper"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/uri"
|
||||
"github.com/prymitive/unsee/internal/mapper"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/uri"
|
||||
)
|
||||
|
||||
type alert struct {
|
||||
|
||||
@@ -11,9 +11,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/blang/semver"
|
||||
"github.com/cloudflare/unsee/internal/mapper"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/uri"
|
||||
"github.com/prymitive/unsee/internal/mapper"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/uri"
|
||||
)
|
||||
|
||||
type silence struct {
|
||||
|
||||
@@ -13,9 +13,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/blang/semver"
|
||||
"github.com/cloudflare/unsee/internal/mapper"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/uri"
|
||||
"github.com/prymitive/unsee/internal/mapper"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/uri"
|
||||
)
|
||||
|
||||
type alert struct {
|
||||
|
||||
@@ -13,9 +13,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/blang/semver"
|
||||
"github.com/cloudflare/unsee/internal/mapper"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/uri"
|
||||
"github.com/prymitive/unsee/internal/mapper"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/uri"
|
||||
)
|
||||
|
||||
type alertStatus struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
type alertStateTest struct {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
type alertListSortTest struct {
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"net/url"
|
||||
"sort"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/config"
|
||||
"github.com/cloudflare/unsee/internal/slices"
|
||||
"github.com/prymitive/unsee/internal/config"
|
||||
"github.com/prymitive/unsee/internal/slices"
|
||||
)
|
||||
|
||||
// Annotation extends Alertmanager scheme of key:value with additional data
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
type annotationMapsTestCase struct {
|
||||
|
||||
@@ -3,7 +3,7 @@ package slices_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/slices"
|
||||
"github.com/prymitive/unsee/internal/slices"
|
||||
)
|
||||
|
||||
type stringSliceTest struct {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package transform
|
||||
|
||||
import (
|
||||
"github.com/cloudflare/unsee/internal/filters"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/filters"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
// BuildAutocomplete takes an alert object and generates list of autocomplete
|
||||
|
||||
@@ -3,9 +3,9 @@ package transform_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/config"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/transform"
|
||||
"github.com/prymitive/unsee/internal/config"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/transform"
|
||||
)
|
||||
|
||||
type colorTest struct {
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
"io"
|
||||
"math/rand"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/config"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/slices"
|
||||
"github.com/prymitive/unsee/internal/config"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/slices"
|
||||
|
||||
"github.com/hansrodtang/randomcolor"
|
||||
)
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"log"
|
||||
"regexp"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
)
|
||||
|
||||
type jiraDetectRule struct {
|
||||
|
||||
@@ -3,8 +3,8 @@ package transform_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/transform"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/transform"
|
||||
)
|
||||
|
||||
type jiraTest struct {
|
||||
|
||||
@@ -3,7 +3,7 @@ package transform
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/slices"
|
||||
"github.com/prymitive/unsee/internal/slices"
|
||||
)
|
||||
|
||||
// StripLables allows filtering out some labels from alerts
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/transform"
|
||||
"github.com/prymitive/unsee/internal/transform"
|
||||
)
|
||||
|
||||
type stripLabelTest struct {
|
||||
|
||||
@@ -11,8 +11,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/mock"
|
||||
"github.com/cloudflare/unsee/internal/uri"
|
||||
"github.com/prymitive/unsee/internal/mock"
|
||||
"github.com/prymitive/unsee/internal/uri"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
@@ -3,7 +3,7 @@ package uri_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/uri"
|
||||
"github.com/prymitive/unsee/internal/uri"
|
||||
)
|
||||
|
||||
type joinURLTest struct {
|
||||
|
||||
8
main.go
8
main.go
@@ -8,10 +8,10 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/alertmanager"
|
||||
"github.com/cloudflare/unsee/internal/config"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/transform"
|
||||
"github.com/prymitive/unsee/internal/alertmanager"
|
||||
"github.com/prymitive/unsee/internal/config"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/transform"
|
||||
"github.com/spf13/pflag"
|
||||
|
||||
"github.com/DeanThompson/ginpprof"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"license": "Apache-2.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/cloudflare/unsee.git"
|
||||
"url": "https://github.com/prymitive/unsee.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
|
||||
4
proxy.go
4
proxy.go
@@ -6,8 +6,8 @@ import (
|
||||
"net/http/httputil"
|
||||
"net/url"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/alertmanager"
|
||||
"github.com/cloudflare/unsee/internal/config"
|
||||
"github.com/prymitive/unsee/internal/alertmanager"
|
||||
"github.com/prymitive/unsee/internal/config"
|
||||
"github.com/gin-gonic/gin"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/alertmanager"
|
||||
"github.com/prymitive/unsee/internal/alertmanager"
|
||||
|
||||
httpmock "gopkg.in/jarcoal/httpmock.v1"
|
||||
)
|
||||
|
||||
2
timer.go
2
timer.go
@@ -4,7 +4,7 @@ import (
|
||||
"runtime"
|
||||
"sync"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/alertmanager"
|
||||
"github.com/prymitive/unsee/internal/alertmanager"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
8
views.go
8
views.go
@@ -7,10 +7,10 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/alertmanager"
|
||||
"github.com/cloudflare/unsee/internal/config"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/slices"
|
||||
"github.com/prymitive/unsee/internal/alertmanager"
|
||||
"github.com/prymitive/unsee/internal/config"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/slices"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
|
||||
|
||||
@@ -11,10 +11,10 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/cloudflare/unsee/internal/config"
|
||||
"github.com/cloudflare/unsee/internal/mock"
|
||||
"github.com/cloudflare/unsee/internal/models"
|
||||
"github.com/cloudflare/unsee/internal/slices"
|
||||
"github.com/prymitive/unsee/internal/config"
|
||||
"github.com/prymitive/unsee/internal/mock"
|
||||
"github.com/prymitive/unsee/internal/models"
|
||||
"github.com/prymitive/unsee/internal/slices"
|
||||
|
||||
cache "github.com/patrickmn/go-cache"
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
Reference in New Issue
Block a user