Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cantrepro/tsink
/ functions
Functions
5,563 in github.com/cantrepro/tsink
⨍
Functions
5,563
◇
Types & classes
1,107
↓ 29 callers
Function
append_u64
(out: &mut Vec<u8>, value: u64)
src/engine/binio.rs:23
↓ 29 callers
Method
insert_rows
(&self, rows: &[Row])
crates/tsink-server/src/cluster/distributed_storage.rs:272
↓ 29 callers
Function
make_storage
()
crates/tsink-server/src/server.rs:1629
↓ 29 callers
Function
parse_env
(name: &str, default: T)
benches/workload.rs:1247
↓ 29 callers
Function
read_u16
(bytes: &[u8], pos: &mut usize)
src/engine/binio.rs:45
↓ 29 callers
Function
scoped_storage
(inner: Arc<dyn Storage>, tenant_id: impl Into<String>)
crates/tsink-server/src/tenant.rs:1446
↓ 28 callers
Method
handle_append_request
( &self, request: InternalControlAppendRequest, )
crates/tsink-server/src/cluster/consensus.rs:731
↓ 28 callers
Method
layout
(&self)
src/engine/segment/writer.rs:43
↓ 28 callers
Function
persistent_numeric_storage
( root: &Path, timestamp_precision: TimestampPrecision, chunk_point_cap: usize, )
src/engine/tests/fixtures/persisted.rs:4
↓ 27 callers
Function
admin_handoff_error_response
( status: u16, code: &str, message: impl Into<String>, )
crates/tsink-server/src/handlers.rs:4063
↓ 27 callers
Method
insert_rows
(&self, rows: Vec<Row>)
src/async.rs:210
↓ 27 callers
Method
with_downsample
(mut self, interval: i64, aggregation: Aggregation)
src/storage.rs:1560
↓ 26 callers
Function
admin_control_plane_error_response
( status: u16, code: &str, detail: impl Into<String>, )
crates/tsink-server/src/handlers.rs:3289
↓ 26 callers
Function
append_u16
(out: &mut Vec<u8>, value: u16)
src/engine/binio.rs:15
↓ 26 callers
Function
checksum32
(bytes: &[u8])
src/engine/binio.rs:7
↓ 26 callers
Method
display
(&self)
crates/tsink-server/src/cluster/query_merge.rs:252
↓ 26 callers
Method
finish
(self)
src/engine/tiering/inventory.rs:153
↓ 26 callers
Function
make_metadata_store
(data_path: Option<&Path>)
crates/tsink-server/src/handlers.rs:6751
↓ 26 callers
Method
owners_for_shard_at_ring_version
(&self, shard: u32, ring_version: u64)
crates/tsink-server/src/cluster/control.rs:503
↓ 26 callers
Method
path_without_query
(&self)
crates/tsink-server/src/http.rs:24
↓ 26 callers
Function
stale_ring_version_response
( expected_ring_version: u64, received_ring_version: u64, detail: Option<String>, )
crates/tsink-server/src/handlers/internal_api/mod.rs:541
↓ 26 callers
Method
with_object_store_path
(mut self, path: impl AsRef<Path>)
src/storage.rs:1080
↓ 26 callers
Method
with_tiered_retention_policy
( mut self, hot_retention: Duration, warm_retention: Duration, )
src/storage.rs:1111
↓ 25 callers
Method
append_samples
(&self, batches: &[SamplesBatchFrame])
src/engine/wal/logical.rs:337
↓ 25 callers
Method
apply_loaded_segment_indexes
( &self, loaded: LoadedSegmentIndexes, reconcile_registry_with_persisted: bool, )
src/engine/lifecycle/persisted_state.rs:93
↓ 25 callers
Method
open
(dir: impl AsRef<Path>, sync_mode: WalSyncMode)
src/engine/wal/segments.rs:58
↓ 25 callers
Method
select
( &self, metric: &str, labels: &[Label], start: i64,
crates/tsink-server/src/handlers.rs:6669
↓ 25 callers
Function
unix_timestamp_millis
()
crates/tsink-server/src/cluster/consensus.rs:1828
↓ 25 callers
Function
write_numeric_segment
( lane_path: &std::path::Path, registry: &SeriesRegistry, series_id: u64, level: u8, segme
src/engine/tests/retention_policy.rs:2088
↓ 24 callers
Function
expect_arg_count
(call: &CallExpr, expected: usize)
src/promql/eval/functions.rs:1599
↓ 24 callers
Function
make_exemplar_store
(data_path: Option<&Path>)
crates/tsink-server/src/handlers.rs:6755
↓ 24 callers
Method
metric
(&self)
src/lib.rs:108
↓ 24 callers
Method
persist
(&self, state: &ControlState)
crates/tsink-server/src/cluster/control.rs:1160
↓ 24 callers
Function
read_u8
(bytes: &[u8], pos: &mut usize)
src/engine/binio.rs:31
↓ 24 callers
Method
shard_count
(&self)
crates/tsink-server/src/cluster/ring.rs:167
↓ 24 callers
Function
stable_fnv1a64_update
(mut hash: u64, bytes: &[u8])
crates/tsink-server/src/cluster/replication.rs:1134
↓ 24 callers
Method
timestamp_units_per_second
(&self)
src/promql/eval/mod.rs:216
↓ 24 callers
Method
with_builder
(&self, f: F)
crates/tsink-uniffi/src/builder.rs:19
↓ 24 callers
Method
with_partition_duration
(mut self, duration: Duration)
src/async.rs:556
↓ 23 callers
Method
as_slice
(&self)
src/mmap.rs:92
↓ 23 callers
Function
eval_unary_map
( engine: &Engine, call: &CallExpr, params: &QueryParams<'_>, map: impl Fn(f64) -> f64, )
src/promql/eval/functions.rs:1191
↓ 23 callers
Method
run_once
(&self, storage: Arc<dyn Storage>)
crates/tsink-server/src/cluster/repair.rs:1021
↓ 23 callers
Function
snappy_encode
(data: &[u8])
crates/tsink-server/src/handlers.rs:6793
↓ 22 callers
Method
cmp
(&self, other: &Self)
src/engine/compactor/execution.rs:627
↓ 22 callers
Method
insert
( &mut self, label_name: impl Into<String>, label_value: impl Into<String>, se
src/engine/index.rs:79
↓ 22 callers
Function
lex
(input: &str)
tests/promql_parser_lexer_extended_test.rs:7
↓ 22 callers
Method
policy
(&self)
crates/tsink-server/src/tenant.rs:99
↓ 22 callers
Function
setup_storage
()
tests/promql_integration_test.rs:10
↓ 22 callers
Method
shard_for_series_id
(&self, series_id: u64)
crates/tsink-server/src/cluster/ring.rs:159
↓ 22 callers
Method
with_aggregation
(mut self, aggregation: Aggregation)
src/storage.rs:1568
↓ 22 callers
Method
with_metadata_shard_count
(&self, shard_count: u32)
crates/tsink-uniffi/src/builder.rs:140
↓ 21 callers
Method
apply_rollup_policies
( &self, policies: Vec<crate::storage::RollupPolicy>, )
src/engine/engine.rs:475
↓ 21 callers
Method
as_str
(self)
crates/tsink-server/src/security.rs:37
↓ 21 callers
Function
cluster_context_with_control
(temp_dir: &TempDir)
crates/tsink-server/src/handlers.rs:7131
↓ 21 callers
Function
elapsed_nanos_u64
(started: Instant)
src/engine/core_impl/utilities.rs:61
↓ 21 callers
Method
ensure_open
(&self)
src/engine/core_impl/utilities.rs:145
↓ 21 callers
Method
is_empty
(&self)
src/engine/lifecycle/flush.rs:31
↓ 21 callers
Function
read_i64
(bytes: &[u8], pos: &mut usize)
src/engine/binio.rs:109
↓ 21 callers
Function
remove_path_if_exists_and_sync_parent
(path: &Path)
src/engine/fs_utils.rs:185
↓ 20 callers
Method
active_shard
( self, series_id: SeriesId, )
src/engine/shard_routing.rs:37
↓ 20 callers
Method
admit_with_usage
( &self, surface: TenantAdmissionSurface, requested_units: usize, usage_accoun
crates/tsink-server/src/tenant.rs:131
↓ 20 callers
Method
apply_shard_handoff_progress
( &mut self, shard: u32, phase: ShardHandoffPhase, copied_rows: Option<u64>,
crates/tsink-server/src/cluster/control.rs:722
↓ 20 callers
Method
flush_pipeline_once
(&self)
src/engine/runtime.rs:463
↓ 20 callers
Method
is_empty
(&self)
src/engine/construction/resources.rs:32
↓ 20 callers
Function
open_runtime_for_node
( temp_dir: &TempDir, node_id: &str, bind: &str, seeds: &[&str], state
crates/tsink-server/src/cluster/consensus.rs:1883
↓ 20 callers
Function
parse_server_args
(args: I)
crates/tsink-server/src/main.rs:505
↓ 20 callers
Method
record_rejected
( &self, surface: TenantAdmissionSurface, requested_units: usize, reason: impl
crates/tsink-server/src/tenant.rs:154
↓ 20 callers
Function
tempdir
()
crates/tsink-server/src/edge_sync.rs:1110
↓ 19 callers
Function
append_u8
(out: &mut Vec<u8>, value: u8)
src/engine/binio.rs:11
↓ 19 callers
Method
close
Close the storage. Additional operations return `StorageClosed`.
src/async.rs:413
↓ 19 callers
Method
close
(&self)
crates/tsink-server/src/handlers.rs:6712
↓ 19 callers
Function
elapsed_nanos_since
(started: Instant)
crates/tsink-server/src/handlers.rs:546
↓ 19 callers
Function
response_body
(response: &[u8])
crates/tsink-server/src/server.rs:1752
↓ 19 callers
Method
select
( &self, endpoint: &str, request: &InternalSelectRequest, )
crates/tsink-server/src/cluster/rpc.rs:1031
↓ 19 callers
Method
snapshot
(&self)
crates/tsink-server/src/cluster/repair.rs:749
↓ 19 callers
Method
with_current_time_override_for_tests
(mut self, timestamp: i64)
src/storage.rs:1267
↓ 19 callers
Method
with_labels
( metric: impl Into<String>, labels: Vec<Label>, data_point: DataPoint, )
src/lib.rs:96
↓ 18 callers
Function
admin_control_recovery_error_response
( status: u16, code: &str, message: impl Into<String>, )
crates/tsink-server/src/handlers.rs:4301
↓ 18 callers
Method
append
(&self, input: ClusterAuditEntryInput)
crates/tsink-server/src/cluster/audit.rs:220
↓ 18 callers
Function
build_test_storage
(shard_count: u32)
crates/tsink-server/src/cluster/repair.rs:2745
↓ 18 callers
Function
clear_commit_hook
(slot: &RwLock<Option<Arc<IngestCommitHook>>>)
src/engine/test_hooks/mod.rs:62
↓ 18 callers
Function
read_required_segment_file
(segment_root: &Path, path: &Path)
src/engine/segment/loader.rs:589
↓ 18 callers
Function
send_request_with_runtime
( storage: Arc<dyn Storage>, config: &ServerConfig, tenant_registry: Option<Arc<tenant
crates/tsink-server/src/server.rs:1819
↓ 18 callers
Function
set_commit_hook
(slot: &RwLock<Option<Arc<IngestCommitHook>>>, hook: F)
src/engine/test_hooks/mod.rs:55
↓ 18 callers
Method
with_data_path
(&self, path: String)
crates/tsink-uniffi/src/builder.rs:41
↓ 17 callers
Method
apply_begin_shard_handoff
( &mut self, shard: u32, from_node_id: &str, to_node_id: &str, activat
crates/tsink-server/src/cluster/control.rs:607
↓ 17 callers
Function
build_digest_runtime_for_test
( temp_dir: &std::path::Path, peer_endpoint: &str, config: DigestExchangeConfig,
crates/tsink-server/src/cluster/repair.rs:4886
↓ 17 callers
Method
data_point
(&self)
src/lib.rs:116
↓ 17 callers
Method
is_empty
(&self)
src/engine/series/identity.rs:531
↓ 17 callers
Method
query
(&self, query: &ClusterAuditQuery)
crates/tsink-server/src/cluster/audit.rs:265
↓ 17 callers
Method
register_series_with_id
( &self, series_id: SeriesId, metric: &str, labels: &[Label], )
src/engine/series/identity.rs:432
↓ 17 callers
Function
resolve_admin_path
( requested_path: &Path, admin_path_prefix: Option<&Path>, must_exist: bool, )
crates/tsink-server/src/handlers.rs:4719
↓ 17 callers
Method
to_http_response
(&self)
crates/tsink-server/src/tenant.rs:259
↓ 17 callers
Method
with_digest_probe
(mut self, digest_probe: Arc<DigestProbeFn>)
crates/tsink-server/src/cluster/repair.rs:738
↓ 16 callers
Function
authorize_internal_cluster_request
( request: &HttpRequest, internal_api: Option<&InternalApiConfig>, cluster_context: Option<&Cluste
crates/tsink-server/src/handlers/internal_api/mod.rs:52
↓ 16 callers
Function
current_control_state
( cluster_context: Option<&ClusterRequestContext>, )
crates/tsink-server/src/handlers/internal_api/mod.rs:44
↓ 16 callers
Function
handle_request_with_admin
( storage: &Arc<dyn Storage>, engine: &Engine, request: HttpRequest, server_start: Instant,
crates/tsink-server/src/handlers.rs:1048
↓ 16 callers
Function
lane_name
(lane: SegmentLaneFamily)
src/engine/tiering/layout.rs:185
↓ 16 callers
Function
path_exists_no_follow
(path: &Path)
src/engine/fs_utils.rs:90
↓ 16 callers
Function
read_http_request
( stream: &mut R, buffer: &mut Vec<u8>, )
crates/tsink-server/src/http.rs:168
← previous
next →
101–200 of 5,563, ranked by callers