Skip to content

Commit

Permalink
upgraded and restructured
Browse files Browse the repository at this point in the history
more test files added

updated with ldapsearch functionalities
  • Loading branch information
Giacomo Tirabassi committed Sep 23, 2022
1 parent 895c7c6 commit 056c81a
Show file tree
Hide file tree
Showing 49 changed files with 2,223 additions and 1,161 deletions.
11 changes: 11 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
bin
contrib
.gitignore
.dockerignore
CHANGELOG.md
DEVELOPMENT.md
Dockerfile
Jenkinfile
LICENCE
Makefile
README.md
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bin/
go/
*.snap
vendor
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ commands.
## Install Go from source

```bash
export VERSION=1.15 OS=linux ARCH=amd64
export VERSION=1.17 OS=linux ARCH=amd64
wget https://dl.google.com/go/go$VERSION.$OS-$ARCH.tar.gz
tar -xzvf go$VERSION.$OS-$ARCH.tar.gz
export PATH=$PWD/go/bin:$PATH
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ go/modules/pkg/mod: go.mod

.PHONY: test
test: go/modules/pkg/mod $(GOFILES)
go test -v
go test -v ./...

run: $(GOBIN)
$(GOBIN)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Prometheus collector and exporter for metrics extracted from the [Slurm](https://slurm.schedmd.com/overview.html) resource scheduling system.

> This work use https://github.com/vpenso/prometheus-slurm-exporter as starting point
## Exported Metrics

### State of the CPUs
Expand Down
121 changes: 0 additions & 121 deletions accounts.go

This file was deleted.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
25 changes: 21 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
module github.com/vpenso/prometheus-slurm-exporter

go 1.12
go 1.17

require (
github.com/prometheus/client_golang v1.2.1
github.com/prometheus/common v0.7.0
github.com/stretchr/testify v1.3.0
github.com/go-ldap/ldif v0.0.0-20200320164324-fd88d9b715b3
github.com/prometheus/client_golang v1.13.0
github.com/stretchr/testify v1.4.0
)

require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-asn1-ber/asn1-ber v1.4.1 // indirect
github.com/go-ldap/ldap/v3 v3.1.7 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.37.0 // indirect
github.com/prometheus/procfs v0.8.0 // indirect
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)
Loading

0 comments on commit 056c81a

Please sign in to comment.