1
0
mirror of https://github.com/nginxinc/nginx-prometheus-exporter.git synced 2025-07-06 23:36:39 +03:00
Commit Graph

507 Commits

Author SHA1 Message Date
43b2f8242c Update fossa-cli to 1.0.27 2020-04-23 19:38:20 -07:00
a2910f19ce Release 0.7.0 v0.7.0 2020-04-23 09:12:02 -07:00
831abae4a7 Implemented TLS client certificate authentication 2020-04-20 14:20:23 -07:00
6a9964bcce Add const labels to upMetric 2020-04-17 15:49:34 +01:00
39585bd443 Release 0.6.0 v0.6.0 2020-02-19 18:00:07 +00:00
1f833f91ea Prometheus exporter ci (#84)
* Add CI for prometheus-exporter
2020-02-18 11:54:32 +00:00
eb956e2ca6 Update dependencies 2020-01-22 15:03:14 +00:00
c699f2297f Add constLabels support via cli arg/env var 2020-01-10 14:13:35 +00:00
c3dd65ccd4 Release 0.5.0 v0.5.0 2019-12-06 11:50:37 -08:00
23e6c62cef Fix typo in nodes_online metric description
* conected -> connected
2019-11-18 11:32:27 +00:00
73a7537203 set user agent on scrape requests to nginx 2019-11-13 11:08:20 -08:00
319a7fdf89 Add ability to scrape and listen unix domain sockets
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2019-11-11 20:11:22 -08:00
d59869fdb0 Do not assume default datasource in Grafana panels 2019-11-06 11:04:10 +00:00
330108c69b Add location zone and resolver metric support 2019-10-15 10:02:36 +05:30
ba7f611e9f Update Go version to 1.13 2019-10-04 14:51:03 +05:30
56b5d6b19c Update Go version to 1.13 2019-10-04 14:51:03 +05:30
4ed96508a6 Update go-client to v0.5.0
Corrected go.sum
2019-09-30 21:29:14 +05:30
29ec94bdee Set correct nginx_up query and instance variable expression
Signed-off-by: EdgarasG <edgaras.giedre@hostinger.com>
2019-08-15 12:50:59 +01:00
f017367718 Release 0.4.2 v0.4.2 2019-07-22 16:15:30 +01:00
c299f20cbb Fix stream server zones session metrics
* Stream server zones sessions with 4xx and 5xx statuses are now correctly exported. Previously they were always reported as 0.
2019-07-17 20:48:05 +01:00
f9050891ad Add Grafana Dashboard for NGINX metrics 2019-07-10 12:16:23 +01:00
a80352060e Release 0.4.1 v0.4.1 2019-06-12 11:05:42 +01:00
aca0fa4708 Do not expose zone sync metric if not present 2019-06-10 15:33:26 +01:00
11a82714fa Release 0.4.0 v0.4.0 2019-05-30 11:22:53 +01:00
61f68fd65f Add zone sync metrics 2019-05-30 10:21:56 +01:00
ab4e55fefc Use go modules
* Update Makefile and Dockerfile to use go modules
* Tidy modules - go mod tidy
* Update Dockerfile and Makefile to use vendor dir
* Update travis config to use go modules in fossa check
* Update contributing guide
2019-04-15 15:19:25 +01:00
770d447b93 Fix sleep for first retry attempt
* Bug introduced in: b499ca793a
2019-04-09 11:34:39 +01:00
d35d429dcc Fix nginxRetries and timeout accepts a negative value
* Bug introduced in: b499ca793a
2019-04-03 11:49:13 +01:00
4ef2b34672 Add lint option to Makefile and fix lint issues 2019-03-21 19:24:14 +00:00
930c69a6be Move code of conduct to root of project 2019-03-19 15:19:51 +00:00
b499ca793a Retry connection if nginx unavailable
Closes: https://github.com/nginxinc/nginx-prometheus-exporter/issues/36

* Add nginx.retries cli flag
* Add nginx.retry-interval cli flag
* Add handling of SIGTERM signals
* Add started log message
* Add createClientWithRetries test
* Add time.Duration env variables: timeout, nginxRetryInterval
* Fix error context: On OSS Failed to create client would be appended twice from nginx client and exporter
* Add environment variables to --help flag and readme.md
2019-03-11 15:22:09 +00:00
455e79de4d Use go 1.12 2019-03-06 11:24:24 +00:00
65702758f2 Release 0.3.0 v0.3.0 2019-02-07 11:45:43 +00:00
80904d47ab Update dependencies 2019-02-06 14:29:45 +00:00
9ee37129a5 Add nginxexporter_build_info metric 2019-01-17 17:18:15 +00:00
4641a6904c Add nginx.timeout cli argument
Add -nginx.timeout cli argument for setting a timeout for scrapping
metrics from NGINX or NGINX Plus.
2019-01-11 18:00:54 +00:00
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
ad0a4726a9 Release 0.2.0 v0.2.0 2018-11-13 12:42:48 +00:00
83ae7ad6c8 Update dependencies 2018-11-12 11:43:30 +00:00
08b2cb89fd Mirgate to dep 2018-11-12 11:43:30 +00:00
797e1c55af Use go 1.11
Update go version to 1.11 in the travis pipeline and the Dockerfile.
2018-10-23 15:56:53 +01:00
7a9b351c2e Update README
Update README.md with instructions on how to build the exporter
binary and run it.
2018-10-23 12:30:24 +01:00
6d03566f7e Add binaries build to Makefile and pipeline
Adding a stage to build prometheus exporter binaries for the
supported platforms: Linux (i386 and amd64)
Adding a clean target to remove all created artifacts if necessary
2018-10-16 13:58:53 +01:00
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
4d8ada86c0 Merge pull request #13 from razaj92/tls_skip
add option to skip tls verify
2018-09-25 17:55:10 +01:00
90107cb5bb add option to skip tls verify 2018-09-25 10:44:36 +01:00
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
fd866881e2 Fix docker run command in README for NGINX 2018-08-31 18:07:52 +01:00
865580e1e0 Add go report badge in readme 2018-08-24 15:52:01 +01:00
ea590077ea Merge pull request #6 from nginxinc/Add-travis-ci
Run go test & build binary and container with travis
2018-08-24 10:33:37 +01:00