1
0
mirror of https://github.com/nginxinc/nginx-prometheus-exporter.git synced 2025-04-19 23:42:14 +03:00

36 Commits

Author SHA1 Message Date
Luca Comellini
8da901c871
Update from nginxinc to nginx (#943) 2025-01-09 15:49:04 -08:00
renovate[bot]
5db1c05747
Update module github.com/nginxinc/nginx-plus-go-client to v2 (#855)
* Update module github.com/nginxinc/nginx-plus-go-client to v2

| datasource | package                                  | from   | to     |
| ---------- | ---------------------------------------- | ------ | ------ |
| go         | github.com/nginxinc/nginx-plus-go-client | v1.3.0 | v2.0.1 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Use context.TODO for now

* Add issue

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Luca Comellini <luca.com@gmail.com>
2024-09-26 15:36:30 -06:00
Luca Comellini
5c317a6613
Switch to slog (#841) 2024-09-11 16:35:45 -07:00
Luca Comellini
a9975099a2
Revert "switch from warning to debug when upstream labels are empty (#724)" (#781)
This reverts commit d3f9f94934c8a90de58ca264ee531a7648b2bb2b.
2024-07-24 16:20:25 +00:00
Luca Comellini
082ec9f33a
Fix Cache to use variable labels (#780) 2024-07-24 08:41:46 -07:00
Luca Comellini
dccd7cc9a2
Add linters that check for bugs (#779) 2024-07-18 06:42:06 +00:00
Luca Comellini
2358dccdbc
Remove unnecessary variable labels for workers (#777) 2024-07-17 23:39:49 -07:00
dependabot[bot]
2ea70aa380
Bump github.com/nginxinc/nginx-plus-go-client from 1.2.1 to 1.2.2 (#775)
* Bump github.com/nginxinc/nginx-plus-go-client from 1.2.1 to 1.2.2

Bumps [github.com/nginxinc/nginx-plus-go-client](https://github.com/nginxinc/nginx-plus-go-client) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/nginxinc/nginx-plus-go-client/releases)
- [Changelog](https://github.com/nginxinc/nginx-plus-go-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nginxinc/nginx-plus-go-client/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: github.com/nginxinc/nginx-plus-go-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix keepalive

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luca Comellini <luca.com@gmail.com>
2024-07-16 12:33:32 -06:00
Luca Comellini
28771684da
Add more linters (#733) 2024-06-17 14:39:36 +01:00
Paul Abel
d3f9f94934
switch from warning to debug when upstream labels are empty (#724) 2024-05-29 12:45:38 +01:00
Luca Comellini
d620391f71
Enable more linters (#622) 2024-02-22 18:27:54 +00:00
Haywood Shannon
ff324602c3
Add metrics from NGINX Plus API version 9 (#530)
Signed-off-by: Haywood Shannon <5781935+haywoodsh@users.noreply.github.com>
2023-11-13 17:17:54 +00:00
Shehar Yaar
d57f771d0a
add cache metrics for NGINX plus (#540)
Signed-off-by: Mohammad Shehar Yaar Tausif <sheharyaar48@gmail.com>
2023-11-13 11:57:46 +00:00
Luca Comellini
965d9e423d
Replace flag with kingpin and use promlog (#420) 2023-06-09 23:03:27 +00:00
Robin Wenzel
1e406e9635
Fix typographical error (#287)
* Fix typographical error

remove a duplicate "that were" in metric description

Co-authored-by: Luca Comellini <luca.com@gmail.com>
2022-08-26 19:49:48 -07:00
Luca Comellini
bc9d31c9a8
Add metrics from NGINX Plus API version 8 (#290)
Adds metrics for the ssl data for each HTTP upstream, server zone, and stream upstream, server zone.

Closes #284
2022-08-23 09:52:54 -07:00
Luca Comellini
27024ddcab
Add metrics from NGINX Plus API version 7 (#288)
Adds metrics for the codes data in responses for each HTTP upstream, server zone, and location zone.
2022-08-22 10:02:52 -07:00
Luca Comellini
bf392f0490
Add metrics from NGINX Plus API version 6 (#281) 2022-07-22 10:27:21 -07:00
Jakub Jarosz
2eb379ce4d
Make linter pass all tests 2022-04-01 10:38:43 +01:00
Steven Hessing
bf1c2c9bf9
add metric for max_conns of upstream servers (#201) 2021-09-23 11:02:55 -07:00
Dean Coakley
c9bc067005
Fix upstream server fails metric description (#183) 2021-04-29 19:53:14 +01:00
Lorcan McVeigh
7c45b2334b
Fix bugs in exporter 2020-11-30 15:08:26 +00:00
Lorcan McVeigh
5231f69ce8
Update struct 2020-11-26 14:35:58 +00:00
Lorcan McVeigh
1ffb988ca6
Add k8s object labels to tcp metrics
Co-authored-by: Dean Coakley <dean.s.coakley@gmail.com>
2020-11-25 15:39:38 +00:00
Lorcan McVeigh
6b1901af57
Extend Upstream Servers with pod_name label 2020-08-25 10:15:36 +01:00
Raul Marrero
66a9427a40 Add variable labels to Upstream Servers and Server Zones metrics 2020-08-04 11:51:19 +01:00
Robert Toth
6a9964bcce Add const labels to upMetric 2020-04-17 15:49:34 +01:00
Dean Coakley
c699f2297f
Add constLabels support via cli arg/env var 2020-01-10 14:13:35 +00:00
Asher Foa
23e6c62cef Fix typo in nodes_online metric description
* conected -> connected
2019-11-18 11:32:27 +00:00
ampant
330108c69b Add location zone and resolver metric support 2019-10-15 10:02:36 +05:30
Raul Marrero
aca0fa4708 Do not expose zone sync metric if not present 2019-06-10 15:33:26 +01:00
Raul Marrero
61f68fd65f Add zone sync metrics 2019-05-30 10:21:56 +01:00
Michael Pleshakov
5ee605ac45 Add up metrics
Add nginx_up and nginxplus_up metrics that show the status of the
last metric scrape from NGINX or NGINX Plus.
2019-01-11 18:00:54 +00:00
Dean Coakley
a36595021a
Add stream metrics support (#16)
Closes: https://github.com/nginxinc/nginx-prometheus-exporter/pull/1
* Add streamUpstream metrics
* Add streamUpstreamServer metrics
* Add streamServerZone metrics
* Metric descriptor must be the same for every metric with the same metricName, so Metric
descriptions must be the same regardless of label
* Add stream metrics documentation to readme

* Fix readme typo Upsteams->Upstreams
2018-10-15 08:00:14 +01:00
Michael Pleshakov
e393d6127b Use nginx plus go sdk
Replace the NGINX Plus Client from the client package with the
NGINX Plus client from https://github.com/nginxinc/nginx-plus-go-sdk
2018-09-11 15:27:45 +01:00
Michael Pleshakov
8d90a86cdf Release 0.1.0 2018-05-30 14:49:53 +01:00