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

Ingester client: configure cluster validation label via common configurations #10788

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

duricanikolic
Copy link
Contributor

@duricanikolic duricanikolic commented Mar 3, 2025

What this PR does

This PR ugrades dskit to the latest version, which enriched grpcclient.Config with an additional experimental configuration options for setting the cluster validation label, -cluster-validation-label.

Moreover, this PR introduces another experimental configuration option, -common.cluster-validation-label, which is inherited by -ingester.client.cluster-validation-label, and used during the creation of ingester gRPC clients.

Which issue(s) this PR fixes or relates to

Fixes #

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • about-versioning.md updated with experimental features.

@duricanikolic duricanikolic marked this pull request as draft March 3, 2025 23:39
Copy link
Contributor

github-actions bot commented Mar 3, 2025

@duricanikolic duricanikolic force-pushed the yuri/grpc-cluster-validation branch from 9dd57dd to 0161aef Compare March 3, 2025 23:42
@duricanikolic duricanikolic force-pushed the yuri/grpc-cluster-validation branch from ba77419 to 59daa07 Compare March 4, 2025 19:44
@duricanikolic duricanikolic force-pushed the yuri/grpc-cluster-validation branch 4 times, most recently from eb90433 to 0b9248d Compare March 4, 2025 23:55
@duricanikolic duricanikolic force-pushed the yuri/grpc-cluster-validation branch from 0b9248d to 4f13b8b Compare March 5, 2025 00:06
Copy link
Contributor

@tacole02 tacole02 left a comment

Choose a reason for hiding this comment

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

Looks good! One small nit.

@@ -510,6 +510,11 @@ storage:
# system as object storage backend.
# The CLI flags prefix for this block configuration is: common.storage
[filesystem: <filesystem_storage_backend>]

client_cluster_validation:
# (experimental) Optionally define client's cluster validation label.
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we say a client's or the client's (depending on which makes more sense)?

Copy link
Contributor

Choose a reason for hiding this comment

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

How about "Optionally define the cluster validation label to be sent by the client." or something like that, involving the verb "send", as it's unclear what the client (which client btw?) is going to do with the label?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have updated the description of this cli flag in grafana/dskit@fc58c4c

@@ -510,6 +510,11 @@ storage:
# system as object storage backend.
# The CLI flags prefix for this block configuration is: common.storage
[filesystem: <filesystem_storage_backend>]

client_cluster_validation:
# (experimental) Optionally define client's cluster validation label.
Copy link
Contributor

Choose a reason for hiding this comment

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

How about "Optionally define the cluster validation label to be sent by the client." or something like that, involving the verb "send", as it's unclear what the client (which client btw?) is going to do with the label?

@duricanikolic duricanikolic force-pushed the yuri/grpc-cluster-validation branch 2 times, most recently from fb55ce6 to 17741f8 Compare March 6, 2025 18:06
@duricanikolic duricanikolic force-pushed the yuri/grpc-cluster-validation branch from 17741f8 to 80900b8 Compare March 6, 2025 18:31
@duricanikolic duricanikolic force-pushed the yuri/grpc-cluster-validation branch from 145b51d to a1f6777 Compare March 7, 2025 18:30
@duricanikolic duricanikolic force-pushed the yuri/grpc-cluster-validation branch from a1f6777 to 841c5e0 Compare March 7, 2025 18:34
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