1
0
mirror of https://github.com/nginxinc/nginx-prometheus-exporter.git synced 2025-07-30 10:03:04 +03:00
Commit Graph

866 Commits

Author SHA1 Message Date
2e8349e5e8 Update fossa to 1.0.30 2020-06-17 10:21:24 -07:00
12f77d61e3 Update dependencies 2020-06-17 10:21:24 -07:00
e52349f649 Move to non-root container 2020-06-16 13:30:57 -07:00
1863447a53 Add conditional for release (#104) 2020-06-08 14:44:55 +01:00
28605b3a77 docs: fix dockerfile link 2020-05-20 19:35:01 -07:00
d2d01f025f Migrate to GitHub Actions (#100)
* Add actions workflow

* Update secrets for Docker push
2020-05-19 13:55:08 +01:00
837d51ee54 Fix link to metrics path
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-05-04 09:30:01 -07:00
2a584af1fa Update dependencies 2020-04-23 19:38:20 -07:00
dcb5070dec Update Go version to 1.14 2020-04-23 19:38:20 -07:00
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