Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report kafka lag as time unit #195

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
41d8d57
go mod
Mar 30, 2020
c070c34
Performance improvements for large clusters
Mar 30, 2020
1a13c1c
Bump to newer go version
Mar 30, 2020
94c3180
Use a close/chan instead of WaitGroup
Apr 1, 2020
76fa712
Add a log when concurrent calls are detected
Apr 1, 2020
ea27c01
Remove Gopkg and bump
Apr 1, 2020
d2e2ab7
Fix promu
Apr 1, 2020
424bf14
Move away from go dep
Nov 12, 2020
accde4e
Merge pull request #1 from davidmparrott/remove_dep
davidmparrott Nov 12, 2020
ca154b4
Include uepoch performance changes
davidmparrott Nov 12, 2020
461fed5
Update README.md
davidmparrott Nov 12, 2020
3c8653f
WIP
davidmparrott Dec 10, 2020
4b0dc5c
Separate interpolation table into it's own file.
davidmparrott Dec 11, 2020
9e109b0
Add slow_producer.go and slow_consumer.go to examples
davidmparrott Dec 11, 2020
674a5c9
Merge pull request #2 from davidmparrott/metric_testing
davidmparrott Dec 11, 2020
daf9997
Go mod
davidmparrott Dec 14, 2020
7b47506
mixin
davidmparrott Dec 14, 2020
1d7b7f0
Merge pull request #3 from davidmparrott/mixin
davidmparrott Dec 14, 2020
0d1e05c
Refactor to not have everything in main
davidmparrott Jan 29, 2021
abab872
Fix bugs introduced by refactor
davidmparrott Jan 29, 2021
48df34d
Merge branch 'decompose'
davidmparrott Feb 1, 2021
edce2a6
Cleanup for Travis
davidmparrott Feb 1, 2021
9b64c6e
Missed one Errorf
davidmparrott Feb 1, 2021
fd5d445
Missed one Infof
davidmparrott Feb 1, 2021
5e3e221
Change MAINTAINER in Dockerfile
davidmparrott Feb 1, 2021
338b0a4
Update .promu.yml with correct path
davidmparrott Feb 1, 2021
c9c261c
Minor updates to README
davidmparrott Feb 1, 2021
6f24780
Remove last of upstream references
davidmparrott Feb 1, 2021
ccf9922
Update Dockerfile
davidmparrott Feb 1, 2021
82a21a9
Update Dockerfile
davidmparrott Feb 1, 2021
f17524c
fix go.mod
davidmparrott Feb 1, 2021
b9b74e6
attempt to fix vendoring mismatch
davidmparrott Feb 1, 2021
f0ed428
fixup README
davidmparrott Feb 1, 2021
3be2a28
fixup README
davidmparrott Feb 1, 2021
b7c01a6
fixup README
davidmparrott Feb 2, 2021
1ad21a6
more minor cleanup
davidmparrott Feb 2, 2021
82040d4
switch to go-kit logging
davidmparrott Feb 5, 2021
82da4e5
Merge pull request #4 from davidmparrott/config-enhancements
davidmparrott Feb 5, 2021
7a97563
update module version
gaantunes Jun 16, 2021
c091074
fix bug from updating module
gaantunes Jun 16, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file modified .DS_Store
Binary file not shown.
12 changes: 6 additions & 6 deletions .promu.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
repository:
path: github.com/danielqsj/kafka_exporter
path: github.com/davidmparrott/kafka_exporter
build:
flags: -a -tags netgo
ldflags: |
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Branch={{.Branch}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
-X github.com/prometheus/common/version.Version={{.Version}}
-X github.com/prometheus/common/version.Revision={{.Revision}}
-X github.com/prometheus/common/version.Branch={{.Branch}}
-X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
-X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
tarball:
files:
- LICENSE
13 changes: 1 addition & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
sudo: required

services:
- docker

language: go

go:
- 1.9

after_success:
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
make docker;
make push;
fi
- if [[ -n "$TRAVIS_TAG" ]]; then
make crossbuild release;
fi
- 1.15
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
FROM quay.io/prometheus/busybox:latest
MAINTAINER Daniel Qian <qsj.daniel@gmail.com>
FROM golang:alpine AS build
MAINTAINER David Parrott <david@davidmparrott.com>

COPY kafka_exporter /bin/kafka_exporter
ADD . /src
WORKDIR /src
RUN go build -o /server

FROM golang:alpine
EXPOSE 9308
ENTRYPOINT [ "/bin/kafka_exporter" ]
COPY --from=build /server /
ENTRYPOINT [ "/server" ]
235 changes: 0 additions & 235 deletions Gopkg.lock

This file was deleted.

15 changes: 0 additions & 15 deletions Gopkg.toml

This file was deleted.

Loading