← Back to team overview

graphite-dev team mailing list archive

Re: [Question #54887]: how to save graphs under User Graphs

 

Question #54887 on Graphite changed:
https://answers.launchpad.net/graphite/+question/54887

chrismd posted a new comment:
In order to save graphs under 'My Graphs' and 'User Graphs' you simply
need to log into Graphite and the Save/Delete buttons will then appear
on the top of the Composer window. To log in you need to either create
an account for yourself in the Django database or setup LDAP
authentication. LDAP authentication is setup through local_settings.py,
check out the example file's comments for details on doing that (or just
ask if you run into any issues). However if you're not using LDAP its
pretty easy to create a local user in Django's database using the Django
admin interface.

When you first installed Graphite there was a step where you had to
initialize the database by running 'manage.py syncdb'. That prompted you
to create an admin user, if you did that already you're good to go.
Otherwise you need to create an admin user by running 'manage.py
createsuperuser'.

Once your admin user is setup you can go to the django admin interface
by visiting http://my-graphite-server/admin/ (note: the trailing slash
is required!) and logging in as your admin user. From there you need to
create a new user account by clicking 'Add' under the 'Users' section.
After that, go back to the main Graphite page. You may need to logout if
it thinks you're still the admin user. Then log back in as you're new
user and you should be able to save graphs! Also once logged in you have
the ability to set profile options. Currently there is only 1 option,
the "advanced UI features" option. Enabling that puts a '*' element in
every folder that has more than one element, making it easier to use
wildcards when you build graphs.

Hope that helps.

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.