-
Notifications
You must be signed in to change notification settings - Fork 228
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
feat(query): namespace cardinality publisher #1294
Conversation
coordinator/src/main/scala/filodb.coordinator/NamespaceCardinalityPublisher.scala
Outdated
Show resolved
Hide resolved
coordinator/src/main/scala/filodb.coordinator/NamespaceCardinalityPublisher.scala
Outdated
Show resolved
Hide resolved
coordinator/src/main/scala/filodb.coordinator/NamespaceCardinalityPublisher.scala
Outdated
Show resolved
Hide resolved
coordinator/src/main/scala/filodb.coordinator/NamespaceCardinalityPublisher.scala
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should wait until the other PR goes through.
Comments added for your consideration.
coordinator/src/main/scala/filodb.coordinator/NamespaceCardinalityPublisher.scala
Outdated
Show resolved
Hide resolved
coordinator/src/main/scala/filodb.coordinator/NamespaceCardinalityPublisher.scala
Outdated
Show resolved
Hide resolved
coordinator/src/main/scala/filodb.coordinator/NamespaceCardinalityPublisher.scala
Outdated
Show resolved
Hide resolved
coordinator/src/main/scala/filodb.coordinator/NamespaceCardinalityPublisher.scala
Outdated
Show resolved
Hide resolved
coordinator/src/main/scala/filodb.coordinator/NamespaceCardinalityPublisher.scala
Outdated
Show resolved
Hide resolved
coordinator/src/main/scala/filodb.coordinator/NamespaceCardinalityPublisher.scala
Outdated
Show resolved
Hide resolved
coordinator/src/main/scala/filodb.coordinator/NamespaceCardinalityPublisher.scala
Outdated
Show resolved
Hide resolved
coordinator/src/main/scala/filodb.coordinator/ShardManager.scala
Outdated
Show resolved
Hide resolved
1dce982
to
1dd863b
Compare
8190b92
to
731d2ec
Compare
* use future.onComplete instead of queue * log query failures * kamon metrics renamed * class rename * kamon tags updated * instantiate TIM only if metering enabled in config * add TIM query delay to config * addl documentation
Rebased with the most recent |
2c73554 smuggles in a test that should have been included in the last PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Please address the two minor suggestions before pushing
Pull Request checklist
New behavior :
Adds a
TenantIngestionMetering
instance to the leaderNodeCoordinatorActor
(via theShardManager
). This periodically queries aNodeCoordinatorActor
for namespace-level cardinality data, then it publishes the results asKamon
metrics.