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

Disabling telemetry on the lab docker image #104

Open
Zzz-ams opened this issue Nov 20, 2024 · 4 comments
Open

Disabling telemetry on the lab docker image #104

Zzz-ams opened this issue Nov 20, 2024 · 4 comments

Comments

@Zzz-ams
Copy link

Zzz-ams commented Nov 20, 2024

Hello,

I am seeing google telemetry in the frontend, when running it through the lab docker image.
Is there a easy way to disable that telemetry?

For the memgraph mage docker image, there is the command to disable it with --telemetry-enabled=false

https://region1.analytics.google.com/
@katarinasupe
Copy link
Contributor

Hi @Zzz-ams, you can find this in the Memgraph Lab settings (starting with v2.18). It will be saved in the browser storage for future usage (same host:port).

Screenshot 2024-11-20 at 10 29 12

I hope that helps :D

@Zzz-ams
Copy link
Author

Zzz-ams commented Nov 20, 2024

Hey, thanks.

Is there a way to do that through environment variables of the docker image, or a configuration change in the docker image?

Also I am still seeing analytics calls in the network after those have been unchecked. Is that a bug?

(With the following image: docker.io/memgraph/lab latest 5a0ee2b799a8 12 days ago)

@tonilastre
Copy link
Contributor

Hmm, I am curious if it is a cache thing or not. Can you try with hard refresh or see how it works in incognito mode (fresh mode - you will need to untick the boxes in the settings again because of the fresh state)?

Re: env variable setup - this is a good suggestion! We will add it to our backlog!

@Zzz-ams
Copy link
Author

Zzz-ams commented Nov 20, 2024

Hmm. Might have been a cache thing.

Thanks.


Also a hacky solution can be removing the address of the analytics.

FROM docker.io/memgraph/lab:latest

RUN sed -i -e "s@https://cdn.segment.com/analytics.js/v1/@/@" /home/lab/dist-backend/index.js
EXPOSE 3000
CMD ["node", "dist-backend/index.js"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants