udb-client 0.2.0__py3-none-any.whl
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.
- google/api/annotations_pb2.py +37 -0
- google/api/annotations_pb2.pyi +8 -0
- google/api/annotations_pb2_grpc.py +4 -0
- google/api/field_behavior_pb2.py +40 -0
- google/api/field_behavior_pb2.pyi +29 -0
- google/api/field_behavior_pb2_grpc.py +4 -0
- google/api/http_pb2.py +41 -0
- google/api/http_pb2.pyi +47 -0
- google/api/http_pb2_grpc.py +4 -0
- udb/core/analytics/entity/v1/entities_pb2.py +41 -0
- udb/core/analytics/entity/v1/entities_pb2.pyi +10 -0
- udb/core/analytics/entity/v1/entities_pb2_grpc.py +4 -0
- udb/core/analytics/entity/v1/executor_performance_summary_pb2.py +69 -0
- udb/core/analytics/entity/v1/executor_performance_summary_pb2.pyi +42 -0
- udb/core/analytics/entity/v1/executor_performance_summary_pb2_grpc.py +4 -0
- udb/core/analytics/entity/v1/pipeline_metric_snapshot_pb2.py +69 -0
- udb/core/analytics/entity/v1/pipeline_metric_snapshot_pb2.pyi +42 -0
- udb/core/analytics/entity/v1/pipeline_metric_snapshot_pb2_grpc.py +4 -0
- udb/core/analytics/entity/v1/reconciliation_analytics_summary_pb2.py +63 -0
- udb/core/analytics/entity/v1/reconciliation_analytics_summary_pb2.pyi +36 -0
- udb/core/analytics/entity/v1/reconciliation_analytics_summary_pb2_grpc.py +4 -0
- udb/core/analytics/events/v1/analytics_events_pb2.py +42 -0
- udb/core/analytics/events/v1/analytics_events_pb2.pyi +71 -0
- udb/core/analytics/events/v1/analytics_events_pb2_grpc.py +4 -0
- udb/core/analytics/services/v1/analytics_service_pb2.py +54 -0
- udb/core/analytics/services/v1/analytics_service_pb2.pyi +7 -0
- udb/core/analytics/services/v1/analytics_service_pb2_grpc.py +363 -0
- udb/core/analytics/services/v1/core_pb2.py +74 -0
- udb/core/analytics/services/v1/core_pb2.pyi +169 -0
- udb/core/analytics/services/v1/core_pb2_grpc.py +4 -0
- udb/core/apikey/entity/v1/api_key_pb2.py +93 -0
- udb/core/apikey/entity/v1/api_key_pb2.pyi +66 -0
- udb/core/apikey/entity/v1/api_key_pb2_grpc.py +4 -0
- udb/core/apikey/entity/v1/api_key_usage_pb2.py +60 -0
- udb/core/apikey/entity/v1/api_key_usage_pb2.pyi +33 -0
- udb/core/apikey/entity/v1/api_key_usage_pb2_grpc.py +4 -0
- udb/core/apikey/entity/v1/entities_pb2.py +41 -0
- udb/core/apikey/entity/v1/entities_pb2.pyi +23 -0
- udb/core/apikey/entity/v1/entities_pb2_grpc.py +4 -0
- udb/core/apikey/entity/v1/enums_pb2.py +39 -0
- udb/core/apikey/entity/v1/enums_pb2.pyi +35 -0
- udb/core/apikey/entity/v1/enums_pb2_grpc.py +4 -0
- udb/core/apikey/events/v1/apikey_events_pb2.py +43 -0
- udb/core/apikey/events/v1/apikey_events_pb2.pyi +81 -0
- udb/core/apikey/events/v1/apikey_events_pb2_grpc.py +4 -0
- udb/core/apikey/services/v1/apikey_service_pb2.py +54 -0
- udb/core/apikey/services/v1/apikey_service_pb2.pyi +7 -0
- udb/core/apikey/services/v1/apikey_service_pb2_grpc.py +375 -0
- udb/core/apikey/services/v1/core_pb2.py +78 -0
- udb/core/apikey/services/v1/core_pb2.pyi +193 -0
- udb/core/apikey/services/v1/core_pb2_grpc.py +4 -0
- udb/core/authn/entity/v1/entities_pb2.py +43 -0
- udb/core/authn/entity/v1/entities_pb2.pyi +86 -0
- udb/core/authn/entity/v1/entities_pb2_grpc.py +4 -0
- udb/core/authn/entity/v1/enums_pb2.py +55 -0
- udb/core/authn/entity/v1/enums_pb2.pyi +165 -0
- udb/core/authn/entity/v1/enums_pb2_grpc.py +4 -0
- udb/core/authn/entity/v1/otp_pb2.py +68 -0
- udb/core/authn/entity/v1/otp_pb2.pyi +41 -0
- udb/core/authn/entity/v1/otp_pb2_grpc.py +4 -0
- udb/core/authn/entity/v1/session_pb2.py +93 -0
- udb/core/authn/entity/v1/session_pb2.pyi +66 -0
- udb/core/authn/entity/v1/session_pb2_grpc.py +4 -0
- udb/core/authn/entity/v1/user_pb2.py +95 -0
- udb/core/authn/entity/v1/user_pb2.pyi +68 -0
- udb/core/authn/entity/v1/user_pb2_grpc.py +4 -0
- udb/core/authn/events/v1/authn_events_pb2.py +57 -0
- udb/core/authn/events/v1/authn_events_pb2.pyi +232 -0
- udb/core/authn/events/v1/authn_events_pb2_grpc.py +4 -0
- udb/core/authn/services/v1/authn_service_pb2.py +86 -0
- udb/core/authn/services/v1/authn_service_pb2.pyi +7 -0
- udb/core/authn/services/v1/authn_service_pb2_grpc.py +1063 -0
- udb/core/authn/services/v1/core_pb2.py +159 -0
- udb/core/authn/services/v1/core_pb2.pyi +613 -0
- udb/core/authn/services/v1/core_pb2_grpc.py +4 -0
- udb/core/authz/entity/v1/access_decision_audit_pb2.py +68 -0
- udb/core/authz/entity/v1/access_decision_audit_pb2.pyi +41 -0
- udb/core/authz/entity/v1/access_decision_audit_pb2_grpc.py +4 -0
- udb/core/authz/entity/v1/entities_pb2.py +49 -0
- udb/core/authz/entity/v1/entities_pb2.pyi +41 -0
- udb/core/authz/entity/v1/entities_pb2_grpc.py +4 -0
- udb/core/authz/entity/v1/enums_pb2.py +43 -0
- udb/core/authz/entity/v1/enums_pb2.pyi +57 -0
- udb/core/authz/entity/v1/enums_pb2_grpc.py +4 -0
- udb/core/authz/entity/v1/policy_rule_pb2.py +78 -0
- udb/core/authz/entity/v1/policy_rule_pb2.pyi +51 -0
- udb/core/authz/entity/v1/policy_rule_pb2_grpc.py +4 -0
- udb/core/authz/entity/v1/policy_tuple_pb2.py +60 -0
- udb/core/authz/entity/v1/policy_tuple_pb2.pyi +30 -0
- udb/core/authz/entity/v1/policy_tuple_pb2_grpc.py +4 -0
- udb/core/authz/entity/v1/role_pb2.py +76 -0
- udb/core/authz/entity/v1/role_pb2.pyi +49 -0
- udb/core/authz/entity/v1/role_pb2_grpc.py +4 -0
- udb/core/authz/entity/v1/role_permission_pb2.py +53 -0
- udb/core/authz/entity/v1/role_permission_pb2.pyi +26 -0
- udb/core/authz/entity/v1/role_permission_pb2_grpc.py +4 -0
- udb/core/authz/entity/v1/user_role_pb2.py +63 -0
- udb/core/authz/entity/v1/user_role_pb2.pyi +36 -0
- udb/core/authz/entity/v1/user_role_pb2_grpc.py +4 -0
- udb/core/authz/events/v1/authz_events_pb2.py +50 -0
- udb/core/authz/events/v1/authz_events_pb2.pyi +154 -0
- udb/core/authz/events/v1/authz_events_pb2_grpc.py +4 -0
- udb/core/authz/services/v1/authz_service_pb2.py +86 -0
- udb/core/authz/services/v1/authz_service_pb2.pyi +7 -0
- udb/core/authz/services/v1/authz_service_pb2_grpc.py +1042 -0
- udb/core/authz/services/v1/core_pb2.py +301 -0
- udb/core/authz/services/v1/core_pb2.pyi +786 -0
- udb/core/authz/services/v1/core_pb2_grpc.py +4 -0
- udb/core/common/v1/db_pb2.py +110 -0
- udb/core/common/v1/db_pb2.pyi +729 -0
- udb/core/common/v1/db_pb2_grpc.py +4 -0
- udb/core/common/v1/domain_types_pb2.py +76 -0
- udb/core/common/v1/domain_types_pb2.pyi +201 -0
- udb/core/common/v1/domain_types_pb2_grpc.py +4 -0
- udb/core/common/v1/dto_pb2.py +58 -0
- udb/core/common/v1/dto_pb2.pyi +129 -0
- udb/core/common/v1/dto_pb2_grpc.py +4 -0
- udb/core/common/v1/security_pb2.py +46 -0
- udb/core/common/v1/security_pb2.pyi +108 -0
- udb/core/common/v1/security_pb2_grpc.py +4 -0
- udb/core/common/v1/types_pb2.py +74 -0
- udb/core/common/v1/types_pb2.pyi +258 -0
- udb/core/common/v1/types_pb2_grpc.py +4 -0
- udb/core/notification/entity/v1/entities_pb2.py +45 -0
- udb/core/notification/entity/v1/entities_pb2.pyi +39 -0
- udb/core/notification/entity/v1/entities_pb2_grpc.py +4 -0
- udb/core/notification/entity/v1/enums_pb2.py +43 -0
- udb/core/notification/entity/v1/enums_pb2.pyi +61 -0
- udb/core/notification/entity/v1/enums_pb2_grpc.py +4 -0
- udb/core/notification/entity/v1/notification_log_pb2.py +80 -0
- udb/core/notification/entity/v1/notification_log_pb2.pyi +53 -0
- udb/core/notification/entity/v1/notification_log_pb2_grpc.py +4 -0
- udb/core/notification/entity/v1/notification_pb2.py +43 -0
- udb/core/notification/entity/v1/notification_pb2.pyi +56 -0
- udb/core/notification/entity/v1/notification_pb2_grpc.py +4 -0
- udb/core/notification/entity/v1/notification_preference_pb2.py +60 -0
- udb/core/notification/entity/v1/notification_preference_pb2.pyi +33 -0
- udb/core/notification/entity/v1/notification_preference_pb2_grpc.py +4 -0
- udb/core/notification/entity/v1/notification_template_pb2.py +66 -0
- udb/core/notification/entity/v1/notification_template_pb2.pyi +39 -0
- udb/core/notification/entity/v1/notification_template_pb2_grpc.py +4 -0
- udb/core/notification/events/v1/notification_events_pb2.py +48 -0
- udb/core/notification/events/v1/notification_events_pb2.pyi +153 -0
- udb/core/notification/events/v1/notification_events_pb2_grpc.py +4 -0
- udb/core/notification/services/v1/core_pb2.py +95 -0
- udb/core/notification/services/v1/core_pb2.pyi +273 -0
- udb/core/notification/services/v1/core_pb2_grpc.py +4 -0
- udb/core/notification/services/v1/notification_service_pb2.py +62 -0
- udb/core/notification/services/v1/notification_service_pb2.pyi +7 -0
- udb/core/notification/services/v1/notification_service_pb2_grpc.py +540 -0
- udb/core/tenant/entity/v1/entities_pb2.py +41 -0
- udb/core/tenant/entity/v1/entities_pb2.pyi +29 -0
- udb/core/tenant/entity/v1/entities_pb2_grpc.py +4 -0
- udb/core/tenant/entity/v1/enums_pb2.py +41 -0
- udb/core/tenant/entity/v1/enums_pb2.pyi +48 -0
- udb/core/tenant/entity/v1/enums_pb2_grpc.py +4 -0
- udb/core/tenant/entity/v1/tenant_config_pb2.py +60 -0
- udb/core/tenant/entity/v1/tenant_config_pb2.pyi +28 -0
- udb/core/tenant/entity/v1/tenant_config_pb2_grpc.py +4 -0
- udb/core/tenant/entity/v1/tenant_pb2.py +69 -0
- udb/core/tenant/entity/v1/tenant_pb2.pyi +39 -0
- udb/core/tenant/entity/v1/tenant_pb2_grpc.py +4 -0
- udb/core/tenant/events/v1/tenant_events_pb2.py +40 -0
- udb/core/tenant/events/v1/tenant_events_pb2.pyi +43 -0
- udb/core/tenant/events/v1/tenant_events_pb2_grpc.py +4 -0
- udb/core/tenant/services/v1/tenant_service_pb2.py +78 -0
- udb/core/tenant/services/v1/tenant_service_pb2.pyi +130 -0
- udb/core/tenant/services/v1/tenant_service_pb2_grpc.py +298 -0
- udb/entity/v1/admin_pb2.py +174 -0
- udb/entity/v1/admin_pb2.pyi +972 -0
- udb/entity/v1/admin_pb2_grpc.py +4 -0
- udb/entity/v1/blob_pb2.py +48 -0
- udb/entity/v1/blob_pb2.pyi +88 -0
- udb/entity/v1/blob_pb2_grpc.py +4 -0
- udb/entity/v1/cdc_pb2.py +42 -0
- udb/entity/v1/cdc_pb2.pyi +47 -0
- udb/entity/v1/cdc_pb2_grpc.py +4 -0
- udb/entity/v1/common_pb2.py +41 -0
- udb/entity/v1/common_pb2.pyi +17 -0
- udb/entity/v1/common_pb2_grpc.py +4 -0
- udb/entity/v1/context_pb2.py +41 -0
- udb/entity/v1/context_pb2.pyi +58 -0
- udb/entity/v1/context_pb2_grpc.py +4 -0
- udb/entity/v1/mutation_pb2.py +42 -0
- udb/entity/v1/mutation_pb2.pyi +39 -0
- udb/entity/v1/mutation_pb2_grpc.py +4 -0
- udb/entity/v1/operation_pb2.py +49 -0
- udb/entity/v1/operation_pb2.pyi +69 -0
- udb/entity/v1/operation_pb2_grpc.py +4 -0
- udb/entity/v1/outbox_pb2.py +41 -0
- udb/entity/v1/outbox_pb2.pyi +34 -0
- udb/entity/v1/outbox_pb2_grpc.py +4 -0
- udb/entity/v1/relational_pb2.py +57 -0
- udb/entity/v1/relational_pb2.pyi +120 -0
- udb/entity/v1/relational_pb2_grpc.py +4 -0
- udb/entity/v1/stores_pb2.py +90 -0
- udb/entity/v1/stores_pb2.pyi +331 -0
- udb/entity/v1/stores_pb2_grpc.py +4 -0
- udb/entity/v1/tx_pb2.py +44 -0
- udb/entity/v1/tx_pb2.pyi +71 -0
- udb/entity/v1/tx_pb2_grpc.py +4 -0
- udb/entity/v1/types_pb2.py +71 -0
- udb/entity/v1/types_pb2.pyi +137 -0
- udb/entity/v1/types_pb2_grpc.py +4 -0
- udb/entity/v1/vector_pb2.py +49 -0
- udb/entity/v1/vector_pb2.pyi +85 -0
- udb/entity/v1/vector_pb2_grpc.py +4 -0
- udb/events/v1/udb_events_pb2.py +45 -0
- udb/events/v1/udb_events_pb2.pyi +72 -0
- udb/events/v1/udb_events_pb2_grpc.py +4 -0
- udb/services/v1/data_broker_pb2.py +47 -0
- udb/services/v1/data_broker_pb2.pyi +14 -0
- udb/services/v1/data_broker_pb2_grpc.py +3290 -0
- udb_client/__init__.py +16 -0
- udb_client/auth.py +292 -0
- udb_client/client.py +749 -0
- udb_client/exceptions.py +24 -0
- udb_client/metadata.py +138 -0
- udb_client/models.py +136 -0
- udb_client/py.typed +1 -0
- udb_client-0.2.0.dist-info/METADATA +178 -0
- udb_client-0.2.0.dist-info/RECORD +224 -0
- udb_client-0.2.0.dist-info/WHEEL +5 -0
- udb_client-0.2.0.dist-info/top_level.txt +3 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: google/api/annotations.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'google/api/annotations.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.api import http_pb2 as google_dot_api_dot_http__pb2
|
|
26
|
+
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cgoogle/api/annotations.proto\x12\ngoogle.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:K\n\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0\xca\xbc\" \x01(\x0b\x32\x14.google.api.HttpRuleR\x04httpBg\n\x0e\x63om.google.apiB\x10\x41nnotationsProtoP\x01Z-github.com/fahara02/udb/sdk/go/gen/google/api\xa2\x02\x03GAX\xea\x02\x0bGoogle::Apib\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.annotations_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.apiB\020AnnotationsProtoP\001Z-github.com/fahara02/udb/sdk/go/gen/google/api\242\002\003GAX\352\002\013Google::Api'
|
|
37
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
from google.api import http_pb2 as _http_pb2
|
|
2
|
+
from google.protobuf import descriptor_pb2 as _descriptor_pb2
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from typing import ClassVar as _ClassVar
|
|
5
|
+
|
|
6
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
7
|
+
HTTP_FIELD_NUMBER: _ClassVar[int]
|
|
8
|
+
http: _descriptor.FieldDescriptor
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: google/api/field_behavior.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'google/api/field_behavior.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fgoogle/api/field_behavior.proto\x12\ngoogle.api\x1a google/protobuf/descriptor.proto*\xb6\x01\n\rFieldBehavior\x12\x1e\n\x1a\x46IELD_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x0c\n\x08OPTIONAL\x10\x01\x12\x0c\n\x08REQUIRED\x10\x02\x12\x0f\n\x0bOUTPUT_ONLY\x10\x03\x12\x0e\n\nINPUT_ONLY\x10\x04\x12\r\n\tIMMUTABLE\x10\x05\x12\x12\n\x0eUNORDERED_LIST\x10\x06\x12\x15\n\x11NON_EMPTY_DEFAULT\x10\x07\x12\x0e\n\nIDENTIFIER\x10\x08:d\n\x0e\x66ield_behavior\x12\x1d.google.protobuf.FieldOptions\x18\x9c\x08 \x03(\x0e\x32\x19.google.api.FieldBehaviorB\x02\x10\x00R\rfieldBehaviorBi\n\x0e\x63om.google.apiB\x12\x46ieldBehaviorProtoP\x01Z-github.com/fahara02/udb/sdk/go/gen/google/api\xa2\x02\x03GAX\xea\x02\x0bGoogle::Apib\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.field_behavior_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.apiB\022FieldBehaviorProtoP\001Z-github.com/fahara02/udb/sdk/go/gen/google/api\242\002\003GAX\352\002\013Google::Api'
|
|
36
|
+
_globals['field_behavior']._loaded_options = None
|
|
37
|
+
_globals['field_behavior']._serialized_options = b'\020\000'
|
|
38
|
+
_globals['_FIELDBEHAVIOR']._serialized_start=82
|
|
39
|
+
_globals['_FIELDBEHAVIOR']._serialized_end=264
|
|
40
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from google.protobuf import descriptor_pb2 as _descriptor_pb2
|
|
2
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from typing import ClassVar as _ClassVar
|
|
5
|
+
|
|
6
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
7
|
+
|
|
8
|
+
class FieldBehavior(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
9
|
+
__slots__ = ()
|
|
10
|
+
FIELD_BEHAVIOR_UNSPECIFIED: _ClassVar[FieldBehavior]
|
|
11
|
+
OPTIONAL: _ClassVar[FieldBehavior]
|
|
12
|
+
REQUIRED: _ClassVar[FieldBehavior]
|
|
13
|
+
OUTPUT_ONLY: _ClassVar[FieldBehavior]
|
|
14
|
+
INPUT_ONLY: _ClassVar[FieldBehavior]
|
|
15
|
+
IMMUTABLE: _ClassVar[FieldBehavior]
|
|
16
|
+
UNORDERED_LIST: _ClassVar[FieldBehavior]
|
|
17
|
+
NON_EMPTY_DEFAULT: _ClassVar[FieldBehavior]
|
|
18
|
+
IDENTIFIER: _ClassVar[FieldBehavior]
|
|
19
|
+
FIELD_BEHAVIOR_UNSPECIFIED: FieldBehavior
|
|
20
|
+
OPTIONAL: FieldBehavior
|
|
21
|
+
REQUIRED: FieldBehavior
|
|
22
|
+
OUTPUT_ONLY: FieldBehavior
|
|
23
|
+
INPUT_ONLY: FieldBehavior
|
|
24
|
+
IMMUTABLE: FieldBehavior
|
|
25
|
+
UNORDERED_LIST: FieldBehavior
|
|
26
|
+
NON_EMPTY_DEFAULT: FieldBehavior
|
|
27
|
+
IDENTIFIER: FieldBehavior
|
|
28
|
+
FIELD_BEHAVIOR_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
field_behavior: _descriptor.FieldDescriptor
|
google/api/http_pb2.py
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: google/api/http.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'google/api/http.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15google/api/http.proto\x12\ngoogle.api\"y\n\x04Http\x12*\n\x05rules\x18\x01 \x03(\x0b\x32\x14.google.api.HttpRuleR\x05rules\x12\x45\n\x1f\x66ully_decode_reserved_expansion\x18\x02 \x01(\x08R\x1c\x66ullyDecodeReservedExpansion\"\xda\x02\n\x08HttpRule\x12\x1a\n\x08selector\x18\x01 \x01(\tR\x08selector\x12\x12\n\x03get\x18\x02 \x01(\tH\x00R\x03get\x12\x12\n\x03put\x18\x03 \x01(\tH\x00R\x03put\x12\x14\n\x04post\x18\x04 \x01(\tH\x00R\x04post\x12\x18\n\x06\x64\x65lete\x18\x05 \x01(\tH\x00R\x06\x64\x65lete\x12\x16\n\x05patch\x18\x06 \x01(\tH\x00R\x05patch\x12\x37\n\x06\x63ustom\x18\x08 \x01(\x0b\x32\x1d.google.api.CustomHttpPatternH\x00R\x06\x63ustom\x12\x12\n\x04\x62ody\x18\x07 \x01(\tR\x04\x62ody\x12#\n\rresponse_body\x18\x0c \x01(\tR\x0cresponseBody\x12\x45\n\x13\x61\x64\x64itional_bindings\x18\x0b \x03(\x0b\x32\x14.google.api.HttpRuleR\x12\x61\x64\x64itionalBindingsB\t\n\x07pattern\";\n\x11\x43ustomHttpPattern\x12\x12\n\x04kind\x18\x01 \x01(\tR\x04kind\x12\x12\n\x04path\x18\x02 \x01(\tR\x04pathB`\n\x0e\x63om.google.apiB\tHttpProtoP\x01Z-github.com/fahara02/udb/sdk/go/gen/google/api\xa2\x02\x03GAX\xea\x02\x0bGoogle::Apib\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.http_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.apiB\tHttpProtoP\001Z-github.com/fahara02/udb/sdk/go/gen/google/api\242\002\003GAX\352\002\013Google::Api'
|
|
35
|
+
_globals['_HTTP']._serialized_start=37
|
|
36
|
+
_globals['_HTTP']._serialized_end=158
|
|
37
|
+
_globals['_HTTPRULE']._serialized_start=161
|
|
38
|
+
_globals['_HTTPRULE']._serialized_end=507
|
|
39
|
+
_globals['_CUSTOMHTTPPATTERN']._serialized_start=509
|
|
40
|
+
_globals['_CUSTOMHTTPPATTERN']._serialized_end=568
|
|
41
|
+
# @@protoc_insertion_point(module_scope)
|
google/api/http_pb2.pyi
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
from google.protobuf.internal import containers as _containers
|
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
|
3
|
+
from google.protobuf import message as _message
|
|
4
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
5
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
6
|
+
|
|
7
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
8
|
+
|
|
9
|
+
class Http(_message.Message):
|
|
10
|
+
__slots__ = ("rules", "fully_decode_reserved_expansion")
|
|
11
|
+
RULES_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
FULLY_DECODE_RESERVED_EXPANSION_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
rules: _containers.RepeatedCompositeFieldContainer[HttpRule]
|
|
14
|
+
fully_decode_reserved_expansion: bool
|
|
15
|
+
def __init__(self, rules: _Optional[_Iterable[_Union[HttpRule, _Mapping]]] = ..., fully_decode_reserved_expansion: bool = ...) -> None: ...
|
|
16
|
+
|
|
17
|
+
class HttpRule(_message.Message):
|
|
18
|
+
__slots__ = ("selector", "get", "put", "post", "delete", "patch", "custom", "body", "response_body", "additional_bindings")
|
|
19
|
+
SELECTOR_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
GET_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
PUT_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
POST_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
DELETE_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
PATCH_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
CUSTOM_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
BODY_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
RESPONSE_BODY_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
ADDITIONAL_BINDINGS_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
selector: str
|
|
30
|
+
get: str
|
|
31
|
+
put: str
|
|
32
|
+
post: str
|
|
33
|
+
delete: str
|
|
34
|
+
patch: str
|
|
35
|
+
custom: CustomHttpPattern
|
|
36
|
+
body: str
|
|
37
|
+
response_body: str
|
|
38
|
+
additional_bindings: _containers.RepeatedCompositeFieldContainer[HttpRule]
|
|
39
|
+
def __init__(self, selector: _Optional[str] = ..., get: _Optional[str] = ..., put: _Optional[str] = ..., post: _Optional[str] = ..., delete: _Optional[str] = ..., patch: _Optional[str] = ..., custom: _Optional[_Union[CustomHttpPattern, _Mapping]] = ..., body: _Optional[str] = ..., response_body: _Optional[str] = ..., additional_bindings: _Optional[_Iterable[_Union[HttpRule, _Mapping]]] = ...) -> None: ...
|
|
40
|
+
|
|
41
|
+
class CustomHttpPattern(_message.Message):
|
|
42
|
+
__slots__ = ("kind", "path")
|
|
43
|
+
KIND_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
+
PATH_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
+
kind: str
|
|
46
|
+
path: str
|
|
47
|
+
def __init__(self, kind: _Optional[str] = ..., path: _Optional[str] = ...) -> None: ...
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: udb/core/analytics/entity/v1/entities.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'udb/core/analytics/entity/v1/entities.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from udb.core.analytics.entity.v1 import executor_performance_summary_pb2 as udb_dot_core_dot_analytics_dot_entity_dot_v1_dot_executor__performance__summary__pb2
|
|
26
|
+
from udb.core.analytics.entity.v1 import pipeline_metric_snapshot_pb2 as udb_dot_core_dot_analytics_dot_entity_dot_v1_dot_pipeline__metric__snapshot__pb2
|
|
27
|
+
from udb.core.analytics.entity.v1 import reconciliation_analytics_summary_pb2 as udb_dot_core_dot_analytics_dot_entity_dot_v1_dot_reconciliation__analytics__summary__pb2
|
|
28
|
+
|
|
29
|
+
from udb.core.analytics.entity.v1.executor_performance_summary_pb2 import *
|
|
30
|
+
from udb.core.analytics.entity.v1.pipeline_metric_snapshot_pb2 import *
|
|
31
|
+
from udb.core.analytics.entity.v1.reconciliation_analytics_summary_pb2 import *
|
|
32
|
+
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+udb/core/analytics/entity/v1/entities.proto\x12\x1cudb.core.analytics.entity.v1\x1a?udb/core/analytics/entity/v1/executor_performance_summary.proto\x1a;udb/core/analytics/entity/v1/pipeline_metric_snapshot.proto\x1a\x43udb/core/analytics/entity/v1/reconciliation_analytics_summary.protoB\x90\x02\n com.udb.core.analytics.entity.v1B\rEntitiesProtoP\x01ZHgithub.com/fahara02/udb/sdk/go/gen/udb/core/analytics/entity/v1;entityv1\xa2\x02\x04UCAE\xaa\x02\x1cudb.core.Analytics.Entity.V1\xca\x02\x1cUdb\\Core\\Analytics\\Entity\\V1\xe2\x02(Udb\\GPBMetadata\\Core\\Analytics\\Entity\\V1\xea\x02 Udb::Core::Analytics::Entity::V1P\x00P\x01P\x02\x62\x06proto3')
|
|
34
|
+
|
|
35
|
+
_globals = globals()
|
|
36
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
37
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'udb.core.analytics.entity.v1.entities_pb2', _globals)
|
|
38
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
39
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
40
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n com.udb.core.analytics.entity.v1B\rEntitiesProtoP\001ZHgithub.com/fahara02/udb/sdk/go/gen/udb/core/analytics/entity/v1;entityv1\242\002\004UCAE\252\002\034udb.core.Analytics.Entity.V1\312\002\034Udb\\Core\\Analytics\\Entity\\V1\342\002(Udb\\GPBMetadata\\Core\\Analytics\\Entity\\V1\352\002 Udb::Core::Analytics::Entity::V1'
|
|
41
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
from udb.core.analytics.entity.v1 import executor_performance_summary_pb2 as _executor_performance_summary_pb2
|
|
2
|
+
from udb.core.analytics.entity.v1 import pipeline_metric_snapshot_pb2 as _pipeline_metric_snapshot_pb2
|
|
3
|
+
from udb.core.analytics.entity.v1 import reconciliation_analytics_summary_pb2 as _reconciliation_analytics_summary_pb2
|
|
4
|
+
from google.protobuf import descriptor as _descriptor
|
|
5
|
+
from typing import ClassVar as _ClassVar
|
|
6
|
+
from udb.core.analytics.entity.v1.executor_performance_summary_pb2 import ExecutorPerformanceSummary as ExecutorPerformanceSummary
|
|
7
|
+
from udb.core.analytics.entity.v1.pipeline_metric_snapshot_pb2 import PipelineMetricSnapshot as PipelineMetricSnapshot
|
|
8
|
+
from udb.core.analytics.entity.v1.reconciliation_analytics_summary_pb2 import ReconciliationAnalyticsSummary as ReconciliationAnalyticsSummary
|
|
9
|
+
|
|
10
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: udb/core/analytics/entity/v1/executor_performance_summary.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'udb/core/analytics/entity/v1/executor_performance_summary.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
from udb.core.common.v1 import db_pb2 as udb_dot_core_dot_common_dot_v1_dot_db__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?udb/core/analytics/entity/v1/executor_performance_summary.proto\x12\x1cudb.core.analytics.entity.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1budb/core/common/v1/db.proto\"\x94\x0b\n\x1a\x45xecutorPerformanceSummary\x12L\n\nsummary_id\x18\x01 \x01(\tB-\x82\xb7\x18)\n\nsummary_id\x12\x04UUID\x18\x01(\x01:\x11gen_random_uuid()R\tsummaryId\x12\x98\x01\n\x0csummary_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampBY\x82\xb7\x18U\n\x0csummary_date\x12\x04\x44\x41TE\x18\x01R=\n\x1fidx_executor_perf_date_executor\x12\x05\x42TREE\x18\x01Z\x11\x65xecutor_identityR\x0bsummaryDate\x12T\n\x11\x65xecutor_identity\x18\x03 \x01(\tB\'\x82\xb7\x18#\n\x11\x65xecutor_identity\x12\x0cVARCHAR(120)\x18\x01R\x10\x65xecutorIdentity\x12\x46\n\rworkload_kind\x18\x04 \x01(\tB!\x82\xb7\x18\x1d\n\rworkload_kind\x12\x0cVARCHAR(120)R\x0cworkloadKind\x12N\n\x10total_dispatches\x18\x05 \x01(\x03\x42#\x82\xb7\x18\x1f\n\x10total_dispatches\x12\x06\x42IGINT\x18\x01:\x01\x30R\x0ftotalDispatches\x12T\n\x12successful_results\x18\x06 \x01(\x03\x42%\x82\xb7\x18!\n\x12successful_results\x12\x06\x42IGINT\x18\x01:\x01\x30R\x11successfulResults\x12\x45\n\rtimeout_count\x18\x07 \x01(\x03\x42 \x82\xb7\x18\x1c\n\rtimeout_count\x12\x06\x42IGINT\x18\x01:\x01\x30R\x0ctimeoutCount\x12?\n\x0b\x65rror_count\x18\x08 \x01(\x03\x42\x1e\x82\xb7\x18\x1a\n\x0b\x65rror_count\x12\x06\x42IGINT\x18\x01:\x01\x30R\nerrorCount\x12R\n\x10\x61vg_execution_ms\x18\t \x01(\x01\x42(\x82\xb7\x18$\n\x10\x61vg_execution_ms\x12\x10\x44OUBLE PRECISIONR\x0e\x61vgExecutionMs\x12R\n\x10p99_execution_ms\x18\n \x01(\x01\x42(\x82\xb7\x18$\n\x10p99_execution_ms\x12\x10\x44OUBLE PRECISIONR\x0ep99ExecutionMs\x12M\n\x0e\x61vg_confidence\x18\x0b \x01(\x01\x42&\x82\xb7\x18\"\n\x0e\x61vg_confidence\x12\x10\x44OUBLE PRECISIONR\ravgConfidence\x12G\n\x0csuccess_rate\x18\x0c \x01(\x01\x42$\x82\xb7\x18 \n\x0csuccess_rate\x12\x10\x44OUBLE PRECISIONR\x0bsuccessRate\x12j\n\x18\x61vg_capacity_utilisation\x18\r \x01(\x01\x42\x30\x82\xb7\x18,\n\x18\x61vg_capacity_utilisation\x12\x10\x44OUBLE PRECISIONR\x16\x61vgCapacityUtilisation\x12t\n\x0brecorded_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB7\x82\xb7\x18\x33\n\x0brecorded_at\x12\x0bTIMESTAMPTZ\x18\x01:\x11\x43URRENT_TIMESTAMP`\x01h\x01R\nrecordedAt:\x9e\x01\xfa\xb6\x18\x99\x01\n\x1e\x65xecutor_performance_summaries\x12\rudb_analytics\x18\x02 \x01*GDaily executor performance roll-up for project-defined processing unitsH\x03R\x0csummary_dateX\xed\x02\xea\x01\x07replicaB\xa2\x02\n com.udb.core.analytics.entity.v1B\x1f\x45xecutorPerformanceSummaryProtoP\x01ZHgithub.com/fahara02/udb/sdk/go/gen/udb/core/analytics/entity/v1;entityv1\xa2\x02\x04UCAE\xaa\x02\x1cudb.core.Analytics.Entity.V1\xca\x02\x1cUdb\\Core\\Analytics\\Entity\\V1\xe2\x02(Udb\\GPBMetadata\\Core\\Analytics\\Entity\\V1\xea\x02 Udb::Core::Analytics::Entity::V1b\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'udb.core.analytics.entity.v1.executor_performance_summary_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n com.udb.core.analytics.entity.v1B\037ExecutorPerformanceSummaryProtoP\001ZHgithub.com/fahara02/udb/sdk/go/gen/udb/core/analytics/entity/v1;entityv1\242\002\004UCAE\252\002\034udb.core.Analytics.Entity.V1\312\002\034Udb\\Core\\Analytics\\Entity\\V1\342\002(Udb\\GPBMetadata\\Core\\Analytics\\Entity\\V1\352\002 Udb::Core::Analytics::Entity::V1'
|
|
37
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['summary_id']._loaded_options = None
|
|
38
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['summary_id']._serialized_options = b'\202\267\030)\n\nsummary_id\022\004UUID\030\001(\001:\021gen_random_uuid()'
|
|
39
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['summary_date']._loaded_options = None
|
|
40
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['summary_date']._serialized_options = b'\202\267\030U\n\014summary_date\022\004DATE\030\001R=\n\037idx_executor_perf_date_executor\022\005BTREE\030\001Z\021executor_identity'
|
|
41
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['executor_identity']._loaded_options = None
|
|
42
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['executor_identity']._serialized_options = b'\202\267\030#\n\021executor_identity\022\014VARCHAR(120)\030\001'
|
|
43
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['workload_kind']._loaded_options = None
|
|
44
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['workload_kind']._serialized_options = b'\202\267\030\035\n\rworkload_kind\022\014VARCHAR(120)'
|
|
45
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['total_dispatches']._loaded_options = None
|
|
46
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['total_dispatches']._serialized_options = b'\202\267\030\037\n\020total_dispatches\022\006BIGINT\030\001:\0010'
|
|
47
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['successful_results']._loaded_options = None
|
|
48
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['successful_results']._serialized_options = b'\202\267\030!\n\022successful_results\022\006BIGINT\030\001:\0010'
|
|
49
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['timeout_count']._loaded_options = None
|
|
50
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['timeout_count']._serialized_options = b'\202\267\030\034\n\rtimeout_count\022\006BIGINT\030\001:\0010'
|
|
51
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['error_count']._loaded_options = None
|
|
52
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['error_count']._serialized_options = b'\202\267\030\032\n\013error_count\022\006BIGINT\030\001:\0010'
|
|
53
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['avg_execution_ms']._loaded_options = None
|
|
54
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['avg_execution_ms']._serialized_options = b'\202\267\030$\n\020avg_execution_ms\022\020DOUBLE PRECISION'
|
|
55
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['p99_execution_ms']._loaded_options = None
|
|
56
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['p99_execution_ms']._serialized_options = b'\202\267\030$\n\020p99_execution_ms\022\020DOUBLE PRECISION'
|
|
57
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['avg_confidence']._loaded_options = None
|
|
58
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['avg_confidence']._serialized_options = b'\202\267\030\"\n\016avg_confidence\022\020DOUBLE PRECISION'
|
|
59
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['success_rate']._loaded_options = None
|
|
60
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['success_rate']._serialized_options = b'\202\267\030 \n\014success_rate\022\020DOUBLE PRECISION'
|
|
61
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['avg_capacity_utilisation']._loaded_options = None
|
|
62
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['avg_capacity_utilisation']._serialized_options = b'\202\267\030,\n\030avg_capacity_utilisation\022\020DOUBLE PRECISION'
|
|
63
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['recorded_at']._loaded_options = None
|
|
64
|
+
_globals['_EXECUTORPERFORMANCESUMMARY'].fields_by_name['recorded_at']._serialized_options = b'\202\267\0303\n\013recorded_at\022\013TIMESTAMPTZ\030\001:\021CURRENT_TIMESTAMP`\001h\001'
|
|
65
|
+
_globals['_EXECUTORPERFORMANCESUMMARY']._loaded_options = None
|
|
66
|
+
_globals['_EXECUTORPERFORMANCESUMMARY']._serialized_options = b'\372\266\030\231\001\n\036executor_performance_summaries\022\rudb_analytics\030\002 \001*GDaily executor performance roll-up for project-defined processing unitsH\003R\014summary_dateX\355\002\352\001\007replica'
|
|
67
|
+
_globals['_EXECUTORPERFORMANCESUMMARY']._serialized_start=160
|
|
68
|
+
_globals['_EXECUTORPERFORMANCESUMMARY']._serialized_end=1588
|
|
69
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
4
|
+
from udb.core.common.v1 import db_pb2 as _db_pb2
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import message as _message
|
|
7
|
+
from collections.abc import Mapping as _Mapping
|
|
8
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
9
|
+
|
|
10
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
11
|
+
|
|
12
|
+
class ExecutorPerformanceSummary(_message.Message):
|
|
13
|
+
__slots__ = ("summary_id", "summary_date", "executor_identity", "workload_kind", "total_dispatches", "successful_results", "timeout_count", "error_count", "avg_execution_ms", "p99_execution_ms", "avg_confidence", "success_rate", "avg_capacity_utilisation", "recorded_at")
|
|
14
|
+
SUMMARY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
SUMMARY_DATE_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
EXECUTOR_IDENTITY_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
WORKLOAD_KIND_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
TOTAL_DISPATCHES_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
SUCCESSFUL_RESULTS_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
TIMEOUT_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
ERROR_COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
AVG_EXECUTION_MS_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
P99_EXECUTION_MS_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
AVG_CONFIDENCE_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
SUCCESS_RATE_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
AVG_CAPACITY_UTILISATION_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
RECORDED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
summary_id: str
|
|
29
|
+
summary_date: _timestamp_pb2.Timestamp
|
|
30
|
+
executor_identity: str
|
|
31
|
+
workload_kind: str
|
|
32
|
+
total_dispatches: int
|
|
33
|
+
successful_results: int
|
|
34
|
+
timeout_count: int
|
|
35
|
+
error_count: int
|
|
36
|
+
avg_execution_ms: float
|
|
37
|
+
p99_execution_ms: float
|
|
38
|
+
avg_confidence: float
|
|
39
|
+
success_rate: float
|
|
40
|
+
avg_capacity_utilisation: float
|
|
41
|
+
recorded_at: _timestamp_pb2.Timestamp
|
|
42
|
+
def __init__(self, summary_id: _Optional[str] = ..., summary_date: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., executor_identity: _Optional[str] = ..., workload_kind: _Optional[str] = ..., total_dispatches: _Optional[int] = ..., successful_results: _Optional[int] = ..., timeout_count: _Optional[int] = ..., error_count: _Optional[int] = ..., avg_execution_ms: _Optional[float] = ..., p99_execution_ms: _Optional[float] = ..., avg_confidence: _Optional[float] = ..., success_rate: _Optional[float] = ..., avg_capacity_utilisation: _Optional[float] = ..., recorded_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: udb/core/analytics/entity/v1/pipeline_metric_snapshot.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'udb/core/analytics/entity/v1/pipeline_metric_snapshot.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
from udb.core.common.v1 import db_pb2 as udb_dot_core_dot_common_dot_v1_dot_db__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;udb/core/analytics/entity/v1/pipeline_metric_snapshot.proto\x12\x1cudb.core.analytics.entity.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1budb/core/common/v1/db.proto\"\xfc\x0e\n\x16PipelineMetricSnapshot\x12O\n\x0bsnapshot_id\x18\x01 \x01(\tB.\x82\xb7\x18*\n\x0bsnapshot_id\x12\x04UUID\x18\x01(\x01:\x11gen_random_uuid()R\nsnapshotId\x12\xa8\x01\n\rsnapshot_hour\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampBg\x82\xb7\x18\x63\n\rsnapshot_hour\x12\x0bTIMESTAMPTZ\x18\x01RC\n!idx_pipeline_snapshots_hour_stage\x12\x05\x42TREE\x18\x01Z\nstage_nameZ\ttenant_idR\x0csnapshotHour\x12\x82\x01\n\nstage_name\x18\x03 \x01(\tBc\x82\xb7\x18_\n\nstage_name\x12\x0bVARCHAR(80)\x18\x01ZBingest | validate | route | execute | reconcile | project | notifyR\tstageName\x12X\n\ttenant_id\x18\x04 \x01(\tB;\x82\xb7\x18\x37\n\ttenant_id\x12\x0cVARCHAR(120)Z\x1cnull = system-wide aggregateR\x08tenantId\x12H\n\x0etotal_requests\x18\x05 \x01(\x03\x42!\x82\xb7\x18\x1d\n\x0etotal_requests\x12\x06\x42IGINT\x18\x01:\x01\x30R\rtotalRequests\x12=\n\nsuccessful\x18\x06 \x01(\x03\x42\x1d\x82\xb7\x18\x19\n\nsuccessful\x12\x06\x42IGINT\x18\x01:\x01\x30R\nsuccessful\x12\x31\n\x06\x66\x61iled\x18\x07 \x01(\x03\x42\x19\x82\xb7\x18\x15\n\x06\x66\x61iled\x12\x06\x42IGINT\x18\x01:\x01\x30R\x06\x66\x61iled\x12L\n\x0ep50_latency_ms\x18\x08 \x01(\x01\x42&\x82\xb7\x18\"\n\x0ep50_latency_ms\x12\x10\x44OUBLE PRECISIONR\x0cp50LatencyMs\x12L\n\x0ep95_latency_ms\x18\t \x01(\x01\x42&\x82\xb7\x18\"\n\x0ep95_latency_ms\x12\x10\x44OUBLE PRECISIONR\x0cp95LatencyMs\x12L\n\x0ep99_latency_ms\x18\n \x01(\x01\x42&\x82\xb7\x18\"\n\x0ep99_latency_ms\x12\x10\x44OUBLE PRECISIONR\x0cp99LatencyMs\x12L\n\x0e\x61vg_latency_ms\x18\x0b \x01(\x01\x42&\x82\xb7\x18\"\n\x0e\x61vg_latency_ms\x12\x10\x44OUBLE PRECISIONR\x0c\x61vgLatencyMs\x12Z\n\nerror_rate\x18\x0c \x01(\x01\x42;\x82\xb7\x18\x37\n\nerror_rate\x12\x10\x44OUBLE PRECISIONZ\x17\x66\x61iled / total_requestsR\terrorRate\x12q\n\x0ethroughput_rps\x18\r \x01(\x01\x42J\x82\xb7\x18\x46\n\x0ethroughput_rps\x12\x10\x44OUBLE PRECISIONZ\"Requests per second (total / 3600)R\rthroughputRps\x12t\n\x0brecorded_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB7\x82\xb7\x18\x33\n\x0brecorded_at\x12\x0bTIMESTAMPTZ\x18\x01:\x11\x43URRENT_TIMESTAMP`\x01h\x01R\nrecordedAt:\xcd\x04\xfa\xb6\x18\xc8\x04\n\x19pipeline_metric_snapshots\x12\rudb_analytics\x18\x01 \x01*CHourly aggregated pipeline stage metrics backing Grafana dashboardsH\x03R\rsnapshot_hourX\xed\x02\x8a\x01\x36\n\x12idx_pms_stage_hour\x12\x05\x42TREEZ\nstage_nameZ\rsnapshot_hour\x9a\x01\x13\n\tbtree_gin\x12\x06public\xa2\x01\xe4\x02\n\x13mv_daily_throughput\x12\rudb_analytics\x1a\xbb\x02SELECT date_trunc(\'day\', snapshot_hour) AS day, stage_name, tenant_id, SUM(total_requests) AS total_requests, SUM(successful) AS successful, SUM(failed) AS failed, AVG(throughput_rps) AS avg_throughput_rps FROM udb_analytics.pipeline_metric_snapshots GROUP BY date_trunc(\'day\', snapshot_hour), stage_name, tenant_id \x01\xea\x01\x07replicaB\x9e\x02\n com.udb.core.analytics.entity.v1B\x1bPipelineMetricSnapshotProtoP\x01ZHgithub.com/fahara02/udb/sdk/go/gen/udb/core/analytics/entity/v1;entityv1\xa2\x02\x04UCAE\xaa\x02\x1cudb.core.Analytics.Entity.V1\xca\x02\x1cUdb\\Core\\Analytics\\Entity\\V1\xe2\x02(Udb\\GPBMetadata\\Core\\Analytics\\Entity\\V1\xea\x02 Udb::Core::Analytics::Entity::V1b\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'udb.core.analytics.entity.v1.pipeline_metric_snapshot_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n com.udb.core.analytics.entity.v1B\033PipelineMetricSnapshotProtoP\001ZHgithub.com/fahara02/udb/sdk/go/gen/udb/core/analytics/entity/v1;entityv1\242\002\004UCAE\252\002\034udb.core.Analytics.Entity.V1\312\002\034Udb\\Core\\Analytics\\Entity\\V1\342\002(Udb\\GPBMetadata\\Core\\Analytics\\Entity\\V1\352\002 Udb::Core::Analytics::Entity::V1'
|
|
37
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['snapshot_id']._loaded_options = None
|
|
38
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['snapshot_id']._serialized_options = b'\202\267\030*\n\013snapshot_id\022\004UUID\030\001(\001:\021gen_random_uuid()'
|
|
39
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['snapshot_hour']._loaded_options = None
|
|
40
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['snapshot_hour']._serialized_options = b'\202\267\030c\n\rsnapshot_hour\022\013TIMESTAMPTZ\030\001RC\n!idx_pipeline_snapshots_hour_stage\022\005BTREE\030\001Z\nstage_nameZ\ttenant_id'
|
|
41
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['stage_name']._loaded_options = None
|
|
42
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['stage_name']._serialized_options = b'\202\267\030_\n\nstage_name\022\013VARCHAR(80)\030\001ZBingest | validate | route | execute | reconcile | project | notify'
|
|
43
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['tenant_id']._loaded_options = None
|
|
44
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['tenant_id']._serialized_options = b'\202\267\0307\n\ttenant_id\022\014VARCHAR(120)Z\034null = system-wide aggregate'
|
|
45
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['total_requests']._loaded_options = None
|
|
46
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['total_requests']._serialized_options = b'\202\267\030\035\n\016total_requests\022\006BIGINT\030\001:\0010'
|
|
47
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['successful']._loaded_options = None
|
|
48
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['successful']._serialized_options = b'\202\267\030\031\n\nsuccessful\022\006BIGINT\030\001:\0010'
|
|
49
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['failed']._loaded_options = None
|
|
50
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['failed']._serialized_options = b'\202\267\030\025\n\006failed\022\006BIGINT\030\001:\0010'
|
|
51
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['p50_latency_ms']._loaded_options = None
|
|
52
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['p50_latency_ms']._serialized_options = b'\202\267\030\"\n\016p50_latency_ms\022\020DOUBLE PRECISION'
|
|
53
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['p95_latency_ms']._loaded_options = None
|
|
54
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['p95_latency_ms']._serialized_options = b'\202\267\030\"\n\016p95_latency_ms\022\020DOUBLE PRECISION'
|
|
55
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['p99_latency_ms']._loaded_options = None
|
|
56
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['p99_latency_ms']._serialized_options = b'\202\267\030\"\n\016p99_latency_ms\022\020DOUBLE PRECISION'
|
|
57
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['avg_latency_ms']._loaded_options = None
|
|
58
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['avg_latency_ms']._serialized_options = b'\202\267\030\"\n\016avg_latency_ms\022\020DOUBLE PRECISION'
|
|
59
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['error_rate']._loaded_options = None
|
|
60
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['error_rate']._serialized_options = b'\202\267\0307\n\nerror_rate\022\020DOUBLE PRECISIONZ\027failed / total_requests'
|
|
61
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['throughput_rps']._loaded_options = None
|
|
62
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['throughput_rps']._serialized_options = b'\202\267\030F\n\016throughput_rps\022\020DOUBLE PRECISIONZ\"Requests per second (total / 3600)'
|
|
63
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['recorded_at']._loaded_options = None
|
|
64
|
+
_globals['_PIPELINEMETRICSNAPSHOT'].fields_by_name['recorded_at']._serialized_options = b'\202\267\0303\n\013recorded_at\022\013TIMESTAMPTZ\030\001:\021CURRENT_TIMESTAMP`\001h\001'
|
|
65
|
+
_globals['_PIPELINEMETRICSNAPSHOT']._loaded_options = None
|
|
66
|
+
_globals['_PIPELINEMETRICSNAPSHOT']._serialized_options = b'\372\266\030\310\004\n\031pipeline_metric_snapshots\022\rudb_analytics\030\001 \001*CHourly aggregated pipeline stage metrics backing Grafana dashboardsH\003R\rsnapshot_hourX\355\002\212\0016\n\022idx_pms_stage_hour\022\005BTREEZ\nstage_nameZ\rsnapshot_hour\232\001\023\n\tbtree_gin\022\006public\242\001\344\002\n\023mv_daily_throughput\022\rudb_analytics\032\273\002SELECT date_trunc(\'day\', snapshot_hour) AS day, stage_name, tenant_id, SUM(total_requests) AS total_requests, SUM(successful) AS successful, SUM(failed) AS failed, AVG(throughput_rps) AS avg_throughput_rps FROM udb_analytics.pipeline_metric_snapshots GROUP BY date_trunc(\'day\', snapshot_hour), stage_name, tenant_id \001\352\001\007replica'
|
|
67
|
+
_globals['_PIPELINEMETRICSNAPSHOT']._serialized_start=156
|
|
68
|
+
_globals['_PIPELINEMETRICSNAPSHOT']._serialized_end=2072
|
|
69
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
4
|
+
from udb.core.common.v1 import db_pb2 as _db_pb2
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import message as _message
|
|
7
|
+
from collections.abc import Mapping as _Mapping
|
|
8
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
9
|
+
|
|
10
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
11
|
+
|
|
12
|
+
class PipelineMetricSnapshot(_message.Message):
|
|
13
|
+
__slots__ = ("snapshot_id", "snapshot_hour", "stage_name", "tenant_id", "total_requests", "successful", "failed", "p50_latency_ms", "p95_latency_ms", "p99_latency_ms", "avg_latency_ms", "error_rate", "throughput_rps", "recorded_at")
|
|
14
|
+
SNAPSHOT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
SNAPSHOT_HOUR_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
STAGE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
TENANT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
TOTAL_REQUESTS_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
SUCCESSFUL_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
FAILED_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
P50_LATENCY_MS_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
P95_LATENCY_MS_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
P99_LATENCY_MS_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
AVG_LATENCY_MS_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
ERROR_RATE_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
THROUGHPUT_RPS_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
RECORDED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
snapshot_id: str
|
|
29
|
+
snapshot_hour: _timestamp_pb2.Timestamp
|
|
30
|
+
stage_name: str
|
|
31
|
+
tenant_id: str
|
|
32
|
+
total_requests: int
|
|
33
|
+
successful: int
|
|
34
|
+
failed: int
|
|
35
|
+
p50_latency_ms: float
|
|
36
|
+
p95_latency_ms: float
|
|
37
|
+
p99_latency_ms: float
|
|
38
|
+
avg_latency_ms: float
|
|
39
|
+
error_rate: float
|
|
40
|
+
throughput_rps: float
|
|
41
|
+
recorded_at: _timestamp_pb2.Timestamp
|
|
42
|
+
def __init__(self, snapshot_id: _Optional[str] = ..., snapshot_hour: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., stage_name: _Optional[str] = ..., tenant_id: _Optional[str] = ..., total_requests: _Optional[int] = ..., successful: _Optional[int] = ..., failed: _Optional[int] = ..., p50_latency_ms: _Optional[float] = ..., p95_latency_ms: _Optional[float] = ..., p99_latency_ms: _Optional[float] = ..., avg_latency_ms: _Optional[float] = ..., error_rate: _Optional[float] = ..., throughput_rps: _Optional[float] = ..., recorded_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: udb/core/analytics/entity/v1/reconciliation_analytics_summary.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'udb/core/analytics/entity/v1/reconciliation_analytics_summary.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
from udb.core.common.v1 import db_pb2 as udb_dot_core_dot_common_dot_v1_dot_db__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nCudb/core/analytics/entity/v1/reconciliation_analytics_summary.proto\x12\x1cudb.core.analytics.entity.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1budb/core/common/v1/db.proto\"\xc5\t\n\x1eReconciliationAnalyticsSummary\x12L\n\nsummary_id\x18\x01 \x01(\tB-\x82\xb7\x18)\n\nsummary_id\x12\x04UUID\x18\x01(\x01:\x11gen_random_uuid()R\tsummaryId\x12[\n\x0csummary_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x1c\x82\xb7\x18\x18\n\x0csummary_date\x12\x04\x44\x41TE\x18\x01 \x01R\x0bsummaryDate\x12]\n\x15total_reconciliations\x18\x03 \x01(\x03\x42(\x82\xb7\x18$\n\x15total_reconciliations\x12\x06\x42IGINT\x18\x01:\x01\x30R\x14totalReconciliations\x12\x45\n\rexact_matches\x18\x04 \x01(\x03\x42 \x82\xb7\x18\x1c\n\rexact_matches\x12\x06\x42IGINT\x18\x01:\x01\x30R\x0c\x65xactMatches\x12Q\n\x11partial_conflicts\x18\x05 \x01(\x03\x42$\x82\xb7\x18 \n\x11partial_conflicts\x12\x06\x42IGINT\x18\x01:\x01\x30R\x10partialConflicts\x12H\n\x0ehard_conflicts\x18\x06 \x01(\x03\x42!\x82\xb7\x18\x1d\n\x0ehard_conflicts\x12\x06\x42IGINT\x18\x01:\x01\x30R\rhardConflicts\x12_\n\x16low_confidence_flagged\x18\x07 \x01(\x03\x42)\x82\xb7\x18%\n\x16low_confidence_flagged\x12\x06\x42IGINT\x18\x01:\x01\x30R\x14lowConfidenceFlagged\x12\x61\n\x15\x61vg_reconciliation_ms\x18\x08 \x01(\x01\x42-\x82\xb7\x18)\n\x15\x61vg_reconciliation_ms\x12\x10\x44OUBLE PRECISIONR\x13\x61vgReconciliationMs\x12w\n\x0fresolution_rate\x18\t \x01(\x01\x42N\x82\xb7\x18J\n\x0fresolution_rate\x12\x10\x44OUBLE PRECISIONZ%exact_matches / total_reconciliationsR\x0eresolutionRate\x12\x61\n\x15\x61vg_record_confidence\x18\n \x01(\x01\x42-\x82\xb7\x18)\n\x15\x61vg_record_confidence\x12\x10\x44OUBLE PRECISIONR\x13\x61vgRecordConfidence\x12t\n\x0brecorded_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB7\x82\xb7\x18\x33\n\x0brecorded_at\x12\x0bTIMESTAMPTZ\x18\x01:\x11\x43URRENT_TIMESTAMP`\x01h\x01R\nrecordedAt:\x9e\x01\xfa\xb6\x18\x99\x01\n\"reconciliation_analytics_summaries\x12\rudb_analytics\x18\x03 \x01*CDaily reconciliation and conflict roll-up for UDB-managed workflowsH\x03R\x0csummary_dateX\xed\x02\xea\x01\x07replicaB\xa6\x02\n com.udb.core.analytics.entity.v1B#ReconciliationAnalyticsSummaryProtoP\x01ZHgithub.com/fahara02/udb/sdk/go/gen/udb/core/analytics/entity/v1;entityv1\xa2\x02\x04UCAE\xaa\x02\x1cudb.core.Analytics.Entity.V1\xca\x02\x1cUdb\\Core\\Analytics\\Entity\\V1\xe2\x02(Udb\\GPBMetadata\\Core\\Analytics\\Entity\\V1\xea\x02 Udb::Core::Analytics::Entity::V1b\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'udb.core.analytics.entity.v1.reconciliation_analytics_summary_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n com.udb.core.analytics.entity.v1B#ReconciliationAnalyticsSummaryProtoP\001ZHgithub.com/fahara02/udb/sdk/go/gen/udb/core/analytics/entity/v1;entityv1\242\002\004UCAE\252\002\034udb.core.Analytics.Entity.V1\312\002\034Udb\\Core\\Analytics\\Entity\\V1\342\002(Udb\\GPBMetadata\\Core\\Analytics\\Entity\\V1\352\002 Udb::Core::Analytics::Entity::V1'
|
|
37
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['summary_id']._loaded_options = None
|
|
38
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['summary_id']._serialized_options = b'\202\267\030)\n\nsummary_id\022\004UUID\030\001(\001:\021gen_random_uuid()'
|
|
39
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['summary_date']._loaded_options = None
|
|
40
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['summary_date']._serialized_options = b'\202\267\030\030\n\014summary_date\022\004DATE\030\001 \001'
|
|
41
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['total_reconciliations']._loaded_options = None
|
|
42
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['total_reconciliations']._serialized_options = b'\202\267\030$\n\025total_reconciliations\022\006BIGINT\030\001:\0010'
|
|
43
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['exact_matches']._loaded_options = None
|
|
44
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['exact_matches']._serialized_options = b'\202\267\030\034\n\rexact_matches\022\006BIGINT\030\001:\0010'
|
|
45
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['partial_conflicts']._loaded_options = None
|
|
46
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['partial_conflicts']._serialized_options = b'\202\267\030 \n\021partial_conflicts\022\006BIGINT\030\001:\0010'
|
|
47
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['hard_conflicts']._loaded_options = None
|
|
48
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['hard_conflicts']._serialized_options = b'\202\267\030\035\n\016hard_conflicts\022\006BIGINT\030\001:\0010'
|
|
49
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['low_confidence_flagged']._loaded_options = None
|
|
50
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['low_confidence_flagged']._serialized_options = b'\202\267\030%\n\026low_confidence_flagged\022\006BIGINT\030\001:\0010'
|
|
51
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['avg_reconciliation_ms']._loaded_options = None
|
|
52
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['avg_reconciliation_ms']._serialized_options = b'\202\267\030)\n\025avg_reconciliation_ms\022\020DOUBLE PRECISION'
|
|
53
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['resolution_rate']._loaded_options = None
|
|
54
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['resolution_rate']._serialized_options = b'\202\267\030J\n\017resolution_rate\022\020DOUBLE PRECISIONZ%exact_matches / total_reconciliations'
|
|
55
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['avg_record_confidence']._loaded_options = None
|
|
56
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['avg_record_confidence']._serialized_options = b'\202\267\030)\n\025avg_record_confidence\022\020DOUBLE PRECISION'
|
|
57
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['recorded_at']._loaded_options = None
|
|
58
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY'].fields_by_name['recorded_at']._serialized_options = b'\202\267\0303\n\013recorded_at\022\013TIMESTAMPTZ\030\001:\021CURRENT_TIMESTAMP`\001h\001'
|
|
59
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY']._loaded_options = None
|
|
60
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY']._serialized_options = b'\372\266\030\231\001\n\"reconciliation_analytics_summaries\022\rudb_analytics\030\003 \001*CDaily reconciliation and conflict roll-up for UDB-managed workflowsH\003R\014summary_dateX\355\002\352\001\007replica'
|
|
61
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY']._serialized_start=164
|
|
62
|
+
_globals['_RECONCILIATIONANALYTICSSUMMARY']._serialized_end=1385
|
|
63
|
+
# @@protoc_insertion_point(module_scope)
|