summaryrefslogtreecommitdiff
path: root/gnu/packages/monitoring.scm
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2025-09-14 19:04:50 +0200
committerAndreas Enge <andreas@enge.fr>2025-09-14 19:04:50 +0200
commitbd73cbc6c32bd5f559f11678e6eb4d658bdb642c (patch)
tree3c2669fa51526f35b02714f80347f65fa577295b /gnu/packages/monitoring.scm
parente49d0da8493baa06af8592beb19c345202f32252 (diff)
gnu: Remove graphite-web.
* gnu/packages/monitoring.scm (graphite-web): Delete variable. Change-Id: I0e7b8506d8690c8efc083f82373b221729b23e96
Diffstat (limited to 'gnu/packages/monitoring.scm')
-rw-r--r--gnu/packages/monitoring.scm65
1 files changed, 0 insertions, 65 deletions
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 5f6d6615878..cc5bf3e5dc0 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -467,71 +467,6 @@ caching them in memory for \"hot queries\" from the Graphite-Web application,
467and persisting them to disk using the Whisper time-series library.") 467and persisting them to disk using the Whisper time-series library.")
468 (license license:asl2.0))) 468 (license license:asl2.0)))
469 469
470(define-public graphite-web
471 (let ((commit "49c28e2015d605ad9ec93524f7076dd924a4731a")
472 (revision "2"))
473 (package
474 (name "graphite-web")
475 (version (git-version "1.1.10" revision commit))
476 (source
477 (origin
478 (method git-fetch)
479 (uri (git-reference
480 (url "https://github.com/graphite-project/graphite-web")
481 (commit commit)))
482 (file-name (git-file-name name version))
483 (sha256
484 (base32 "0bcc6jh7gyp8f54dzy4zza1z46gk3530r952pi86irf834z106sg"))))
485 (build-system pyproject-build-system)
486 (arguments
487 `(#:tests? #f ;XXX: Requires database, unable to run now
488 #:phases
489 (modify-phases %standard-phases
490 (add-after 'unpack 'relax-requirements
491 (lambda _
492 (substitute* "setup.py"
493 ;; Allow newer versions of django-tagging.
494 (("django-tagging==") "django-tagging>=")
495 ;; And Django.
496 (("Django>=3\\.2,<4") "Django>=4,<5"))))
497 ;; Don't install to /opt
498 (add-after 'unpack 'do-not-install-to-/opt
499 (lambda _ (setenv "GRAPHITE_NO_PREFIX" "1")))
500 (replace 'check
501 (lambda* (#:key tests? #:allow-other-keys)
502 (when tests?
503 (mkdir-p "storage/log/webapp")
504 (with-directory-excursion "webapp"
505 (invoke "./manage.py" "test" "--pythonpath=." "tests"
506 "-k" (string-join
507 (list
508 "not test_dashboard_save_temporary_xss_key"
509 "test_dashboard_save_temporary_xss_name")
510 " and not ")))))))))
511 (native-inputs
512 (list python-carbon
513 python-mock
514 python-pytest
515 python-rrdtool
516 python-setuptools
517 python-tzdata
518 python-wheel
519 python-whisper))
520 (propagated-inputs
521 (list python-cairocffi
522 python-django
523 python-django-tagging
524 python-pyparsing
525 python-pytz
526 python-six
527 python-urllib3))
528 (home-page "https://graphiteapp.org/")
529 (synopsis "Scalable realtime graphing system")
530 (description "Graphite is a scalable real-time graphing system that does
531two things: store numeric time-series data, and render graphs of this data on
532demand.")
533 (license license:asl2.0))))
534
535(define-public python-prometheus-client 470(define-public python-prometheus-client
536 (package 471 (package
537 (name "python-prometheus-client") 472 (name "python-prometheus-client")