report: Fetching latest OPA release version from GH#7756
report: Fetching latest OPA release version from GH#7756johanfylling merged 5 commits intoopen-policy-agent:mainfrom
Conversation
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
✅ Deploy Preview for openpolicyagent ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
|
||
| gatherers map[string]Gatherer | ||
| gatherersMtx sync.Mutex | ||
| type Reporter interface { |
There was a problem hiding this comment.
Making Reporter an interface might be overkill as it's pretty unlikely someone relies on this, but this way it's possible to swap in a bespoke reporter for posting meta.
The type change is however a breaking change to report.New(), but as said above: very unlikely someone is using this today.
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
srenatus
left a comment
There was a problem hiding this comment.
We'll never know if someone implemented their own telemetry endpoint... but if so, they can use the old report package's code in their project, I suppose...so it's probably OK.
LGTM 🚀
internal/report/report.go
Outdated
| "id": id, | ||
| "version": version.Version, | ||
| } | ||
| func New(_ string, opts Options) (Reporter, error) { |
There was a problem hiding this comment.
Since we're breaking back-compat anyways, why not drop the first parameter? 😉
| body map[string]any | ||
| client rest.Client | ||
|
|
||
| gatherers map[string]Gatherer |
There was a problem hiding this comment.
Is there some more gatherer-related code we can get rid off now? 🤔
Thought about it again, it'll be a hassle if someone did that.... Let's hope nobody did 🙃 |
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
|
Fixes #7739 |
Rename telemetry functionality to version checking to accurately reflect current behavior following open-policy-agent#7756. The system only checks GitHub releases for version updates without sending any data about the OPA instance and so the privacy docs have been updated too. Signed-off-by: Charlie Egan <charlie_egan@apple.com>
Rename telemetry functionality to version checking to accurately reflect current behavior following open-policy-agent#7756. The system only checks GitHub releases for version updates without sending any data about the OPA instance and so the privacy docs have been updated too. Signed-off-by: Charlie Egan <charlie_egan@apple.com>
Rename telemetry functionality to version checking to accurately reflect current behavior following open-policy-agent#7756. The system only checks GitHub releases for version updates without sending any data about the OPA instance and so the privacy docs have been updated too. Signed-off-by: Charlie Egan <charlie_egan@apple.com>
Rename telemetry functionality to version checking to accurately reflect current behavior following open-policy-agent#7756. The system only checks GitHub releases for version updates without sending any data about the OPA instance and so the privacy docs have been updated too. Signed-off-by: Charlie Egan <charlie_egan@apple.com>
Rename telemetry functionality to version checking to accurately reflect current behavior following open-policy-agent#7756. The system only checks GitHub releases for version updates without sending any data about the OPA instance and so the privacy docs have been updated too. Signed-off-by: Charlie Egan <charlie_egan@apple.com>
Rename telemetry functionality to version checking to accurately reflect current behavior following open-policy-agent#7756. The system only checks GitHub releases for version updates without sending any data about the OPA instance and so the privacy docs have been updated too. Signed-off-by: Charlie Egan <charlie_egan@apple.com>
Rename telemetry functionality to version checking to accurately reflect current behavior following open-policy-agent#7756. The system only checks GitHub releases for version updates without sending any data about the OPA instance and so the privacy docs have been updated too. Signed-off-by: Charlie Egan <charlie_egan@apple.com>
Rename telemetry functionality to version checking to accurately reflect current behavior following open-policy-agent#7756. The system only checks GitHub releases for version updates without sending any data about the OPA instance and so the privacy docs have been updated too. Signed-off-by: Charlie Egan <charlie_egan@apple.com>
Rename telemetry functionality to version checking to accurately reflect current behavior following open-policy-agent#7756. The system only checks GitHub releases for version updates without sending any data about the OPA instance and so the privacy docs have been updated too. Signed-off-by: Charlie Egan <charlie_egan@apple.com>
* runtime: Correct naming of version checking code Rename telemetry functionality to version checking to accurately reflect current behavior following #7756. The system only checks GitHub releases for version updates without sending any data about the OPA instance and so the privacy docs have been updated too. Signed-off-by: Charlie Egan <charlie_egan@apple.com> * Make WithTelemetryGatherers a no-op Deprecate WithTelemetryGatherers since telemetry gathering has been removed. The function now returns a no-op to maintain API compatibility without breaking existing code that might uses it. Signed-off-by: Charlie Egan <charlie_egan@apple.com> --------- Signed-off-by: Charlie Egan <charlie_egan@apple.com>
…t#8191) * runtime: Correct naming of version checking code Rename telemetry functionality to version checking to accurately reflect current behavior following open-policy-agent#7756. The system only checks GitHub releases for version updates without sending any data about the OPA instance and so the privacy docs have been updated too. Signed-off-by: Charlie Egan <charlie_egan@apple.com> * Make WithTelemetryGatherers a no-op Deprecate WithTelemetryGatherers since telemetry gathering has been removed. The function now returns a no-op to maintain API compatibility without breaking existing code that might uses it. Signed-off-by: Charlie Egan <charlie_egan@apple.com> --------- Signed-off-by: Charlie Egan <charlie_egan@apple.com>
instead of telemetry server.