Skip to content

Commit 8d7ff8a

Browse files
authored
mod tidy and change import path (#16)
1 parent b4f4f41 commit 8d7ff8a

File tree

5 files changed

+18
-2
lines changed

5 files changed

+18
-2
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,28 @@ It opens the door for categorizing metrics by labels and sub-labels into sets, a
99
that specification, giving us more flexibility when working with dynamic label sets where only higher order labels may
1010
be known (or matter).
1111

12+
### Installation
13+
14+
Install the go package
15+
16+
```go
17+
go get github.com/sourcehawk/go-prometheus-gaugevecset
18+
```
19+
20+
Importing it:
21+
22+
```go
23+
import (
24+
gvs "github.com/sourcehawk/go-prometheus-gaugevecset/pkg/gauge-vec-set"
25+
)
26+
```
27+
1228
### Initialization
1329

1430
```go
1531
import (
1632
"github.com/prometheus/client_golang/prometheus"
17-
gvs "github.com/sourcehawk/go-prometheus-gaugevecset/pkg/gauge_vec_set"
33+
gvs "github.com/sourcehawk/go-prometheus-gaugevecset/pkg/gauge-vec-set"
1834
)
1935

2036
// Metric configuration

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ go 1.25
44

55
require (
66
github.com/prometheus/client_golang v1.23.2
7-
github.com/prometheus/common v0.66.1
87
github.com/stretchr/testify v1.11.1
98
)
109

@@ -17,6 +16,7 @@ require (
1716
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
1817
github.com/pmezard/go-difflib v1.0.0 // indirect
1918
github.com/prometheus/client_model v0.6.2 // indirect
19+
github.com/prometheus/common v0.66.1 // indirect
2020
github.com/prometheus/procfs v0.16.1 // indirect
2121
github.com/rogpeppe/go-internal v1.13.1 // indirect
2222
go.yaml.in/yaml/v2 v2.4.2 // indirect
File renamed without changes.

0 commit comments

Comments
 (0)