Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] allow configuration to disable dashboard #1811

Closed
blysik opened this issue Feb 1, 2017 · 4 comments
Closed

[enhancement] allow configuration to disable dashboard #1811

blysik opened this issue Feb 1, 2017 · 4 comments

Comments

@blysik
Copy link

blysik commented Feb 1, 2017

Allow configuration to somehow completely disable the django dashboard stuff.

(Or provide alternate config on how to accomplish it.)

We use grafana as the front-end, and don't want to support the built-in dashboard/

@mocomoc
Copy link

mocomoc commented Feb 9, 2017

+1

@DanCech
Copy link
Member

DanCech commented Feb 9, 2017

This could be done via a relatively small change in webapp/graphite/urls.py to select which routes get added to graphite_urls

@blysik
Copy link
Author

blysik commented Feb 9, 2017

Aha! so it looks like I could remove the following lines, and limit graphite-web to only render functionality?

  ('^admin/', include(admin.site.urls)),
  ('^composer/?', include('graphite.composer.urls')),
  ('^browser/?', include('graphite.browser.urls')),
  ('^account/?', include('graphite.account.urls')),
  ('^dashboard/?', include('graphite.dashboard.urls')),
  ('^content/(?P<path>.*)$', 'django.views.static.serve', {'document_root' : settings.CONTENT_DIR})
  ('', 'graphite.browser.views.browser'),

Looks like the CLI urls can be removed as well.

@deniszh deniszh added this to the 1.1.0 milestone Mar 20, 2017
@deniszh deniszh modified the milestones: 1.1.0, 1.2.0 Nov 19, 2017
@stale
Copy link

stale bot commented Apr 13, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 13, 2020
@stale stale bot closed this as completed Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants