chalk-remote-call-python 1.10.6__tar.gz → 1.10.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {chalk_remote_call_python-1.10.6/chalk_remote_call_python.egg-info → chalk_remote_call_python-1.10.7}/PKG-INFO +1 -1
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-server/src/metrics.rs +10 -1
- chalk_remote_call_python-1.10.7/chalk_remote_call/_version.py +1 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7/chalk_remote_call_python.egg-info}/PKG-INFO +1 -1
- chalk_remote_call_python-1.10.6/chalk_remote_call/_version.py +0 -1
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/MANIFEST.in +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/README.md +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/Cargo.lock +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/Cargo.toml +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-proto/Cargo.toml +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-proto/src/gen/chalk.auth.v1.rs +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-proto/src/gen/chalk.common.v1.rs +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-proto/src/gen/chalk.runtime.v1.rs +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-proto/src/gen/chalk.runtime.v1.tonic.rs +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-proto/src/gen/chalk.utils.v1.rs +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-proto/src/gen/descriptor.bin +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-proto/src/lib.rs +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-server/Cargo.toml +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-server/src/async_service.rs +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-server/src/coalesce.rs +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-server/src/fnq_client.rs +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-server/src/lib.rs +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-server/src/python_bridge.rs +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-server/src/self_consumer.rs +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-server/src/server.rs +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/chalk-remote-call-server/src/service.rs +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/rust-toolchain.toml +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/__init__.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/__main__.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/__init__.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/__init__.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/auth/__init__.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/auth/v1/__init__.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/auth/v1/permissions_pb2.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/auth/v1/permissions_pb2_grpc.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/common/__init__.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/common/v1/__init__.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/common/v1/chalk_error_pb2.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/common/v1/chalk_error_pb2_grpc.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/runtime/__init__.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/runtime/v1/__init__.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/runtime/v1/fnq_consumer_pb2.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/runtime/v1/fnq_consumer_pb2_grpc.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/runtime/v1/remote_python_call_pb2.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/runtime/v1/remote_python_call_pb2_grpc.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/utils/__init__.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/utils/v1/__init__.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/utils/v1/encoding_pb2.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/utils/v1/encoding_pb2_grpc.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/utils/v1/field_change_pb2.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/utils/v1/field_change_pb2_grpc.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/utils/v1/large_pb2.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/utils/v1/large_pb2_grpc.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/utils/v1/sensitive_pb2.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_gen/chalk/utils/v1/sensitive_pb2_grpc.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_native.pyi +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/arrow_utils.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/cli.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/errors.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/handler_loader.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/input_transform.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/logging.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/server.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/servicer.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/tracing.py +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call_python.egg-info/SOURCES.txt +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call_python.egg-info/dependency_links.txt +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call_python.egg-info/entry_points.txt +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call_python.egg-info/requires.txt +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call_python.egg-info/top_level.txt +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/pyproject.toml +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/setup.cfg +0 -0
- {chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/setup.py +0 -0
|
@@ -185,11 +185,19 @@ fn metric_function_name(function_name: &str) -> String {
|
|
|
185
185
|
non_empty_env("CHALK_FNQ_FUNCTION_NAME").unwrap_or_else(|| function_name.to_string())
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
fn
|
|
188
|
+
fn resource_kind() -> &'static str {
|
|
189
|
+
match non_empty_env("CHALK_FNQ_RESOURCE_KIND").as_deref() {
|
|
190
|
+
Some("model") => "model",
|
|
191
|
+
_ => "function",
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
fn call_tags(function_name: &str, success: bool, mode: Mode) -> [String; 4] {
|
|
189
196
|
[
|
|
190
197
|
format!("function_name:{function_name}"),
|
|
191
198
|
format!("status:{}", if success { "success" } else { "failure" }),
|
|
192
199
|
format!("mode:{}", mode.as_str()),
|
|
200
|
+
format!("kind:{}", resource_kind()),
|
|
193
201
|
]
|
|
194
202
|
}
|
|
195
203
|
|
|
@@ -329,6 +337,7 @@ mod tests {
|
|
|
329
337
|
assert!(seen.contains("function_name:fn_a"), "{seen}");
|
|
330
338
|
assert!(seen.contains("status:success"), "{seen}");
|
|
331
339
|
assert!(seen.contains("mode:sync"), "{seen}");
|
|
340
|
+
assert!(seen.contains("kind:function"), "{seen}");
|
|
332
341
|
}
|
|
333
342
|
|
|
334
343
|
fn call_metrics(pipeline: &Arc<PublishingMetricsPipeline>) -> Arc<CallMetrics> {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.10.7"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.10.6"
|
|
File without changes
|
|
File without changes
|
{chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/Cargo.lock
RENAMED
|
File without changes
|
{chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk-remote-call-rs/Cargo.toml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/__init__.py
RENAMED
|
File without changes
|
{chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/__main__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/_native.pyi
RENAMED
|
File without changes
|
{chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/arrow_utils.py
RENAMED
|
File without changes
|
{chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/cli.py
RENAMED
|
File without changes
|
{chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/errors.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/logging.py
RENAMED
|
File without changes
|
{chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/server.py
RENAMED
|
File without changes
|
{chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/servicer.py
RENAMED
|
File without changes
|
{chalk_remote_call_python-1.10.6 → chalk_remote_call_python-1.10.7}/chalk_remote_call/tracing.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|