graphite-api icon indicating copy to clipboard operation
graphite-api copied to clipboard

graphite-api service missing in ubuntu 16.04 install

Open sudhirjena opened this issue 5 years ago • 0 comments

I installed graphite-api 1.1.2 using sudo apt-get install graphite-api

The installed version was verified using

$ sudo dpkg -s graphite-api
Package: graphite-api
Status: install ok installed
Priority: extra
Section: web
Installed-Size: 765
Maintainer: Ubuntu Developers <[email protected]>
Architecture: all
Version: 1.1.2-1
Depends: python3-cairocffi, python3-flask, python3-pyparsing, python3-six, python3-structlog, python3-tz, python3-tzlocal, python3-yaml, python3:any (>= 3.3.2-2~), adduser
Suggests: gunicorn3 | uwsgi-plugin-python3 | libapache2-mod-wsgi-py3
Conffiles:
 /etc/graphite-api.yaml 4b0fa197a064379c71dfd4b8b2a12c78
 /etc/logrotate.d/graphite-api 27d5ee5fee0f0e212c4de64b19494bf4
Description: Enterprise Scalable Realtime Graphing (API-only frontend)
 Graphite consists of a storage backend and a web-based visualization
 frontend. Client applications send streams of numeric time-series
 data to the Graphite backend (called carbon), where it gets stored in
 fixed-size database files similar in design to RRD.
 .
 Graphite-API is an alternative to Graphite-web, without any built-in
 dashboard. Its role is solely to fetch metrics from a time-series
 database and rendering graphs or JSON data out of these time
 series. It is meant to be consumed by any of the numerous Graphite
 dashboard applications.
Original-Maintainer: Debian Graphite Group <[email protected]>
Homepage: https://github.com/brutasse/graphite-api/

However the above installation doesn't create a systemd service. So when I run using sudo systemctl start graphite-api I get Failed to start graphite-api.service: Unit graphite-api.service not found.

This is in contrast to the documentation which says

Once installed, Graphite-api should be running as a service and available on port 8888. The package contains all the optional dependencies.

sudhirjena avatar May 15 '19 17:05 sudhirjena