lp:~ballot/content-cache-charm/+git/content-cache-charm

Owned by Benjamin Allot
Get this repository:
git clone https://git.launchpad.net/~ballot/content-cache-charm/+git/content-cache-charm
Only Benjamin Allot can upload to this repository. If you are Benjamin Allot please log in for upload directions.

Branches

Name Last Modified Last Commit
worker_connections 2021-03-23 23:58:49 UTC
WIP

Author: Benjamin Allot
Author Date: 2021-03-23 23:58:49 UTC

WIP

reuseport 2021-03-23 21:28:00 UTC
Add the reuseport directive in nginx.

Author: Benjamin Allot
Author Date: 2021-03-23 21:20:07 UTC

Add the reuseport directive in nginx.

According to several resources, the way Linux handles TCP connection
with epoll is responsible for the way the load is balanced between the
workers.

This is an option turned off by default for now.

See [0] and [1] for reference.

[0]: https://blog.cloudflare.com/the-sad-state-of-linux-socket-balancing/
[1]: https://www.nginx.com/blog/performance-tuning-tips-tricks/

accept_mutex_on_trash 2021-03-22 22:32:51 UTC
WIP to trash but keeping for reference

Author: Benjamin Allot
Author Date: 2021-03-22 22:32:51 UTC

WIP to trash but keeping for reference

site_unique 2021-03-18 08:03:42 UTC
WIP

Author: Benjamin Allot
Author Date: 2021-03-18 08:03:42 UTC

WIP

request_per_ip_action 2021-03-08 22:01:32 UTC
WIP

Author: Benjamin Allot
Author Date: 2021-03-08 21:58:00 UTC

WIP

extend_nrpe_timeout 2020-04-20 08:31:30 UTC
Increase the timeout of the telegraf metrics check

Author: Benjamin Allot
Author Date: 2020-04-20 08:31:30 UTC

Increase the timeout of the telegraf metrics check

check_http is taking a very long time to parse the data and we reach
the timeout fairly often.
Finding a better alternative would be better but small steps.

fix_sysctl_flag 2019-11-24 22:23:54 UTC
Fix config-changed hook test

Author: Benjamin Allot
Author Date: 2019-11-24 22:23:23 UTC

Fix config-changed hook test

change_mock_assert 2019-11-24 22:23:54 UTC
Fix all mock asserts

Author: Benjamin Allot
Author Date: 2019-11-24 22:09:14 UTC

Fix all mock asserts

add_relations 2019-10-03 10:13:57 UTC
Add an endpoint exposing the url for nginx metrics.

Author: Benjamin Allot
Author Date: 2019-10-02 23:47:18 UTC

Add an endpoint exposing the url for nginx metrics.

fix_expose 2019-09-13 10:12:44 UTC
Keep the nginx metrics port exposed in configure_haproxy hook

Author: Benjamin Allot
Author Date: 2019-09-11 12:15:38 UTC

Keep the nginx metrics port exposed in configure_haproxy hook

Also add a tests to check the ports management in the configure_haproxy

add_cache_request_metric 2019-09-11 09:41:21 UTC
Black formatting

Author: Benjamin Allot
Author Date: 2019-09-10 16:20:31 UTC

Black formatting

update_readme 2019-09-05 21:54:21 UTC
Update README.md with the new feature exposing nginx metrics

Author: Benjamin Allot
Author Date: 2019-09-05 16:08:58 UTC

Update README.md with the new feature exposing nginx metrics

add_lua 2019-09-05 15:35:11 UTC
Rename the tests files for the nginx metrics feature

Author: Benjamin Allot
Author Date: 2019-09-05 15:35:11 UTC

Rename the tests files for the nginx metrics feature

Renamed with a clearer name about the configuration itself (basic) and
fixed the various tests impacted by the change.

cache_metrics 2019-09-03 13:19:34 UTC
Add the Nginx metrics for cache HIT

Author: Benjamin Allot
Author Date: 2019-09-03 11:55:08 UTC

Add the Nginx metrics for cache HIT

A new option `cache_metrics` can be set to True to expose nginx metrics
about cache HITs and HTTP requests in prometheus format.
This metrics are available on port 9145.

cache_metrics_tests 2019-09-03 13:19:34 UTC
Update test with cache_metrics option

Author: Benjamin Allot
Author Date: 2019-09-03 11:55:43 UTC

Update test with cache_metrics option

All the tests have been adapted with the new bits of configuration and
new tests have been developped for the new functions.

feature_expose_nginx_metrics 2019-09-03 13:16:20 UTC
Preparing Nginx metrics, use the prometheus.lua library

Author: Benjamin Allot
Author Date: 2019-09-03 13:16:20 UTC

Preparing Nginx metrics, use the prometheus.lua library

Reviewed-on: https://code.launchpad.net/~ballot/content-cache-charm/+git/content-cache-charm/+merge/372178
Reviewed-by: Joel Sing <joel.sing@canonical.com>

prometheus.lua 2019-09-02 22:54:29 UTC
Preparing Nginx metrics, use the prometheus.lua library

Author: Benjamin Allot
Author Date: 2019-09-02 22:54:29 UTC

Preparing Nginx metrics, use the prometheus.lua library

This library is from https://github.com/knyar/nginx-lua-prometheus
A MIT licensed library used to export Nginx metrics in a prometheus
format using LUA.
This is the vanilla library at 49762d9b57b16e68c55db606be66ccd2b4db548e

update_makefile 2019-08-09 23:12:11 UTC
Update "make build" target

Author: Benjamin Allot
Author Date: 2019-08-09 23:12:11 UTC

Update "make build" target

118 of 18 results
This repository contains Public information 
Everyone can see this information.

Subscribers