Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Remove telemetry #3636

Merged
merged 1 commit into from
Aug 27, 2022
Merged

Remove telemetry #3636

merged 1 commit into from
Aug 27, 2022

Conversation

kingdonb
Copy link
Member

@kingdonb kingdonb commented Aug 26, 2022

Fixes #3633

Make a clean break from "github.com/weaveworks/go-checkpoint" without any salient change to behavior or outputs

@kingdonb kingdonb force-pushed the remove-telemetry branch 2 times, most recently from 2d87f63 to 6d294c8 Compare August 26, 2022 21:33
@kingdonb kingdonb marked this pull request as ready for review August 26, 2022 21:38
@kingdonb kingdonb changed the title WIP: Remove telemetry Remove telemetry Aug 26, 2022
@kingdonb kingdonb mentioned this pull request Aug 26, 2022
Copy link
Member

@pjbgf pjbgf left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks @kingdonb! 🙇

We are removing all of the telemetry code as it is not needed, and being
on by default it may be contrary to CNCF policies around telemetry.

* remove check function

With no telemetry, there's no need for these function implementations or
this syscall in this package anymore.

We need to preserve the cadence of checkpoint.go to avoid disturbing any
thing that would constitute a breaking change, but basically all of the
underlying behavior of check can go away, since every Flux v1 version is
out of date every time, we don't need any remote service or lookup to
tell if an update is needed. (It's always needed)

Users should follow the link to upgrade (eg. the migration guide)

Signed-off-by: Kingdon Barrett <kingdon@weave.works>

Update pkg/checkpoint/checkpoint.go

Signed-off-by: Kingdon Barrett <kingdon@weave.works>
Co-authored-by: Stefan Prodan <stefan.prodan@gmail.com>
@kingdonb kingdonb added this to the 1.25.4 milestone Aug 27, 2022
@kingdonb kingdonb merged commit 1f118d2 into fluxcd:master Aug 27, 2022
@kingdonb kingdonb deleted the remove-telemetry branch August 27, 2022 12:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove telemetry code
3 participants