James Shubin
a8f194259b
legal: Happy 2024 everyone...
...
Done with:
ack '2023+' -l | xargs sed -i -e 's/2023+/2024+/g'
Checked manually with:
git add -p
Hello to future James from 2025, and Happy Hacking!
2024-01-22 15:52:49 -05:00
James Shubin
a7624a2bf9
legal: Happy 2023 everyone...
...
Done with:
ack '2022+' -l | xargs sed -i -e 's/2022+/2023+/g'
Checked manually with:
git add -p
Hello to future James from 2024, and Happy Hacking!
2023-03-05 18:31:52 -05:00
James Shubin
3cea422365
legal: Happy 2022 everyone...
...
Done with:
ack '2021+' -l | xargs sed -i -e 's/2021+/2022+/g'
Checked manually with:
git add -p
Hello to future James from 2023, and Happy Hacking!
2022-08-05 23:06:27 -04:00
James Shubin
336a38081a
legal: Happy 2021 everyone...
...
Done with:
ack '2020+' -l | xargs sed -i -e 's/2020+/2021+/g'
Checked manually with:
git add -p
Hello to future James from 2022, and Happy Hacking!
2021-01-31 16:52:46 -05:00
James Shubin
f67ad9c061
test: Add a check for too long or badly reflowed docstrings
...
This ensures that docstring comments are wrapped to 80 chars. ffrank
seemed to be making this mistake far too often, and it's a silly thing
to look for manually. As it turns out, I've made it too, as have many
others. Now we have a test that checks for most cases. There are still a
few stray cases that aren't checked automatically, but this can be
improved upon if someone is motivated to do so.
Before anyone complains about the 80 character limit: this only checks
docstring comments, not source code length or inline source code
comments. There's no excuse for having docstrings that are badly
reflowed or over 80 chars, particularly if you have an automated test.
2020-01-25 04:43:33 -05:00
James Shubin
2648fb1bb1
legal: Happy 2020 everyone...
...
Done with:
ack '2019+' -l | xargs sed -i -e 's/2019+/2020+/g'
Checked manually with:
git add -p
Hello to future James from 2021, and Happy Hacking!
2020-01-03 20:08:37 -05:00
James Shubin
07f542b4d7
legal: Happy 2019 everyone...
...
Done with:
ack '2018+' -l | xargs sed -i -e 's/2018+/2019+/g'
Checked manually with:
git add -p
Hello to future James from 2020, and Happy Hacking!
2019-03-24 15:08:50 -04:00
James Shubin
880652f5d4
util: Port all code to new errwrap package
...
This should keep things more uniform.
2019-03-12 16:49:01 -04:00
James Shubin
9ba893c06c
etcd: Bump to etcd v3.3 and golang 1.9
...
This moves us to etcd v3.3 (a new major release) which has some useful
features but that requires version 1.9 of golang.
2018-02-15 18:47:55 -05:00
James Shubin
12fce52cd7
legal: Happy 2018 everyone...
...
Done with:
ack '2017+' -l | xargs sed -i -e 's/2017+/2018+/g'
Checked manually with:
git add -p
Hello to future James from 2019, and Happy Hacking!
2018-01-03 21:22:07 -05:00
Julien Pivotto
472663193a
prometheus: Initialize all metrics
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu >
2017-11-24 11:02:36 +01:00
Julien Pivotto
fdce9d6a6a
prometheus: Initialize mgmt_checkapply_total metrics
...
It is recommended by Prometheus to initialize metrics:
https://prometheus.io/docs/practices/instrumentation/#avoid-missing-metrics
This commits initialize the mgmt_checkapply_total metric
for each registered resource.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu >
2017-11-23 15:23:41 +01:00
James Shubin
46be83f8f7
legal: Re-license to GPLv3
2017-09-11 18:07:47 -04:00
Julien Pivotto
33d20ac6d8
prometheus: Add detailed metrics
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu >
2017-03-16 14:18:46 +01:00
Julien Pivotto
7d92ab335a
prometheus: Add mgmt_pgraph_start_time_seconds metric
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu >
2017-02-26 15:28:43 +01:00
Julien Pivotto
46260749c1
prometheus: Move the prometheus nil check inside the prometheus function
...
That pattern will be reused in future metrics.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu >
2017-02-26 09:33:34 +01:00
James Shubin
a981cfa053
legal: Oh yeah, it is 2017
2017-02-16 01:34:32 -05:00
Julien Pivotto
be5040e7a8
prometheus: Remove mgmt_process_start_time_seconds metric
...
That metric is useless as by default the prometheus golang client
provides the `process_start_time_seconds` metric.
This reverts commit 25e2af7c89 .
2017-02-14 22:56:12 +01:00
Julien Pivotto
25e2af7c89
prometheus: Add mgmt_process_start_time_seconds metric
2017-02-14 22:14:59 +01:00
Julien Pivotto
e8855f7621
prometheus: Implement mgmt_checkapply_total metric
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu >
2017-02-12 23:45:47 +01:00
Julien Pivotto
5ae5d364bb
Prometheus: fix URL to the "Default port allocations"
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu >
2017-02-08 13:41:09 +01:00
Julien Pivotto
1af67e72d4
prometheus: Implement basic Prometheus support
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu >
2017-02-08 12:13:33 +01:00