This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG BASEIMAGE=alpine:3.15 | |
FROM $BASEIMAGE as base | |
LABEL maintainer="Denys Zhdanov <[email protected]>" | |
LABEL org.opencontainers.image.source https://github.com/graphite-project/docker-graphite-statsd | |
RUN true \ | |
&& apk add --update --no-cache \ | |
cairo \ | |
cairo-dev \ | |
findutils \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- views.py.bak 2021-10-25 21:19:07.891661700 +0200 | |
+++ views.py 2021-10-25 21:21:17.093932100 +0200 | |
@@ -74,6 +74,8 @@ | |
'xFilesFactor' : requestOptions['xFilesFactor'], | |
'maxDataPoints' : requestOptions.get('maxDataPoints', None), | |
'targets': requestOptions['targets'], | |
+ 'maxStep': requestOptions.get('maxStep', None), | |
+ 'targets_serialized': requestOptions.get('targets_serialized', None), | |
} | |
data = requestContext['data'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /opt/graphite/webapp/graphite/render/views.py.bak 2021-10-07 19:04:25.052907254 +0000 | |
+++ /opt/graphite/webapp/graphite/render/views.py 2021-10-13 20:11:51.136487024 +0000 | |
@@ -73,6 +73,8 @@ | |
'prefetched' : {}, | |
'xFilesFactor' : requestOptions['xFilesFactor'], | |
'maxDataPoints' : requestOptions.get('maxDataPoints', None), | |
+ 'maxStep': requestOptions.get('maxStep', None), | |
+ 'targets_serialized': requestOptions.get('targets_serialized', None), | |
} | |
data = requestContext['data'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- functions.py.bak | |
+++ functions.py | |
@@ -151,6 +151,41 @@ | |
return (seriesList) | |
+def _compressPeriodicGaps(series): | |
+ # removing periodic gaps, using summarize(seriesList, '<desired step>', 'last') | |
+ # but trying to auto detect step by first three existing values | |
+ consolidate = series.consolidationFunc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- functions.py.bak | |
+++ functions.py | |
@@ -2139,6 +2139,8 @@ | |
""" | |
results = [] | |
for series in seriesList: | |
+ # applying _compressGaps() first | |
+ series = _compressGaps(series) | |
newValues = [] | |
prev = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use https://github.com/deniszh/salt-security-backports instead |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use https://github.com/deniszh/salt-security-backports instead |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if grains.saltversion == "2016.11.6" %} | |
# Just in case there is no patch command installed | |
patch: | |
pkg.installed | |
# We use directory name here (saltpath) to apply patches that touch multiple files | |
saltmaster_security_patch: | |
file.patch: | |
- name: '{{ grains.saltpath }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use https://github.com/deniszh/salt-security-backports instead |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
counter processes_oom_killed_total | |
counter processes_oom_killed_by_name by label | |
/Killed process (\d+) \((\S+)\) total-vm:\d+kB, anon-rss:\d+kB, file-rss:\d+kB$/ { | |
processes_oom_killed_total++ | |
processes_oom_killed_by_name[$2]++ | |
} |
NewerOlder