Repository navigation
feat(services): store cloudnet service metadata in the segments table - #142
Merged
Merged
Conversation
The plugin reports which CloudNet task, groups, node and stage a backend connection went to. The lake dropped these fields, so dashboards could not split staging from production or filter by task. The Iceberg segments table now keeps them next to backend_server. Segments from plugins that predate the fields are stored with empty values.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since the plugin started reporting CloudNet metadata, every backend connection knows which
CloudNet task, groups, node and stage it went to. The lake did not keep any of it. A dashboard
asking "how much traffic went to staging" or "which players are on the Lobby task" had nothing
to filter on, and the only way to tell staging from production was to guess from server names.
This change keeps those five fields in the Iceberg
segmentstable, next to the backend serverand game context that already describe a segment. Dashboards can now split staging from
production and group by task or node. Segments from plugins that predate the fields keep empty
values, so old and new data can be queried side by side. Postgres is unchanged.
The table has not been created in production yet, so the new columns are part of its first
layout and no schema evolution is needed. The lake layout docs describe the columns.