Skip to content

Commit

Permalink
[Release] exporter version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
8naama authored Jan 20, 2025
2 parents facd8b3 + b7ac90e commit eb0c8e4
Show file tree
Hide file tree
Showing 10 changed files with 838 additions and 2,477 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.x'
go-version: '1.22'
- name: Run unit tests and code-coverage
run: |
go test -race -covermode=atomic ./...
480 changes: 249 additions & 231 deletions README.md

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ type Config struct {
PushInterval time.Duration
Quantiles []float64
HistogramBoundaries []float64

client *http.Client
ExternalLabels map[string]string
AddMetricSuffixes bool
client *http.Client
}

// Validate checks a Config struct for missing required properties and property conflicts.
Expand Down
41 changes: 29 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,18 +1,35 @@
module github.com/logzio/go-metrics-sdk

go 1.16
go 1.22.7

require (
github.com/golang/snappy v0.0.4
github.com/google/go-cmp v0.5.7
// Note: v1.8.2-0.20210928085443-fafb309d4027 is
// Prometheus v2.30.1 released 2021-09-28
// https://github.com/prometheus/prometheus/commit/fafb309d4027b050c917362d7d2680c5ad6f6e9e
github.com/prometheus/prometheus v1.8.2-0.20210928085443-fafb309d4027
github.com/stretchr/testify v1.7.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/metric v0.27.0
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/sdk/metric v0.27.0
golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9 // indirect
github.com/google/go-cmp v0.6.0
github.com/hashicorp/go-multierror v1.1.1
github.com/prometheus/prometheus v0.301.0
github.com/stretchr/testify v1.10.0
go.opentelemetry.io/otel v1.33.0
go.opentelemetry.io/otel/metric v1.33.0
go.opentelemetry.io/otel/sdk v1.33.0
go.opentelemetry.io/otel/sdk/metric v1.33.0
)

require (
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.61.0 // indirect
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
go.opentelemetry.io/otel/trace v1.33.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/text v0.21.0 // indirect
google.golang.org/protobuf v1.36.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
1,894 changes: 53 additions & 1,841 deletions go.sum

Large diffs are not rendered by default.

Loading

0 comments on commit eb0c8e4

Please sign in to comment.