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

chore: small improvements gacli #3789

Merged
merged 3 commits into from
Nov 29, 2023
Merged

chore: small improvements gacli #3789

merged 3 commits into from
Nov 29, 2023

Conversation

julienrbrt
Copy link
Member

Fixes do not track logic.

@julienrbrt julienrbrt added the skip-changelog Don't check changelog for new entries label Nov 29, 2023
@julienrbrt julienrbrt marked this pull request as ready for review November 29, 2023 16:15
@@ -22,7 +22,6 @@ require (
github.com/99designs/keyring v1.2.2
github.com/AlecAivazis/survey/v2 v2.3.7
github.com/DATA-DOG/go-sqlmock v1.5.0
github.com/Pallinder/go-randomdata v1.2.0
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should not add external libraries for everything. Here it was used only for random names.
Which I find overkilled to have a library for that. We can as well just use the hostname.

@Pantani Pantani merged commit 39ad038 into feat/ga-analytics Nov 29, 2023
@Pantani Pantani deleted the julien/analytics branch November 29, 2023 16:18
ilgooz pushed a commit that referenced this pull request Dec 1, 2023
* add googla analytics

* add doNotTrack env var

* add changelog

* add anlytics into a cobra command

* improve analyticcs

* run make format

* fix file check

* fix env var

* fix send metrics in parallel

* move vars to const

* Update ignite/cmd/ignite/analytics.go

Co-authored-by: Jerónimo Albi <[email protected]>

* Update ignite/cmd/ignite/main.go

Co-authored-by: Jerónimo Albi <[email protected]>

* improve analytics msg

* update ga pkg

* improve analytics init

* use http post request instate a libraty

* add GA Client ID

* use postform instead newrequest

* use set instead literals for url.Values

* add ga4 http metric send

* fix url and values

* chore: small improvements gacli (#3789)

* chore: small improvements gacli

* duplicate

* remove sensitive data

* remove sensitive data and improve the parameters

* refactor: good default http client for ga (#3791)

* refactor: good default http client

* use client

* ilker feedback

* lint

* remove `Pallinder/go-randomdata` pkg

* set the ignite telemetry endpoint

* remove the url from the pkg and change some var names

* move telemetry to the internal package

* use snake case for anon identity file

---------

Co-authored-by: Pantani <Pantani>
Co-authored-by: Jerónimo Albi <[email protected]>
Co-authored-by: Julien Robert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog Don't check changelog for new entries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants