Skip to content

Commit

Permalink
rename the module
Browse files Browse the repository at this point in the history
Signed-off-by: jason yang <[email protected]>
  • Loading branch information
JasonYangShadow committed Oct 6, 2023
1 parent f0a5951 commit 1e7add4
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/license-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
- name: Install go-license
run: go install github.com/google/go-licenses@latest
- name: Check license
run: go-licenses check --include_tests github.com/jasonyangshadow/apptheus...
run: go-licenses check --include_tests github.com/apptainer/apptheus...
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A redesigned Prometheus Pushgateway for ephemeral and batch jobs.
To provide a unified way of collecting the Apptainer stats data. We plan to employ the cgroup feature, which requires putting starter (starter-suid) program under a created
sub cgroup so that container stats can be collected and visualized.

To collect the cgroup stats, we are planning to deeply custormize the [Pushgateway](https://github.com/jasonyangshadow/apptheus) tool, tailing features and adding additional security policy. We call this tool `Apptheus`, meaning Apptainer links to Prometheus.
To collect the cgroup stats, we are planning to deeply custormize the [Pushgateway](https://github.com/apptainer/apptheus) tool, tailing features and adding additional security policy. We call this tool `Apptheus`, meaning Apptainer links to Prometheus.

> Note that this tool can be used for monitoring any programs, this tool comes from the development of one Apptainer RFE.
Expand All @@ -26,7 +26,7 @@ GET /metrics
### Apptainer uses Apptheus
![workflow](doc/apptainer.png)

https://github.com/JasonYangShadow/apptheus/assets/2051711/b33c5f20-a030-4b91-a6a7-bc62fe1fc6b8
https://github.com/apptainer/apptheus/assets/2051711/b33c5f20-a030-4b91-a6a7-bc62fe1fc6b8


## Important Opts
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/jasonyangshadow/apptheus
module github.com/apptainer/apptheus

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion internal/cgroup/cgroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"bytes"
"fmt"

"github.com/jasonyangshadow/apptheus/internal/cgroup/parser"
"github.com/apptainer/apptheus/internal/cgroup/parser"
"github.com/opencontainers/runc/libcontainer/cgroups"
"github.com/opencontainers/runc/libcontainer/cgroups/manager"
"github.com/opencontainers/runc/libcontainer/configs"
Expand Down
8 changes: 4 additions & 4 deletions internal/monitor/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"bytes"
"time"

"github.com/apptainer/apptheus/internal/cgroup"
"github.com/apptainer/apptheus/internal/cgroup/parser"
"github.com/apptainer/apptheus/internal/push"
"github.com/apptainer/apptheus/storage"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/jasonyangshadow/apptheus/internal/cgroup"
"github.com/jasonyangshadow/apptheus/internal/cgroup/parser"
"github.com/jasonyangshadow/apptheus/internal/push"
"github.com/jasonyangshadow/apptheus/storage"
)

type Instance struct {
Expand Down
6 changes: 3 additions & 3 deletions internal/network/wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
"strings"
"time"

"github.com/apptainer/apptheus/internal/cgroup/parser"
"github.com/apptainer/apptheus/internal/monitor"
"github.com/apptainer/apptheus/storage"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/jasonyangshadow/apptheus/internal/cgroup/parser"
"github.com/jasonyangshadow/apptheus/internal/monitor"
"github.com/jasonyangshadow/apptheus/storage"
"github.com/prometheus/exporter-toolkit/web"
"golang.org/x/sys/unix"
"toolman.org/net/peercred"
Expand Down
2 changes: 1 addition & 1 deletion internal/push/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"errors"
"time"

"github.com/jasonyangshadow/apptheus/storage"
"github.com/apptainer/apptheus/storage"
"github.com/prometheus/common/expfmt"
)

Expand Down
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ import (
dto "github.com/prometheus/client_model/go"
promlogflag "github.com/prometheus/common/promlog/flag"

"github.com/jasonyangshadow/apptheus/internal/network"
"github.com/jasonyangshadow/apptheus/internal/util"
"github.com/jasonyangshadow/apptheus/storage"
"github.com/apptainer/apptheus/internal/network"
"github.com/apptainer/apptheus/internal/util"
"github.com/apptainer/apptheus/storage"
"toolman.org/net/peercred"
)

Expand Down
2 changes: 1 addition & 1 deletion storage/diskmetricstore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (

dto "github.com/prometheus/client_model/go"

"github.com/jasonyangshadow/apptheus/testutil"
"github.com/apptainer/apptheus/testutil"
)

var (
Expand Down

0 comments on commit 1e7add4

Please sign in to comment.