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

Have way of disabling sign-in/update/netdata cloud links in default dashboard #9362

Closed
saintaardvark opened this issue Jun 17, 2020 · 9 comments
Assignees
Labels
feature request New features needs triage Issues which need to be manually labelled

Comments

@saintaardvark
Copy link

saintaardvark commented Jun 17, 2020

Feature idea summary

It would be great to have a version of the default dashboard that did not include sign-in/update/netdata cloud links.

Expected behavior

The default dashboard is a great summary of activity on the system, but for my users the sign-in, update and netdata cloud buttons will be confusing or irrelevant. I could imagine a couple mechanisms for achieving this:

  • A configuration switch, like the one already in place to turn off Google Analytics, to turn off some or all of these features.

  • Another demo page (like the ones already in web/gui) that duplicates the functionality of the index page, but without the sign-in/etc.

A couple questions
  • As I understand it, the default page is configured in a different way than custom dashboards. Is there somewhere I can see the charts that are used to build that page?

  • Would you be open to a PR to add a demo page that implemented this?

Edit: After playing with the dashboard a bit, I realized that npm run start:node-view is pretty much exactly what I'm after. Is there a way to have that view in a separate page?

@saintaardvark saintaardvark added feature request New features needs triage Issues which need to be manually labelled labels Jun 17, 2020
@saintaardvark saintaardvark changed the title d Have way of disabling sign-in/update/netdata cloud links in default dashboard Jun 17, 2020
@manos-saratsis
Copy link

@saintaardvark Thx for sharing your thoughts. We already provide this option, see:
https://learn.netdata.cloud/docs/agent/aclk#disable-the-aclk

@saintaardvark
Copy link
Author

saintaardvark commented Jun 23, 2020

Hi @manos-saratsis -- thanks very kindly for pointing that out to me...I had completely missed it when going through the Netdata documentation. That configuration option is perfect for not displaying the sign-in buttons.

However, I'm still left wondering:

  • Is there a way to disable the "updates available" button?

  • Is there a way to have the view shown by npm run start:node-view in a separate page?

  • As I understand it, the default page is configured in a different way than custom dashboards. Is there somewhere I can see the charts that are used to build that page?

Many thanks in advance for any help you can give.

@jacekkolasa
Copy link
Contributor

hi @saintaardvark !
Currently we don't have an option to disable "updates available" button. To do it, we would need to add a flag to netdata.conf and expose it via api. I'm not sure how big priority would that be, @dim08 what do you think?

Currently there is also no option to display dashboard from npm run start:node-view task, this was done only for development purposes. There are no installation scripts to support that build. But if that suits you, you can do it manually: replace ...npm run start at the end of this task with ...npm run build, remove REACT_APP_IS_MAIN_DASHBOARD=true from "build": task, and run npm run start:node-view. Then you'll have the app built in /build directory, you just need to host it.

As I understand it, the default page is configured in a different way than custom dashboards. Is there somewhere I can see the charts that are used to build that page?

The default dashboard is built dynamically, based on /dashboard_info.js and output of /api/v1/charts. There is no static html here. If you want to see those charts configuration you can do it by inspecting elements in browser console, for example by doing: $("[data-netdata]")

@manos-saratsis
Copy link

manos-saratsis commented Jun 24, 2020

@saintaardvark we do not plan to disable the "updates available"

@saintaardvark
Copy link
Author

Hey @manos-saratsis and @jacekkolasa - many thanks for the additional info, this helps a lot!

@haldi4803
Copy link

@saintaardvark Thx for sharing your thoughts. We already provide this option, see: https://learn.netdata.cloud/docs/agent/aclk#disable-the-aclk

works pretty well with editing the cloud.conf file to no.
But is there a docker variable for this?

@MrZammler
Copy link
Contributor

@saintaardvark Thx for sharing your thoughts. We already provide this option, see: https://learn.netdata.cloud/docs/agent/aclk#disable-the-aclk

works pretty well with editing the cloud.conf file to no. But is there a docker variable for this?

Hi @haldi4803

Can you try with this #13106 ?

@sijanec
Copy link

sijanec commented Feb 9, 2024

Hello! I added the following configuration

# /var/lib/netdata/cloud.d/cloud.conf
[global]
    enabled = no

But the Sign in button and the Netdata Cloud advertising bar on the top of the page are still visible. What configuration do I use to remove the advertisements and cloud functionality from the web UI?
slika

From the network log I see netdata's UI is also connecting to some tracking servers. Is it possible to remove analytics and tracking from the dashboard with a configuration option? Netdata's UI connects to Google, Cloudfront, Posthog, Primsic and Amazon, as far as Ublock Origin reports.

@Rush
Copy link

Rush commented Feb 14, 2024

@sijanec I have the very same questions. While I appreciate the ability to use Netdata Cloud, I also need an ability to self-host without losing of privacy and without the confusion of different cloud Sign In buttons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New features needs triage Issues which need to be manually labelled
Projects
None yet
Development

No branches or pull requests

8 participants