You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLOUDP-314921 Telemetry for authentication modes (#62)
# Summary
Adds Telemetry support for Authentication mode and Agent Authentication
Mode. New fields `authenticationModes` and `authenticationAgentModes`
will take any value passed from CRD.
Because of the limitations of Telemetry subsystem used (Segment) we need
to send flat `map[string]any` without any nested fields. For multiple
Authentication modes we will flatten the values to
`authenticationMode***` where `***` is one of the possible modes
specified in the CRD. For example when `SCRAM` and `OIDC` are enabled we
will send telemetry output:
```go
{
[...]
"authenticationModeOIDC": true,
"authenticationModeSCRAM": true,
"authenticationAgentMode": util.SCRAM,
}
```
## Proof of Work
Passing unit tests.
## Checklist
- [x] Have you linked a jira ticket and/or is the ticket in the title?
- [x] Have you checked whether your jira ticket required DOCSP changes?
- [ ] Have you checked for release_note changes?
## Reminder (Please remove this when merging)
- Please try to Approve or Reject Changes the PR, keep PRs in review as
short as possible
- Our Short Guide for PRs:
[Link](https://docs.google.com/document/d/1T93KUtdvONq43vfTfUt8l92uo4e4SEEvFbIEKOxGr44/edit?tab=t.0)
- Remember the following Communication Standards - use comment prefixes
for clarity:
* **blocking**: Must be addressed before approval.
* **follow-up**: Can be addressed in a later PR or ticket.
* **q**: Clarifying question.
* **nit**: Non-blocking suggestions.
* **note**: Side-note, non-actionable. Example: Praise
* --> no prefix is considered a question
---------
Co-authored-by: Lucian Tosa <[email protected]>
Co-authored-by: Anand <[email protected]>
Co-authored-by: Lucian Tosa <[email protected]>
0 commit comments