prometheus-snap:20.04

Last commit made on 2022-01-20
Get this branch:
git clone -b 20.04 https://git.launchpad.net/prometheus-snap
Members of prometheus-snap-developers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
20.04
Repository:
lp:prometheus-snap

Recent commits

1b20947... by Sergio Durigan Junior

Temporarily disable template_test.go

This test is failing on non-amd64 architectures, but it's very likely
that the cause is the architecture-dependent way that Go treats
conversions between floats and ints. For more details, see:

https://github.com/prometheus/prometheus/issues/10185

Signed-off-by: Sergio Durigan Junior <email address hidden>

0e19ffe... by Sergio Durigan Junior

Update prometheus to 2.32.1.

This required:

- A new NodeJS (version 16).

- A new Go (version 17).

- A change in the order of our build commands. We were running the
  tests and then building the software, but that doesn't work anymore.

Signed-off-by: Sergio Durigan Junior <email address hidden>

91db28e... by Sergio Durigan Junior

Fix typo when matching "ppc64el"

dpkg --print-architecture will return "ppc64el", not "ppc64le".
Conversely, the adjusted name should be "ppc64le", not "ppc64el".

Signed-off-by: Sergio Durigan Junior <email address hidden>

c0d79f9... by Sergio Durigan Junior

Update prometheus to 2.28.1

This commit updates the prometheus version to 2.28.1.

The problem is one of the dependencies of the web interface shipped
with prometheus requires nodejs >= 12, and core20 offers nodejs 10.
For this reason, I decided to download nodejs directly from upstream
and use their binaries instead. The good news is that upstream offers
binaries for all our supported architectures (amd64, arm64, s390x and
ppc64el).

I think it should be possible to split the build into two and use the
"npm" plugin in order to automate this process, but I could not come
up with an implementation that works.

Signed-off-by: Sergio Durigan Junior <email address hidden>

31696e9... by Sergio Durigan Junior

Update prometheus 2.25.2

This commit also updates the snapcraft to use core20, instead of
core18.

Signed-off-by: Sergio Durigan Junior <email address hidden>

8595033... by Haw Loeung

4k max. open files is not enough

Reviewed-on: https://code.launchpad.net/~hloeung/prometheus-snap/+git/prometheus-snap/+merge/396456
Reviewed-by: Benjamin Allot <email address hidden>

27649cc... by Haw Loeung

4k max. open files is not enough

e9a371e... by Lucas Kanashiro

Update prometheus2 to version 2.20.1

Reviewed-on: https://code.launchpad.net/~canonical-server/prometheus-snap/+git/prometheus-snap/+merge/388843
Reviewed-by: Tom Haddon <email address hidden>
Reviewed-by: Junien Fridrick <email address hidden>

0a1f9cc... by Lucas Kanashiro

Alphabetically sort fields with multiple values

4ecc7a0... by Lucas Kanashiro

Add curl as a build dependency