jenkins-infra / helpdesk

Open your Infrastructure related issues here for the Jenkins project
https://github.com/jenkins-infra/helpdesk/issues/new/choose
17 stars 10 forks source link

migrate google analytics to v4 #3530

Open halkeye opened 1 year ago

halkeye commented 1 year ago

Service(s)

Other

Summary

when you go into https://analytics.google.com/

On July 1, 2023, this property will stop processing data. Starting in March 2023, for continued website measurement, you should create a new Google Analytics 4 (GA4) property, or one will be created for you based on your original property and reusing existing site tags.

When I click that link i get so someone with more permissions should go through it.

image

~Or we do a full migration to matomo~

Reproduction steps

No response

dduportal commented 1 year ago

If I log-in to https://analytics.google.com/ with my Google Account, I keep being redirected to a Welcome page proposing to "Start measuring". I assume I don't have the acces, not sure who would have them?

cc @olblak @MarkEWaite @timja ?

timja commented 1 year ago

I don't believe I have GA access, probably @olblak @rtyler or @oleg-nenashev

olblak commented 1 year ago

I granted administrator access to @dduportal and viewer access to @MarkEWaite and @timja @halkeye also has viewer access

Current administrator are KK, Tyler, @dduportal and myself

dduportal commented 1 year ago

I granted administrator access to @dduportal and viewer access to @MarkEWaite and @timja @halkeye also has viewer access

Current administrator are KK, Tyler, @dduportal and myself

Thanks @olblak However, you'vre granted me administration access to the analytics property itself, but not to the account: I have the same message as Gavin (You do not have the permission, contact the Admin account).

halkeye commented 1 year ago

@dduportal how do you feel about just moving everything to matomo? We get better data privacy. I can move the matamo (we use for plugins/stories) to the k8s cluster or something (instead of my droplet). Then we don't care what google does. We can give out more access, infact I already have anonymous access given out to give basic data.

dduportal commented 1 year ago

@dduportal how do you feel about just moving everything to matomo? We get better data privacy. I can move the matamo (we use for plugins/stories) to the k8s cluster or something (instead of my droplet). Then we don't care what google does. We can give out more access, infact I already have anonymous access given out to give basic data.

Make sense ! If it is ok for you, can you open an issue with the requirements for the k8s cluster and the database/storage ?

halkeye commented 1 year ago

@halkeye could you describe, in jenkins-infra/helpdesk#3530 or here, a summary of matomo: we're not against the fact of using it but we need to now what kind of service and requirements it has:

https://matomo.org/faq/on-premise/matomo-requirements/

My 2 GB Memory / 2 Intel vCPUs / 60 GB Disk droplet has been running matomo for plugins and stories for a couple years now without noticing anything at all.

Storage (to allow us anticipate the storage policy and backups) or any persistence storage

https://matomo.org/faq/on-premise/managing-your-databases-size/

I actually can't find the hits x size page i found earlier. I'll attach the current database report, but it looks like so far in about 2 years we've used like 6gb of sql data. (I did trigger data cleanup after 90 days last week though, i didn't realize we were storing everything forever). I think 3 years of data was like 30 gb?

I built the docker image so everything is in the container, no runtime disk persistence needed

Web service (are there different exposed services so we can check the DNS names/requirements for certificates and loadbalancing)

Just the PHP app

Screenshot 2023-06-04 at 09-51-05 Database usage - Administration - Matomo

halkeye commented 1 year ago

They have integration with oauth and ldap if want single login