Commit graph

936 commits

Author SHA1 Message Date
kullanici0606
aaaf26c074 avoid making copies of slices since we need to minimize the time spent in packet read in order not to drop packets
Signed-off-by: kullanici0606 <yakup.turgut@btk.gov.tr>
2023-09-20 10:37:53 +03:00
kullanici0606
b0c6d983e1 fix udp metrics increment
Signed-off-by: kullanici0606 <yakup.turgut@btk.gov.tr>
2023-09-20 10:37:53 +03:00
kullanici0606
ccb3eb6277 remove unnecessary log
Signed-off-by: kullanici0606 <yakup.turgut@btk.gov.tr>
2023-09-20 10:37:53 +03:00
kullanici0606
03255bf218 process udp packets in a separate goroutine so that udp packets are not dropped
Signed-off-by: kullanici0606 <yakup.turgut@btk.gov.tr>
2023-09-20 10:37:53 +03:00
Matthias Rampke
871e2d8df1
Merge pull request #510 from sumeshpremraj/spremraj/improve-network-debug-logging
Convert line payloads to string for debug logging
2023-07-10 22:39:30 +02:00
Sumesh Premraj
5123a1caa6 Convert line payload debug logs to string
Signed-off-by: Sumesh Premraj <sumeshpremraj@gmail.com>
2023-07-10 11:26:39 +02:00
prombot
3f8b98f180 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-07-07 17:48:32 +00:00
Matthias Rampke
886c18f947
Merge pull request #508 from prometheus/dependabot/go_modules/github.com/prometheus/client_golang-1.16.0
Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0
2023-07-07 15:42:49 +02:00
Matthias Rampke
c76a152291
Merge pull request #507 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2023-07-07 15:42:13 +02:00
dependabot[bot]
69bc83fc47
Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.15.1 to 1.16.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.15.1...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-01 10:07:32 +00:00
prombot
b1094b9061 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-06-27 17:49:01 +00:00
Matthias Rampke
8ffcdb3d5e
Merge pull request #506 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2023-06-19 06:56:45 +00:00
prombot
029cd6bca5 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-06-17 17:48:56 +00:00
Matthias Rampke
e91ce201d5
Release 0.24.0
with changelogs for #504 and #499

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2023-06-02 07:49:36 +00:00
Matthias Rampke
ddf7e0d31d
Merge pull request #504 from prometheus/superq/landing-page
Use exporter-toolkit landing page
2023-06-02 09:47:26 +02:00
Matthias Rampke
80e119a781
Merge pull request #499 from ebracho/master
Add `scale` field to mapping config
2023-06-02 09:46:01 +02:00
Matthias Rampke
191b07124c
Bump to 0.23.3
Accidentally based 0.23.2 off an older commit. Trying again.

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2023-06-02 07:43:20 +00:00
Matthias Rampke
f73cc98fd7
Release 0.23.2
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2023-06-02 07:39:14 +00:00
SuperQ
7f5125abdd
Use exporter-toolkit landing page
Use the exporter-toolkit to render the exporter homepage.
* Also allow metricsEndpoint to be on `/`.

Signed-off-by: SuperQ <superq@gmail.com>
2023-06-02 08:43:57 +02:00
Eddie Bracho
61f201130e document scale parameter
Signed-off-by: Eddie Bracho <eddiebracho@gmail.com>
2023-06-01 16:35:05 -07:00
Matthias Rampke
2813a69578
Merge pull request #501 from prometheus/dependabot/go_modules/github.com/prometheus/common-0.44.0
Bump github.com/prometheus/common from 0.42.0 to 0.44.0
2023-06-01 19:39:18 +00:00
dependabot[bot]
2a8dab9248
Bump github.com/prometheus/common from 0.42.0 to 0.44.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.42.0 to 0.44.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.42.0...v0.44.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 19:22:13 +00:00
Matthias Rampke
5daeef52d8
Merge pull request #502 from prometheus/dependabot/go_modules/github.com/prometheus/client_model-0.4.0
Bump github.com/prometheus/client_model from 0.3.0 to 0.4.0
2023-06-01 19:21:24 +00:00
dependabot[bot]
c87a7ac5eb
Bump github.com/prometheus/client_model from 0.3.0 to 0.4.0
Bumps [github.com/prometheus/client_model](https://github.com/prometheus/client_model) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/prometheus/client_model/releases)
- [Commits](https://github.com/prometheus/client_model/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_model
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 19:06:52 +00:00
Matthias Rampke
d747c05579
Merge pull request #503 from prometheus/dependabot/go_modules/github.com/prometheus/client_golang-1.15.1
Bump github.com/prometheus/client_golang from 1.14.0 to 1.15.1
2023-06-01 19:04:35 +00:00
Matthias Rampke
08c4bccb64
Update maintainer email
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2023-06-01 18:54:30 +00:00
dependabot[bot]
a0f4bcff5c
Bump github.com/prometheus/client_golang from 1.14.0 to 1.15.1
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.14.0 to 1.15.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.14.0...v1.15.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 10:59:29 +00:00
Eddie Bracho
fdc8b5f852 Add scale field to mapping config
This field allows configuring unit conversions in mappings. For example:

mappings:
- match: foo.latency_ms
  name: foo_latency_seconds
  scale: 0.001
- match: bar.processed_kb
  name: bar_processed_bytes
  scale: 1024

Signed-off-by: Eddie Bracho <eddiebracho@gmail.com>
2023-05-29 19:54:43 -07:00
Matthias Rampke
c3752cf30f
Merge pull request #493 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2023-04-17 12:43:09 +00:00
prombot
a5b0ed182c Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-03-21 17:49:21 +00:00
Matthias Rampke
972cb24750
Merge pull request #491 from grafana/gaantunes/mapperConfigDefaults-public
Making mapperConfigDefaults public
2023-03-16 17:56:08 +00:00
Gabriel Antunes
24e2fc9980 Making mapperConfigDefaults and metricObjective public, so that Grafana Agent can instantiate MetricMapper without using InitFromYAMLString directly.
Signed-off-by: Gabriel Antunes <g.amaral.antunes@gmail.com>
2023-03-15 16:34:31 -06:00
Matthias Rampke
aa341da7c4
Merge pull request #492 from prometheus/dependabot/go_modules/google.golang.org/protobuf-1.29.1
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1
2023-03-15 19:58:33 +00:00
dependabot[bot]
fb5d639dbf
Bump google.golang.org/protobuf from 1.29.0 to 1.29.1
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash)
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.29.0...v1.29.1)

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 23:06:26 +00:00
Matthias Rampke
14d18d8e70
Release 0.23.1
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2023-03-08 18:50:23 +00:00
Matthias Rampke
bbba726e66
Merge pull request #490 from prometheus/mr/update-orb
Update Prometheus common orb
2023-03-08 18:47:59 +00:00
Matthias Rampke
f0e9a8e2f8
Merge pull request #489 from prometheus/mr/update-kingpin
Update Go module dependencies
2023-03-08 18:47:48 +00:00
Matthias Rampke
0bdeac2162
Update Prometheus common orb
to fix issues with binfmt after the CircleCI infrastructure migration

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2023-03-08 18:21:13 +00:00
Matthias Rampke
9a980af22f
Update Go module dependencies
and switch to github.com/alecthomas/kingpin/v2 matching the changes in
prometheus/common

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2023-03-08 18:13:33 +00:00
Matthias Rampke
052676c42d
Merge pull request #485 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2023-02-20 22:27:47 +01:00
prombot
21a1763baf Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-02-20 17:48:46 +00:00
Matthias Rampke
832c5a5316
Merge pull request #484 from attenuation/master
Fix signalfx tag doc link
2023-01-27 14:53:50 +00:00
Jun Ouyang
e22a86f5f9 fix 4040 link
Signed-off-by: Jun Ouyang <ouyangjun1999@gmail.com>
2023-01-27 20:18:43 +08:00
Matthias Rampke
d73608eb14
Merge pull request #483 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2023-01-26 09:33:59 +00:00
prombot
9303da56a3 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-01-20 17:48:32 +00:00
Matthias Rampke
2caee689db
Merge pull request #478 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2023-01-05 09:11:02 +00:00
Matthias Rampke
07cf2fa0b1
Merge pull request #479 from prometheus/dependabot/go_modules/github.com/prometheus/common-0.39.0
Bump github.com/prometheus/common from 0.37.0 to 0.39.0
2023-01-05 09:10:47 +00:00
dependabot[bot]
f6b2a21fbd
Bump github.com/prometheus/common from 0.37.0 to 0.39.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.37.0 to 0.39.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.37.0...v0.39.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-01 10:02:07 +00:00
prombot
c2447be23b Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2022-12-22 17:48:49 +00:00
Matthias Rampke
b8ace4ae2c
Merge pull request #477 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2022-12-17 09:07:23 +00:00