-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: move some stuff from mz_storage_client::client to mz_storage…
…_client::statistics
- Loading branch information
Showing
11 changed files
with
232 additions
and
149 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,5 @@ pub mod controller; | |
pub mod healthcheck; | ||
pub mod metrics; | ||
pub mod sink; | ||
pub mod statistics; | ||
pub mod util; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Copyright Materialize, Inc. and contributors. All rights reserved. | ||
// | ||
// Use of this software is governed by the Business Source License | ||
// included in the LICENSE file. | ||
// | ||
// As of the Change Date specified in that file, in accordance with | ||
// the Business Source License, use of this software will be governed | ||
// by the Apache License, Version 2.0. | ||
|
||
// buf breaking: ignore (does currently not require backward-compatibility) | ||
|
||
syntax = "proto3"; | ||
|
||
import "repr/src/global_id.proto"; | ||
|
||
import "google/protobuf/empty.proto"; | ||
|
||
package mz_storage_client.statistics; | ||
|
||
message ProtoSourceStatisticsUpdate { | ||
mz_repr.global_id.ProtoGlobalId id = 1; | ||
|
||
uint64 worker_id = 100; | ||
|
||
uint64 messages_received = 2; | ||
uint64 updates_staged = 3; | ||
uint64 updates_committed = 4; | ||
uint64 bytes_received = 5; | ||
|
||
uint64 envelope_state_records = 7; | ||
uint64 envelope_state_bytes = 6; | ||
optional int64 rehydration_latency_ms = 8; | ||
|
||
bool snapshot_committed = 11; | ||
} | ||
|
||
message ProtoSinkStatisticsUpdate { | ||
mz_repr.global_id.ProtoGlobalId id = 1; | ||
|
||
uint64 worker_id = 100; | ||
|
||
uint64 messages_staged = 2; | ||
uint64 messages_committed = 3; | ||
uint64 bytes_staged = 4; | ||
uint64 bytes_committed = 5; | ||
} |
Oops, something went wrong.