Skip to content

Commit

Permalink
Switch to SysEleven namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
baurmatt committed Feb 13, 2024
1 parent 6015c07 commit 5fc6243
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 213 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ FROM alpine:3.19
ARG REVISION
ARG VERSION

LABEL maintainer="Staffbase GmbH"
LABEL git.url="https://github.com/Staffbase/syseleven-exporter"
LABEL maintainer="SysEleven GmbH"
LABEL git.url="https://github.com/syseleven/syseleven-exporter"

RUN apk add --no-cache --update curl ca-certificates
HEALTHCHECK --interval=10s --timeout=3s --retries=3 CMD curl --fail http://localhost:8080/_health || exit 1
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
BUILDTIME ?= $(shell date '+%Y-%m-%d@%H:%M:%S')
BUILDUSER ?= $(shell id -un)
REPO ?= github.com/Staffbase/syseleven-exporter
REPO ?= github.com/syseleven/syseleven-exporter
REVISION ?= $(shell git rev-parse HEAD)
VERSION ?= $(shell git describe --tags)

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The SysEleven Exporter can be deployed using the [vfm/syseleven-exporter-chart](
Clone the repository and build the binary:

```sh
git clone [email protected]:Staffbase/syseleven-exporter.git
git clone [email protected]:syseleven/syseleven-exporter.git
make build
```

Expand Down Expand Up @@ -50,10 +50,10 @@ Then run the exporter:
./bin/syselevenexporter
```
A Docker image is available at `staffbace/syseleven-exporter:<TAG>` and can be retrieved via:
A Docker image is available at `syseleven/syseleven-exporter:<TAG>` and can be retrieved via:
```sh
docker pull staffbace/syseleven-exporter:<TAG>
docker pull syseleven/syseleven-exporter:<TAG>
```
## Metrics
Expand Down
2 changes: 1 addition & 1 deletion catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: syseleven-exporter
description: Export quota and current usage from the SysEleven API as Prometheus metrics.
annotations:
github.com/project-slug: Staffbase/syseleven-exporter
github.com/project-slug: syseleven/syseleven-exporter
tags:
- go
- monitoring
Expand Down
6 changes: 3 additions & 3 deletions cmd/syselevenexporter/syselevenexporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import (
"syscall"
"time"

"github.com/Staffbase/syseleven-exporter/pkg/auth"
"github.com/Staffbase/syseleven-exporter/pkg/exporter"
"github.com/Staffbase/syseleven-exporter/pkg/version"
"github.com/syseleven/syseleven-exporter/pkg/auth"
"github.com/syseleven/syseleven-exporter/pkg/exporter"
"github.com/syseleven/syseleven-exporter/pkg/version"

"github.com/go-chi/chi"
"github.com/prometheus/client_golang/prometheus/promhttp"
Expand Down
6 changes: 1 addition & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
module github.com/Staffbase/syseleven-exporter
module github.com/syseleven/syseleven-exporter

go 1.21

require (
github.com/go-chi/chi v1.5.5
github.com/go-chi/chi/v5 v5.0.11
github.com/gophercloud/gophercloud v1.9.0
github.com/prometheus/client_golang v1.18.0
github.com/sirupsen/logrus v1.9.3
Expand All @@ -14,10 +13,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.1 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/common v0.45.0 // indirect
Expand Down
200 changes: 4 additions & 196 deletions go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pkg/exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package exporter
import (
"time"

"github.com/Staffbase/syseleven-exporter/pkg/api"
"github.com/Staffbase/syseleven-exporter/pkg/auth"
"github.com/syseleven/syseleven-exporter/pkg/api"
"github.com/syseleven/syseleven-exporter/pkg/auth"

"github.com/prometheus/client_golang/prometheus"
log "github.com/sirupsen/logrus"
Expand Down

0 comments on commit 5fc6243

Please sign in to comment.