File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed
docker/prometheus/prometheus-msteams Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM {{ namespace }}/{{ infra_image_prefix }}prometheus-base:{{ tag }}
2
+ {% block labels %}
3
+ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
4
+ {% endblock %}
5
+
6
+ {% block prometheus_msteams_header %}{% endblock %}
7
+
8
+ {% block prometheus_msteams_repository_version %}
9
+ ARG prometheus_msteams_version=1.5.0
10
+ ARG prometheus_msteams_sha256sum=74d1bedb12f6ec09fb65ddeb63328f691a9b2a56c92d7682ca152c867fc7c7a0
11
+ {% endblock %}
12
+
13
+ {% block prometheus_msteams_install %}
14
+ RUN curl -o /tmp/prometheus-msteams https://github.com/prometheus-msteams/prometheus-msteams/releases/download/v${prometheus_msteams_version}/prometheus-msteams-linux-{{debian_arch}} \
15
+ && echo "${prometheus_msteams_sha256sum} /tmp/prometheus-msteams" | sha256sum -c \
16
+ && mv /tmp/prometheus-msteams /opt \
17
+ && chmod 0755 /opt/prometheus-msteams \
18
+ && mkdir -p /etc/msteams
19
+ {% endblock %}
20
+
21
+ {% block prometheus_msteams_footer %}{% endblock %}
22
+ {% block footer %}{% endblock %}
23
+
24
+ USER prometheus
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ class Status(Enum):
81
81
UNBUILDABLE_IMAGES = {
82
82
'aarch64' : {
83
83
"bifrost-base" , # someone need to get upstream working first
84
+ "prometheus-msteams" , # no aarch64 binary
84
85
"prometheus-mtail" , # no aarch64 binary
85
86
"skydive-base" , # no aarch64 binary
86
87
},
Original file line number Diff line number Diff line change
1
+ ---
2
+ features :
3
+ - |
4
+ Adds ``prometheus-msteams`` image, which can be used to forward Prometheus
5
+ Alertmanager notifications to Microsoft Teams.
You can’t perform that action at this time.
0 commit comments