Skip to content

feat(telemetryrouter): partial TelemetryRouter update waiter - #13297

Open
ozanichkovsky wants to merge 4 commits into
stackitcloud:mainfrom
ozanichkovsky:feature/telemetry-router-partial-update-waiter
Open

ozanichkovsky wants to merge 4 commits into
stackitcloud:mainfrom
ozanichkovsky:feature/telemetry-router-partial-update-waiter

Conversation

@ozanichkovsky

Copy link
Copy Markdown
Contributor

Description

Adds waiter for the new PartialUpdateTelemetryRouter operation

Checklist

  • Issue was linked above
  • No generated code was adjusted manually (check comments in file header)
  • Changelogs
    • Changelog in the root directory was adjusted (see here)
    • Changelog(s) of the service(s) were adjusted (see e.g. here)
  • VERSION file(s) of the service(s) were adjusted
  • Code format was applied: make fmt
  • Examples were added / adjusted (see examples/ directory)
  • Unit tests got implemented or updated
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@ozanichkovsky
ozanichkovsky requested a review from a team as a code owner October 26, 2026 21:47
Comment thread CHANGELOG.md Outdated
Filter *ConfigFilter `json:"filter,omitempty"`
DisplayName *string `json:"displayName,omitempty" validate:"regexp=^[a-zA-Z0-9][a-zA-Z0-9 \\-]*$"`
Filter *ConfigFilter `json:"filter,omitempty"`
ResourceLabels *map[string]string `json:"resourceLabels,omitempty"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The ResourceLabels were added as well. This should be covered in the changelog.

// ConfigFilterAttributes struct for ConfigFilterAttributes
type ConfigFilterAttributes struct {
Key string `json:"key"`
Key string `json:"key" validate:"regexp=^[^\\0-\\x1F\\x7F-\\x9F]+$"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Here a validation was added which should be mentioned in the changelog as well (breaking change)

BasicAuth *DestinationConfigOpenTelemetryBasicAuth `json:"basicAuth,omitempty"`
// A bearer token to authenticate at the OpenTelemetry URI.
BearerToken *string `json:"bearerToken,omitempty"`
BearerToken *string `json:"bearerToken,omitempty" validate:"regexp=^[^\\0-\\x1F\\x7F-\\x9F]+$"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same here

BearerToken *string `json:"bearerToken,omitempty" validate:"regexp=^[^\\0-\\x1F\\x7F-\\x9F]+$"`
// The URI for reaching the resource.
Uri string `json:"uri"`
Uri string `json:"uri" validate:"regexp=^[^\\0-\\x1F\\x7F-\\x9F]+$"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

and here

Password string `json:"password"`
Username string `json:"username"`
Password string `json:"password" validate:"regexp=^[^\\0-\\x1F\\x7F-\\x9F]+$"`
Username string `json:"username" validate:"regexp=^[^\\0-\\x1F\\x7F-\\x9F]+$"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

and here

Bucket string `json:"bucket" validate:"regexp=^[a-z0-9\\-]+$"`
// The URI for reaching the resource.
Endpoint string `json:"endpoint"`
Endpoint string `json:"endpoint" validate:"regexp=^[^\\0-\\x1F\\x7F-\\x9F]+$"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

and here

Id string `json:"id"`
Secret string `json:"secret"`
Id string `json:"id" validate:"regexp=^[^\\0-\\x1F\\x7F-\\x9F]+$"`
Secret string `json:"secret" validate:"regexp=^[^\\0-\\x1F\\x7F-\\x9F]+$"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

and here

// The description is a longer text chosen by the user to provide more context for the resource.
Description *string `json:"description,omitempty" validate:"regexp=^([a-zA-Z0-9][a-zA-Z0-9 \\-]*)?$"`
// The number of destinations configured for the telemetry router.
DestinationCount *int32 `json:"destinationCount,omitempty"`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This field is new as well, which should be mentioned in the changelog

Comment thread examples/telemetryrouter/telemetryrouter.go Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants