unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#54560] [PATCH 00/47] gnu: Add go-github-com-prometheus-prometheus.
@ 2022-03-25  5:55 Leo Nikkilä
  2022-03-25 13:31 ` [bug#54560] [PATCH 01/47] gnu: Add go-google-golang-org-protobuf Leo Nikkilä
                   ` (4 more replies)
  0 siblings, 5 replies; 84+ messages in thread
From: Leo Nikkilä @ 2022-03-25  5:55 UTC (permalink / raw)
  To: 54560; +Cc: Leo Nikkilä

Hi there. Long-time Guix user, first-time contributor.

I've been chipping away at packaging Prometheus for quite some time now.
The dependency tree turned out to be sizeable, apologies for the long
list of patches. Most of these are new packages.

I've had to resort to some tricks to reduce this effort:

  * Most discovery plugins are patched out for now using a lightweight
    patch, as they pulled in far more dependencies than was manageable
    in a single patch set.

  * I'm targeting the previous version. The latest version released a
    few weeks ago (2.34.0) uses OpenTelemetry for tracing, pulling in
    another complex set of dependencies, and I didn't want to patch out
    tracing entirely.

Some additional notes:

  * Alertmanager and other components are not included, nor the web UI
    written in JavaScript. My goal was to get the base server running.

  * The version of go-golang-org-x-net currently in Guix is slightly
    older, and doesn't include the HTTP/2 ConfigureTransports function.
    I thought I'd rather not update this package to avoid rebuilding its
    dependents, and resorted to another patch.

  * A couple of the Prometheus packages already existed under (gnu
    packages syncthing), although unused. These look like remnants of
    older packages. I kept them in the same module, but added new
    packages under (gnu packages golang).

    There might be appetite to consolidate all of these Prometheus
    dependencies under (gnu packages golang), I'm willing to put in the
    work if that's the case.

I've tested this package on x86_64 and aarch64, and attempted to follow
the relevant style guides as best I could. Let me know if (when) there's
anything I've missed.

Looking forward to your feedback!

Leo Nikkilä (47):
  gnu: Add go-google-golang-org-protobuf.
  gnu: go-github-com-golang-protobuf-proto: Update to 1.5.2.
  gnu: Add go-github-com-golang-protobuf-ptypes.
  gnu: go-github-com-prometheus-client-golang: Update to 1.12.1.
  gnu: Add go-github-com-asaskevich-govalidator.
  gnu: Add go-github-com-dennwc-varint.
  gnu: Add go-github-com-edsrzf-mmap-go.
  gnu: Add go-github-com-go-logfmt-logfmt.
  gnu: Add go-github-com-go-kit-log.
  gnu: Add go-github-com-go-stack-stack.
  gnu: Add go-github-com-josharian-intern.
  gnu: Add go-github-com-julienschmidt-httprouter.
  gnu: Add go-github-com-mailru-easyjson.
  gnu: Add go-github-com-modern-go-concurrent.
  gnu: Add go-github-com-modern-go-reflect2.
  gnu: Add go-github-com-montanaflynn-stats.
  gnu: Add go-github-com-mwitkow-go-conntrack.
  gnu: Add go-github-com-oklog-run.
  gnu: Add go-github-com-oklog-ulid.
  gnu: Add go-github-com-opentracing-contrib-go-stdlib.
  gnu: Add go-github-com-puerkitobio-urlesc.
  gnu: Add go-github-com-puerkitobio-purell.
  gnu: Add go-github-com-shurcool-httpgzip.
  gnu: Add go-github-com-shurcool-httpfs.
  gnu: Add go-github-com-shurcool-vfsgen.
  gnu: Add go-github-com-simonpasquier-klog-gokit.
  gnu: Add go-github-com-simonpasquier-klog-gokit-v3.
  gnu: Add go-github-com-tidwall-pretty.
  gnu: Add go-github-com-uber-jaeger-lib.
  gnu: Add go-github-com-uber-jaeger-client-go.
  gnu: Add go-github-com-youmark-pkcs8.
  gnu: Add go-go-uber-org-goleak.
  gnu: Add go-gopkg-in-alecthomas-kingpin.v2.
  gnu: Add go-github-com-json-iterator-go.
  gnu: Add go-go-mongodb-org-mongo-driver.
  gnu: Add go-github-com-go-openapi-errors.
  gnu: Add go-github-com-go-openapi-swag.
  gnu: Add go-github-com-go-openapi-jsonpointer.
  gnu: Add go-github-com-go-openapi-jsonreference.
  gnu: Add go-github-com-go-openapi-spec.
  gnu: Add go-github-com-go-openapi-strfmt.
  gnu: Add go-github-com-go-openapi-analysis.
  gnu: Add go-github-com-go-openapi-loads.
  gnu: Add go-github-com-go-openapi-validate.
  gnu: Add go-github-com-prometheus-alertmanager-api.
  gnu: Add go-github-com-prometheus-exporter-toolkit.
  gnu: Add go-github-com-prometheus-prometheus.

 gnu/packages/golang.scm                       | 1248 ++++++++++++++++-
 gnu/packages/monitoring.scm                   |   83 ++
 ...etheus-common-remove-readidletimeout.patch |   28 +
 ...om-prometheus-prometheus-remove-deps.patch |   33 +
 gnu/packages/syncthing.scm                    |  182 +--
 5 files changed, 1489 insertions(+), 85 deletions(-)
 create mode 100644 gnu/packages/patches/go-github-com-prometheus-common-remove-readidletimeout.patch
 create mode 100644 gnu/packages/patches/go-github-com-prometheus-prometheus-remove-deps.patch


base-commit: d05fcc21cb9509084a0424e6808b84b58dc52d62
-- 
2.34.0





^ permalink raw reply	[flat|nested] 84+ messages in thread

end of thread, other threads:[~2024-08-25 23:25 UTC | newest]

Thread overview: 84+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-25  5:55 [bug#54560] [PATCH 00/47] gnu: Add go-github-com-prometheus-prometheus Leo Nikkilä
2022-03-25 13:31 ` [bug#54560] [PATCH 01/47] gnu: Add go-google-golang-org-protobuf Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 02/47] gnu: go-github-com-golang-protobuf-proto: Update to 1.5.2 Leo Nikkilä
2022-03-25 19:12     ` Maxime Devos
2022-03-25 22:55       ` Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 03/47] gnu: Add go-github-com-golang-protobuf-ptypes Leo Nikkilä
2022-03-25 19:14     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 04/47] gnu: go-github-com-prometheus-client-golang: Update to 1.12.1 Leo Nikkilä
2022-03-25 19:19     ` Maxime Devos
2022-03-25 19:20     ` Maxime Devos
2022-03-25 19:22     ` Maxime Devos
2022-03-25 19:23     ` Maxime Devos
2022-03-25 19:24     ` Maxime Devos
2022-03-25 22:55       ` Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 05/47] gnu: Add go-github-com-asaskevich-govalidator Leo Nikkilä
2022-03-25 19:26     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 06/47] gnu: Add go-github-com-dennwc-varint Leo Nikkilä
2022-03-25 19:30     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 07/47] gnu: Add go-github-com-edsrzf-mmap-go Leo Nikkilä
2022-03-25 19:33     ` Maxime Devos
2022-03-25 19:35     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 08/47] gnu: Add go-github-com-go-logfmt-logfmt Leo Nikkilä
2022-03-25 19:38     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 09/47] gnu: Add go-github-com-go-kit-log Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 10/47] gnu: Add go-github-com-go-stack-stack Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 11/47] gnu: Add go-github-com-josharian-intern Leo Nikkilä
2022-03-25 19:40     ` Maxime Devos
2022-03-25 19:41     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 12/47] gnu: Add go-github-com-julienschmidt-httprouter Leo Nikkilä
2022-03-25 19:47     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 13/47] gnu: Add go-github-com-mailru-easyjson Leo Nikkilä
2022-03-25 19:49     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 14/47] gnu: Add go-github-com-modern-go-concurrent Leo Nikkilä
2022-03-25 19:50     ` Maxime Devos
2022-03-25 19:51     ` Maxime Devos
2022-03-25 13:31   ` [bug#54560] [PATCH 15/47] gnu: Add go-github-com-modern-go-reflect2 Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 16/47] gnu: Add go-github-com-montanaflynn-stats Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 17/47] gnu: Add go-github-com-mwitkow-go-conntrack Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 18/47] gnu: Add go-github-com-oklog-run Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 19/47] gnu: Add go-github-com-oklog-ulid Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 20/47] gnu: Add go-github-com-opentracing-contrib-go-stdlib Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 21/47] gnu: Add go-github-com-puerkitobio-urlesc Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 22/47] gnu: Add go-github-com-puerkitobio-purell Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 23/47] gnu: Add go-github-com-shurcool-httpgzip Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 24/47] gnu: Add go-github-com-shurcool-httpfs Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 25/47] gnu: Add go-github-com-shurcool-vfsgen Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 26/47] gnu: Add go-github-com-simonpasquier-klog-gokit Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 27/47] gnu: Add go-github-com-simonpasquier-klog-gokit-v3 Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 28/47] gnu: Add go-github-com-tidwall-pretty Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 29/47] gnu: Add go-github-com-uber-jaeger-lib Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 30/47] gnu: Add go-github-com-uber-jaeger-client-go Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 31/47] gnu: Add go-github-com-youmark-pkcs8 Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 32/47] gnu: Add go-go-uber-org-goleak Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 33/47] gnu: Add go-gopkg-in-alecthomas-kingpin.v2 Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 34/47] gnu: Add go-github-com-json-iterator-go Leo Nikkilä
2022-03-25 13:31   ` [bug#54560] [PATCH 35/47] gnu: Add go-go-mongodb-org-mongo-driver Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 36/47] gnu: Add go-github-com-go-openapi-errors Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 37/47] gnu: Add go-github-com-go-openapi-swag Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 38/47] gnu: Add go-github-com-go-openapi-jsonpointer Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 39/47] gnu: Add go-github-com-go-openapi-jsonreference Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 40/47] gnu: Add go-github-com-go-openapi-spec Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 41/47] gnu: Add go-github-com-go-openapi-strfmt Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 42/47] gnu: Add go-github-com-go-openapi-analysis Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 43/47] gnu: Add go-github-com-go-openapi-loads Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 44/47] gnu: Add go-github-com-go-openapi-validate Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 45/47] gnu: Add go-github-com-prometheus-alertmanager-api Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 46/47] gnu: Add go-github-com-prometheus-exporter-toolkit Leo Nikkilä
2022-03-25 19:52     ` Maxime Devos
2022-03-25 22:55       ` Leo Nikkilä
2022-03-25 13:32   ` [bug#54560] [PATCH 47/47] gnu: Add go-github-com-prometheus-prometheus Leo Nikkilä
2022-03-25 20:04     ` Maxime Devos
2022-03-25 20:05     ` Maxime Devos
2022-03-25 22:55       ` Leo Nikkilä
2022-03-25 19:09   ` [bug#54560] [PATCH 01/47] gnu: Add go-google-golang-org-protobuf Maxime Devos
2022-03-25 19:15   ` Maxime Devos
2022-03-25 22:55     ` Leo Nikkilä
2022-03-26  9:31       ` Maxime Devos
2022-03-25 19:55 ` [bug#54560] [PATCH 00/47] gnu: Add go-github-com-prometheus-prometheus Maxime Devos
2022-03-25 19:59 ` Maxime Devos
2022-03-25 22:53   ` Leo Nikkilä
2022-03-26  9:18     ` Maxime Devos
2022-03-26  9:36     ` Maxime Devos
2024-05-23 15:20 ` Sharlatan Hellseher
2024-08-25 23:23 ` Sharlatan Hellseher

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).