chalkpy 2.89.22__py3-none-any.whl → 2.95.3__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.
- chalk/__init__.py +2 -1
- chalk/_gen/chalk/arrow/v1/arrow_pb2.py +7 -5
- chalk/_gen/chalk/arrow/v1/arrow_pb2.pyi +6 -0
- chalk/_gen/chalk/artifacts/v1/chart_pb2.py +36 -33
- chalk/_gen/chalk/artifacts/v1/chart_pb2.pyi +41 -1
- chalk/_gen/chalk/artifacts/v1/cron_query_pb2.py +8 -7
- chalk/_gen/chalk/artifacts/v1/cron_query_pb2.pyi +5 -0
- chalk/_gen/chalk/common/v1/offline_query_pb2.py +19 -13
- chalk/_gen/chalk/common/v1/offline_query_pb2.pyi +37 -0
- chalk/_gen/chalk/common/v1/online_query_pb2.py +54 -54
- chalk/_gen/chalk/common/v1/online_query_pb2.pyi +13 -1
- chalk/_gen/chalk/common/v1/script_task_pb2.py +13 -11
- chalk/_gen/chalk/common/v1/script_task_pb2.pyi +19 -1
- chalk/_gen/chalk/dataframe/__init__.py +0 -0
- chalk/_gen/chalk/dataframe/v1/__init__.py +0 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2.py +48 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2.pyi +123 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2_grpc.py +4 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/graph/v1/graph_pb2.py +150 -149
- chalk/_gen/chalk/graph/v1/graph_pb2.pyi +25 -0
- chalk/_gen/chalk/graph/v1/sources_pb2.py +94 -84
- chalk/_gen/chalk/graph/v1/sources_pb2.pyi +56 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2.py +79 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2.pyi +377 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2_grpc.py +4 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/kubernetes/v1/scaledobject_pb2.py +43 -7
- chalk/_gen/chalk/kubernetes/v1/scaledobject_pb2.pyi +252 -2
- chalk/_gen/chalk/protosql/v1/sql_service_pb2.py +54 -27
- chalk/_gen/chalk/protosql/v1/sql_service_pb2.pyi +131 -3
- chalk/_gen/chalk/protosql/v1/sql_service_pb2_grpc.py +45 -0
- chalk/_gen/chalk/protosql/v1/sql_service_pb2_grpc.pyi +14 -0
- chalk/_gen/chalk/python/v1/types_pb2.py +14 -14
- chalk/_gen/chalk/python/v1/types_pb2.pyi +8 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2.py +76 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2.pyi +156 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.py +258 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.pyi +84 -0
- chalk/_gen/chalk/server/v1/billing_pb2.py +40 -38
- chalk/_gen/chalk/server/v1/billing_pb2.pyi +17 -1
- chalk/_gen/chalk/server/v1/branches_pb2.py +45 -0
- chalk/_gen/chalk/server/v1/branches_pb2.pyi +80 -0
- chalk/_gen/chalk/server/v1/branches_pb2_grpc.pyi +36 -0
- chalk/_gen/chalk/server/v1/builder_pb2.py +372 -272
- chalk/_gen/chalk/server/v1/builder_pb2.pyi +479 -12
- chalk/_gen/chalk/server/v1/builder_pb2_grpc.py +360 -0
- chalk/_gen/chalk/server/v1/builder_pb2_grpc.pyi +96 -0
- chalk/_gen/chalk/server/v1/chart_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/chart_pb2.pyi +18 -2
- chalk/_gen/chalk/server/v1/clickhouse_pb2.py +42 -0
- chalk/_gen/chalk/server/v1/clickhouse_pb2.pyi +17 -0
- chalk/_gen/chalk/server/v1/clickhouse_pb2_grpc.py +78 -0
- chalk/_gen/chalk/server/v1/clickhouse_pb2_grpc.pyi +38 -0
- chalk/_gen/chalk/server/v1/cloud_components_pb2.py +153 -107
- chalk/_gen/chalk/server/v1/cloud_components_pb2.pyi +146 -4
- chalk/_gen/chalk/server/v1/cloud_components_pb2_grpc.py +180 -0
- chalk/_gen/chalk/server/v1/cloud_components_pb2_grpc.pyi +48 -0
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2.py +11 -3
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2.pyi +20 -0
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/cloud_credentials_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.py +59 -35
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2.pyi +127 -1
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.py +135 -0
- chalk/_gen/chalk/server/v1/dataplanejobqueue_pb2_grpc.pyi +36 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.py +90 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.pyi +264 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2_grpc.py +170 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2_grpc.pyi +62 -0
- chalk/_gen/chalk/server/v1/datasets_pb2.py +36 -24
- chalk/_gen/chalk/server/v1/datasets_pb2.pyi +71 -2
- chalk/_gen/chalk/server/v1/datasets_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/datasets_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/deploy_pb2.py +9 -3
- chalk/_gen/chalk/server/v1/deploy_pb2.pyi +12 -0
- chalk/_gen/chalk/server/v1/deploy_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/deploy_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/deployment_pb2.py +20 -15
- chalk/_gen/chalk/server/v1/deployment_pb2.pyi +25 -0
- chalk/_gen/chalk/server/v1/environment_pb2.py +25 -15
- chalk/_gen/chalk/server/v1/environment_pb2.pyi +93 -1
- chalk/_gen/chalk/server/v1/eventbus_pb2.py +44 -0
- chalk/_gen/chalk/server/v1/eventbus_pb2.pyi +64 -0
- chalk/_gen/chalk/server/v1/eventbus_pb2_grpc.py +4 -0
- chalk/_gen/chalk/server/v1/eventbus_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/server/v1/files_pb2.py +65 -0
- chalk/_gen/chalk/server/v1/files_pb2.pyi +167 -0
- chalk/_gen/chalk/server/v1/files_pb2_grpc.py +4 -0
- chalk/_gen/chalk/server/v1/files_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/server/v1/graph_pb2.py +41 -3
- chalk/_gen/chalk/server/v1/graph_pb2.pyi +191 -0
- chalk/_gen/chalk/server/v1/graph_pb2_grpc.py +92 -0
- chalk/_gen/chalk/server/v1/graph_pb2_grpc.pyi +32 -0
- chalk/_gen/chalk/server/v1/incident_pb2.py +57 -0
- chalk/_gen/chalk/server/v1/incident_pb2.pyi +165 -0
- chalk/_gen/chalk/server/v1/incident_pb2_grpc.py +4 -0
- chalk/_gen/chalk/server/v1/incident_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/server/v1/indexing_job_pb2.py +44 -0
- chalk/_gen/chalk/server/v1/indexing_job_pb2.pyi +38 -0
- chalk/_gen/chalk/server/v1/indexing_job_pb2_grpc.py +78 -0
- chalk/_gen/chalk/server/v1/indexing_job_pb2_grpc.pyi +38 -0
- chalk/_gen/chalk/server/v1/integrations_pb2.py +11 -9
- chalk/_gen/chalk/server/v1/integrations_pb2.pyi +34 -2
- chalk/_gen/chalk/server/v1/kube_pb2.py +29 -19
- chalk/_gen/chalk/server/v1/kube_pb2.pyi +28 -0
- chalk/_gen/chalk/server/v1/kube_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/kube_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/log_pb2.py +21 -3
- chalk/_gen/chalk/server/v1/log_pb2.pyi +68 -0
- chalk/_gen/chalk/server/v1/log_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/log_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/metadataplanejobqueue_pb2.py +73 -0
- chalk/_gen/chalk/server/v1/metadataplanejobqueue_pb2.pyi +212 -0
- chalk/_gen/chalk/server/v1/metadataplanejobqueue_pb2_grpc.py +217 -0
- chalk/_gen/chalk/server/v1/metadataplanejobqueue_pb2_grpc.pyi +74 -0
- chalk/_gen/chalk/server/v1/model_registry_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/model_registry_pb2.pyi +4 -1
- chalk/_gen/chalk/server/v1/monitoring_pb2.py +84 -75
- chalk/_gen/chalk/server/v1/monitoring_pb2.pyi +1 -0
- chalk/_gen/chalk/server/v1/monitoring_pb2_grpc.py +136 -0
- chalk/_gen/chalk/server/v1/monitoring_pb2_grpc.pyi +38 -0
- chalk/_gen/chalk/server/v1/offline_queries_pb2.py +32 -10
- chalk/_gen/chalk/server/v1/offline_queries_pb2.pyi +73 -0
- chalk/_gen/chalk/server/v1/offline_queries_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/offline_queries_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2.py +53 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2.pyi +86 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.py +168 -0
- chalk/_gen/chalk/server/v1/plandebug_pb2_grpc.pyi +60 -0
- chalk/_gen/chalk/server/v1/queries_pb2.py +76 -48
- chalk/_gen/chalk/server/v1/queries_pb2.pyi +155 -2
- chalk/_gen/chalk/server/v1/queries_pb2_grpc.py +180 -0
- chalk/_gen/chalk/server/v1/queries_pb2_grpc.pyi +48 -0
- chalk/_gen/chalk/server/v1/scheduled_query_pb2.py +4 -2
- chalk/_gen/chalk/server/v1/scheduled_query_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/scheduled_query_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.py +12 -6
- chalk/_gen/chalk/server/v1/scheduled_query_run_pb2.pyi +75 -2
- chalk/_gen/chalk/server/v1/scheduler_pb2.py +24 -12
- chalk/_gen/chalk/server/v1/scheduler_pb2.pyi +61 -1
- chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/script_tasks_pb2.py +26 -14
- chalk/_gen/chalk/server/v1/script_tasks_pb2.pyi +33 -3
- chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/script_tasks_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2.py +75 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2.pyi +142 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2_grpc.py +349 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2_grpc.pyi +114 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2.py +48 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2.pyi +150 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.py +123 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2_grpc.pyi +52 -0
- chalk/_gen/chalk/server/v1/team_pb2.py +156 -137
- chalk/_gen/chalk/server/v1/team_pb2.pyi +56 -10
- chalk/_gen/chalk/server/v1/team_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/team_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/topic_pb2.py +5 -3
- chalk/_gen/chalk/server/v1/topic_pb2.pyi +10 -1
- chalk/_gen/chalk/server/v1/trace_pb2.py +50 -28
- chalk/_gen/chalk/server/v1/trace_pb2.pyi +121 -0
- chalk/_gen/chalk/server/v1/trace_pb2_grpc.py +135 -0
- chalk/_gen/chalk/server/v1/trace_pb2_grpc.pyi +42 -0
- chalk/_gen/chalk/server/v1/webhook_pb2.py +9 -3
- chalk/_gen/chalk/server/v1/webhook_pb2.pyi +18 -0
- chalk/_gen/chalk/server/v1/webhook_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/webhook_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2.py +62 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2.pyi +75 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2_grpc.py +221 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2_grpc.pyi +88 -0
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.py +19 -7
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.pyi +96 -3
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2_grpc.py +48 -0
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2_grpc.pyi +20 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2.py +32 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2.pyi +42 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.py +4 -0
- chalk/_gen/chalk/utils/v1/field_change_pb2_grpc.pyi +4 -0
- chalk/_lsp/error_builder.py +11 -0
- chalk/_monitoring/Chart.py +1 -3
- chalk/_version.py +1 -1
- chalk/cli.py +5 -10
- chalk/client/client.py +178 -64
- chalk/client/client_async.py +154 -0
- chalk/client/client_async_impl.py +22 -0
- chalk/client/client_grpc.py +738 -112
- chalk/client/client_impl.py +541 -136
- chalk/client/dataset.py +27 -6
- chalk/client/models.py +99 -2
- chalk/client/serialization/model_serialization.py +126 -10
- chalk/config/project_config.py +1 -1
- chalk/df/LazyFramePlaceholder.py +1154 -0
- chalk/df/ast_parser.py +2 -10
- chalk/features/_class_property.py +7 -0
- chalk/features/_embedding/embedding.py +1 -0
- chalk/features/_embedding/sentence_transformer.py +1 -1
- chalk/features/_encoding/converter.py +83 -2
- chalk/features/_encoding/pyarrow.py +20 -4
- chalk/features/_encoding/rich.py +1 -3
- chalk/features/_tensor.py +1 -2
- chalk/features/dataframe/_filters.py +14 -5
- chalk/features/dataframe/_impl.py +91 -36
- chalk/features/dataframe/_validation.py +11 -7
- chalk/features/feature_field.py +40 -30
- chalk/features/feature_set.py +1 -2
- chalk/features/feature_set_decorator.py +1 -0
- chalk/features/feature_wrapper.py +42 -3
- chalk/features/hooks.py +81 -12
- chalk/features/inference.py +65 -10
- chalk/features/resolver.py +338 -56
- chalk/features/tag.py +1 -3
- chalk/features/underscore_features.py +2 -1
- chalk/functions/__init__.py +456 -21
- chalk/functions/holidays.py +1 -3
- chalk/gitignore/gitignore_parser.py +5 -1
- chalk/importer.py +186 -74
- chalk/ml/__init__.py +6 -2
- chalk/ml/model_hooks.py +368 -51
- chalk/ml/model_reference.py +68 -10
- chalk/ml/model_version.py +34 -21
- chalk/ml/utils.py +143 -40
- chalk/operators/_utils.py +14 -3
- chalk/parsed/_proto/export.py +22 -0
- chalk/parsed/duplicate_input_gql.py +4 -0
- chalk/parsed/expressions.py +1 -3
- chalk/parsed/json_conversions.py +21 -14
- chalk/parsed/to_proto.py +16 -4
- chalk/parsed/user_types_to_json.py +31 -10
- chalk/parsed/validation_from_registries.py +182 -0
- chalk/queries/named_query.py +16 -6
- chalk/queries/scheduled_query.py +13 -1
- chalk/serialization/parsed_annotation.py +25 -12
- chalk/sql/__init__.py +221 -0
- chalk/sql/_internal/integrations/athena.py +6 -1
- chalk/sql/_internal/integrations/bigquery.py +22 -2
- chalk/sql/_internal/integrations/databricks.py +61 -18
- chalk/sql/_internal/integrations/mssql.py +281 -0
- chalk/sql/_internal/integrations/postgres.py +11 -3
- chalk/sql/_internal/integrations/redshift.py +4 -0
- chalk/sql/_internal/integrations/snowflake.py +11 -2
- chalk/sql/_internal/integrations/util.py +2 -1
- chalk/sql/_internal/sql_file_resolver.py +55 -10
- chalk/sql/_internal/sql_source.py +36 -2
- chalk/streams/__init__.py +1 -3
- chalk/streams/_kafka_source.py +5 -1
- chalk/streams/_windows.py +16 -4
- chalk/streams/types.py +1 -2
- chalk/utils/__init__.py +1 -3
- chalk/utils/_otel_version.py +13 -0
- chalk/utils/async_helpers.py +14 -5
- chalk/utils/df_utils.py +2 -2
- chalk/utils/duration.py +1 -3
- chalk/utils/job_log_display.py +538 -0
- chalk/utils/missing_dependency.py +5 -4
- chalk/utils/notebook.py +255 -2
- chalk/utils/pl_helpers.py +190 -37
- chalk/utils/pydanticutil/pydantic_compat.py +1 -2
- chalk/utils/storage_client.py +246 -0
- chalk/utils/threading.py +1 -3
- chalk/utils/tracing.py +194 -86
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/METADATA +53 -21
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/RECORD +268 -198
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/WHEEL +0 -0
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/entry_points.txt +0 -0
- {chalkpy-2.89.22.dist-info → chalkpy-2.95.3.dist-info}/top_level.txt +0 -0
|
@@ -15,13 +15,14 @@ _sym_db = _symbol_database.Default()
|
|
|
15
15
|
|
|
16
16
|
from chalk._gen.chalk.auth.v1 import audit_pb2 as chalk_dot_auth_dot_v1_dot_audit__pb2
|
|
17
17
|
from chalk._gen.chalk.auth.v1 import permissions_pb2 as chalk_dot_auth_dot_v1_dot_permissions__pb2
|
|
18
|
+
from chalk._gen.chalk.server.v1 import incident_pb2 as chalk_dot_server_dot_v1_dot_incident__pb2
|
|
18
19
|
from chalk._gen.chalk.utils.v1 import sensitive_pb2 as chalk_dot_utils_dot_v1_dot_sensitive__pb2
|
|
19
20
|
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
|
|
20
21
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
24
|
-
b'\n chalk/server/v1/monitoring.proto\x12\x0f\x63halk.server.v1\x1a\x19\x63halk/auth/v1/audit.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\x1e\x63halk/utils/v1/sensitive.proto\x1a google/protobuf/descriptor.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xf9\x03\n\x17PagerDutyEventV2Payload\x12\x18\n\x07summary\x18\x01 \x01(\tR\x07summary\x12=\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\ttimestamp\x88\x01\x01\x12>\n\x08severity\x18\x03 \x01(\x0e\x32".chalk.server.v1.PagerDutySeverityR\x08severity\x12\x16\n\x06source\x18\x04 \x01(\tR\x06source\x12!\n\tcomponent\x18\x05 \x01(\tH\x01R\tcomponent\x88\x01\x01\x12\x19\n\x05group\x18\x06 \x01(\tH\x02R\x05group\x88\x01\x01\x12\x19\n\x05\x63lass\x18\x07 \x01(\tH\x03R\x05\x63lass\x88\x01\x01\x12\x62\n\x0e\x63ustom_details\x18\x08 \x03(\x0b\x32;.chalk.server.v1.PagerDutyEventV2Payload.CustomDetailsEntryR\rcustomDetails\x1a@\n\x12\x43ustomDetailsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0c\n\n_timestampB\x0c\n\n_componentB\x08\n\x06_groupB\x08\n\x06_class"L\n\x14PagerDutyEventV2Link\x12\x12\n\x04href\x18\x01 \x01(\tR\x04href\x12\x17\n\x04text\x18\x02 \x01(\tH\x00R\x04text\x88\x01\x01\x42\x07\n\x05_text"j\n\x15PagerDutyEventV2Image\x12\x10\n\x03src\x18\x01 \x01(\tR\x03src\x12\x17\n\x04href\x18\x02 \x01(\tH\x00R\x04href\x88\x01\x01\x12\x15\n\x03\x61lt\x18\x03 \x01(\tH\x01R\x03\x61lt\x88\x01\x01\x42\x07\n\x05_hrefB\x06\n\x04_alt"\xc9\x03\n\x10PagerDutyEventV2\x12\x42\n\x07payload\x18\x01 \x01(\x0b\x32(.chalk.server.v1.PagerDutyEventV2PayloadR\x07payload\x12\x1f\n\x0brouting_key\x18\x02 \x01(\tR\nroutingKey\x12H\n\x0c\x65vent_action\x18\x03 \x01(\x0e\x32%.chalk.server.v1.PagerDutyEventActionR\x0b\x65ventAction\x12 \n\tdedup_key\x18\x04 \x01(\tH\x00R\x08\x64\x65\x64upKey\x88\x01\x01\x12\x1b\n\x06\x63lient\x18\x05 \x01(\tH\x01R\x06\x63lient\x88\x01\x01\x12"\n\nclient_url\x18\x06 \x01(\tH\x02R\tclientUrl\x88\x01\x01\x12;\n\x05links\x18\x07 \x03(\x0b\x32%.chalk.server.v1.PagerDutyEventV2LinkR\x05links\x12>\n\x06images\x18\x08 \x03(\x0b\x32&.chalk.server.v1.PagerDutyEventV2ImageR\x06imagesB\x0c\n\n_dedup_keyB\t\n\x07_clientB\r\n\x0b_client_url"\xa5\x01\n\x14PagerDutyIntegration\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x18\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x08R\x07\x64\x65\x66\x61ult\x12\x1a\n\x05token\x18\x04 \x01(\tB\x04\xd8\xa1\'\x01R\x05token\x12%\n\x0e\x65nvironment_id\x18\x05 \x01(\tR\renvironmentIdB\x07\n\x05_name"\x9c\x02\n\x15IncidentIoIntegration\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n\x05token\x18\x02 \x01(\tB\x04\xd8\xa1\'\x01R\x05token\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId\x12\x17\n\x04name\x18\x04 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x1b\n\tsource_id\x18\x05 \x01(\tR\x08sourceId\x12!\n\x0csource_token\x18\x06 \x01(\tR\x0bsourceToken\x12#\n\x0bseverity_id\x18\x07 \x01(\tB\x02\x18\x01R\nseverityId\x12)\n\x0eseverity_token\x18\x08 \x01(\tB\x02\x18\x01R\rseverityTokenB\x07\n\x05_name"\xa1\x02\n\x11IncidentIoEventV2\x12\x19\n\x08route_id\x18\x01 \x01(\tR\x07routeId\x12%\n\x0broute_token\x18\x02 \x01(\tB\x04\xd8\xa1\'\x01R\nrouteToken\x12 \n\tdedup_key\x18\x03 \x01(\tH\x00R\x08\x64\x65\x64upKey\x88\x01\x01\x12"\n\nsource_url\x18\x04 \x01(\tH\x01R\tsourceUrl\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x02R\x0b\x64\x65scription\x88\x01\x01\x12\x16\n\x06status\x18\x06 \x01(\tR\x06status\x12\x14\n\x05title\x18\x07 \x01(\tR\x05title:\x02\x18\x01\x42\x0c\n\n_dedup_keyB\r\n\x0b_source_urlB\x0e\n\x0c_description"1\n\x1fTestPagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"<\n\x1eGetPagerDutyIntegrationRequest\x12\x13\n\x02id\x18\x01 \x01(\tH\x00R\x02id\x88\x01\x01\x42\x05\n\x03_id"j\n\x1fGetPagerDutyIntegrationResponse\x12G\n\x0bintegration\x18\x01 \x01(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0bintegration"T\n TestPagerDutyIntegrationResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"X\n\x1e\x41\x64\x64PagerDutyIntegrationRequest\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x14\n\x05token\x18\x03 \x01(\tR\x05tokenB\x07\n\x05_name"j\n\x1f\x41\x64\x64PagerDutyIntegrationResponse\x12G\n\x0bintegration\x18\x01 \x01(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0bintegration"3\n!DeletePagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"$\n"DeletePagerDutyIntegrationResponse"\xab\x01\n!UpdatePagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x1d\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x08H\x01R\x07\x64\x65\x66\x61ult\x88\x01\x01\x12\x1f\n\x05token\x18\x04 \x01(\tB\x04\xd8\xa1\'\x01H\x02R\x05token\x88\x01\x01\x42\x07\n\x05_nameB\n\n\x08_defaultB\x08\n\x06_token"m\n"UpdatePagerDutyIntegrationResponse\x12G\n\x0bintegration\x18\x02 \x01(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0bintegration"7\n%SetDefaultPagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"8\n&SetDefaultPagerDutyIntegrationResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"$\n"GetAllPagerDutyIntegrationsRequest"p\n#GetAllPagerDutyIntegrationsResponse\x12I\n\x0cintegrations\x18\x01 \x03(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0cintegrations"2\n TestIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"U\n!TestIncidentIoIntegrationResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"1\n\x1fGetIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"l\n GetIncidentIoIntegrationResponse\x12H\n\x0bintegration\x18\x01 \x01(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0bintegration"\xc7\x01\n\x1f\x41\x64\x64IncidentIoIntegrationRequest\x12.\n\x10integration_name\x18\x01 \x01(\tH\x00R\x0fintegrationName\x88\x01\x01\x12+\n\x11integration_token\x18\x03 \x01(\tR\x10integrationToken\x12\x32\n\x15integration_source_id\x18\x04 \x01(\tR\x13integrationSourceIdB\x13\n\x11_integration_name"l\n AddIncidentIoIntegrationResponse\x12H\n\x0bintegration\x18\x01 \x01(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0bintegration"4\n"DeleteIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"%\n#DeleteIncidentIoIntegrationResponse"\xb1\x01\n"UpdateIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x1f\n\x05token\x18\x03 \x01(\tB\x04\xd8\xa1\'\x01H\x01R\x05token\x88\x01\x01\x12 \n\tsource_id\x18\x04 \x01(\tH\x02R\x08sourceId\x88\x01\x01\x42\x07\n\x05_nameB\x08\n\x06_tokenB\x0c\n\n_source_id"o\n#UpdateIncidentIoIntegrationResponse\x12H\n\x0bintegration\x18\x01 \x01(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0bintegration"%\n#GetAllIncidentIoIntegrationsRequest"r\n$GetAllIncidentIoIntegrationsResponse\x12J\n\x0cintegrations\x18\x01 \x03(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0cintegrations*\xb8\x01\n\x11PagerDutySeverity\x12#\n\x1fPAGER_DUTY_SEVERITY_UNSPECIFIED\x10\x00\x12\x1c\n\x18PAGER_DUTY_SEVERITY_INFO\x10\x01\x12\x1f\n\x1bPAGER_DUTY_SEVERITY_WARNING\x10\x02\x12\x1d\n\x19PAGER_DUTY_SEVERITY_ERROR\x10\x03\x12 \n\x1cPAGER_DUTY_SEVERITY_CRITICAL\x10\x04*\xb2\x01\n\x14PagerDutyEventAction\x12\'\n#PAGER_DUTY_EVENT_ACTION_UNSPECIFIED\x10\x00\x12#\n\x1fPAGER_DUTY_EVENT_ACTION_TRIGGER\x10\x01\x12\'\n#PAGER_DUTY_EVENT_ACTION_ACKNOWLEDGE\x10\x02\x12#\n\x1fPAGER_DUTY_EVENT_ACTION_RESOLVE\x10\x03\x32\xef\x0e\n\x11MonitoringService\x12\x84\x01\n\x18TestPagerDutyIntegration\x12\x30.chalk.server.v1.TestPagerDutyIntegrationRequest\x1a\x31.chalk.server.v1.TestPagerDutyIntegrationResponse"\x03\x80}\x06\x12\x87\x01\n\x17\x41\x64\x64PagerDutyIntegration\x12/.chalk.server.v1.AddPagerDutyIntegrationRequest\x1a\x30.chalk.server.v1.AddPagerDutyIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x90\x01\n\x1a\x44\x65letePagerDutyIntegration\x12\x32.chalk.server.v1.DeletePagerDutyIntegrationRequest\x1a\x33.chalk.server.v1.DeletePagerDutyIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x9f\x01\n\x1eSetDefaultPagerDutyIntegration\x12\x36.chalk.server.v1.SetDefaultPagerDutyIntegrationRequest\x1a\x37.chalk.server.v1.SetDefaultPagerDutyIntegrationResponse"\x0c\x90\x02\x02\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x93\x01\n\x1aUpdatePagerDutyIntegration\x12\x32.chalk.server.v1.UpdatePagerDutyIntegrationRequest\x1a\x33.chalk.server.v1.UpdatePagerDutyIntegrationResponse"\x0c\x90\x02\x02\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x90\x01\n\x1bGetAllPagerDutyIntegrations\x12\x33.chalk.server.v1.GetAllPagerDutyIntegrationsRequest\x1a\x34.chalk.server.v1.GetAllPagerDutyIntegrationsResponse"\x06\x90\x02\x01\x80}\x06\x12\x84\x01\n\x17GetPagerDutyIntegration\x12/.chalk.server.v1.GetPagerDutyIntegrationRequest\x1a\x30.chalk.server.v1.GetPagerDutyIntegrationResponse"\x06\x90\x02\x01\x80}\x06\x12\x87\x01\n\x19TestIncidentIoIntegration\x12\x31.chalk.server.v1.TestIncidentIoIntegrationRequest\x1a\x32.chalk.server.v1.TestIncidentIoIntegrationResponse"\x03\x80}\x06\x12\x8a\x01\n\x18\x41\x64\x64IncidentIoIntegration\x12\x30.chalk.server.v1.AddIncidentIoIntegrationRequest\x1a\x31.chalk.server.v1.AddIncidentIoIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x93\x01\n\x1b\x44\x65leteIncidentIoIntegration\x12\x33.chalk.server.v1.DeleteIncidentIoIntegrationRequest\x1a\x34.chalk.server.v1.DeleteIncidentIoIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x96\x01\n\x1bUpdateIncidentIoIntegration\x12\x33.chalk.server.v1.UpdateIncidentIoIntegrationRequest\x1a\x34.chalk.server.v1.UpdateIncidentIoIntegrationResponse"\x0c\x90\x02\x02\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x93\x01\n\x1cGetAllIncidentIoIntegrations\x12\x34.chalk.server.v1.GetAllIncidentIoIntegrationsRequest\x1a\x35.chalk.server.v1.GetAllIncidentIoIntegrationsResponse"\x06\x90\x02\x01\x80}\x06\x12\x87\x01\n\x18GetIncidentIoIntegration\x12\x30.chalk.server.v1.GetIncidentIoIntegrationRequest\x1a\x31.chalk.server.v1.GetIncidentIoIntegrationResponse"\x06\x90\x02\x01\x80}\x06\x42\x98\x01\n\x13\x63om.chalk.server.v1B\x0fMonitoringProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
|
|
25
|
+
b'\n chalk/server/v1/monitoring.proto\x12\x0f\x63halk.server.v1\x1a\x19\x63halk/auth/v1/audit.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\x1e\x63halk/server/v1/incident.proto\x1a\x1e\x63halk/utils/v1/sensitive.proto\x1a google/protobuf/descriptor.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xf9\x03\n\x17PagerDutyEventV2Payload\x12\x18\n\x07summary\x18\x01 \x01(\tR\x07summary\x12=\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\ttimestamp\x88\x01\x01\x12>\n\x08severity\x18\x03 \x01(\x0e\x32".chalk.server.v1.PagerDutySeverityR\x08severity\x12\x16\n\x06source\x18\x04 \x01(\tR\x06source\x12!\n\tcomponent\x18\x05 \x01(\tH\x01R\tcomponent\x88\x01\x01\x12\x19\n\x05group\x18\x06 \x01(\tH\x02R\x05group\x88\x01\x01\x12\x19\n\x05\x63lass\x18\x07 \x01(\tH\x03R\x05\x63lass\x88\x01\x01\x12\x62\n\x0e\x63ustom_details\x18\x08 \x03(\x0b\x32;.chalk.server.v1.PagerDutyEventV2Payload.CustomDetailsEntryR\rcustomDetails\x1a@\n\x12\x43ustomDetailsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0c\n\n_timestampB\x0c\n\n_componentB\x08\n\x06_groupB\x08\n\x06_class"L\n\x14PagerDutyEventV2Link\x12\x12\n\x04href\x18\x01 \x01(\tR\x04href\x12\x17\n\x04text\x18\x02 \x01(\tH\x00R\x04text\x88\x01\x01\x42\x07\n\x05_text"j\n\x15PagerDutyEventV2Image\x12\x10\n\x03src\x18\x01 \x01(\tR\x03src\x12\x17\n\x04href\x18\x02 \x01(\tH\x00R\x04href\x88\x01\x01\x12\x15\n\x03\x61lt\x18\x03 \x01(\tH\x01R\x03\x61lt\x88\x01\x01\x42\x07\n\x05_hrefB\x06\n\x04_alt"\xc9\x03\n\x10PagerDutyEventV2\x12\x42\n\x07payload\x18\x01 \x01(\x0b\x32(.chalk.server.v1.PagerDutyEventV2PayloadR\x07payload\x12\x1f\n\x0brouting_key\x18\x02 \x01(\tR\nroutingKey\x12H\n\x0c\x65vent_action\x18\x03 \x01(\x0e\x32%.chalk.server.v1.PagerDutyEventActionR\x0b\x65ventAction\x12 \n\tdedup_key\x18\x04 \x01(\tH\x00R\x08\x64\x65\x64upKey\x88\x01\x01\x12\x1b\n\x06\x63lient\x18\x05 \x01(\tH\x01R\x06\x63lient\x88\x01\x01\x12"\n\nclient_url\x18\x06 \x01(\tH\x02R\tclientUrl\x88\x01\x01\x12;\n\x05links\x18\x07 \x03(\x0b\x32%.chalk.server.v1.PagerDutyEventV2LinkR\x05links\x12>\n\x06images\x18\x08 \x03(\x0b\x32&.chalk.server.v1.PagerDutyEventV2ImageR\x06imagesB\x0c\n\n_dedup_keyB\t\n\x07_clientB\r\n\x0b_client_url"\xa5\x01\n\x14PagerDutyIntegration\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x18\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x08R\x07\x64\x65\x66\x61ult\x12\x1a\n\x05token\x18\x04 \x01(\tB\x04\xd8\xa1\'\x01R\x05token\x12%\n\x0e\x65nvironment_id\x18\x05 \x01(\tR\renvironmentIdB\x07\n\x05_name"\x9c\x02\n\x15IncidentIoIntegration\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n\x05token\x18\x02 \x01(\tB\x04\xd8\xa1\'\x01R\x05token\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId\x12\x17\n\x04name\x18\x04 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x1b\n\tsource_id\x18\x05 \x01(\tR\x08sourceId\x12!\n\x0csource_token\x18\x06 \x01(\tR\x0bsourceToken\x12#\n\x0bseverity_id\x18\x07 \x01(\tB\x02\x18\x01R\nseverityId\x12)\n\x0eseverity_token\x18\x08 \x01(\tB\x02\x18\x01R\rseverityTokenB\x07\n\x05_name"\xa1\x02\n\x11IncidentIoEventV2\x12\x19\n\x08route_id\x18\x01 \x01(\tR\x07routeId\x12%\n\x0broute_token\x18\x02 \x01(\tB\x04\xd8\xa1\'\x01R\nrouteToken\x12 \n\tdedup_key\x18\x03 \x01(\tH\x00R\x08\x64\x65\x64upKey\x88\x01\x01\x12"\n\nsource_url\x18\x04 \x01(\tH\x01R\tsourceUrl\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x02R\x0b\x64\x65scription\x88\x01\x01\x12\x16\n\x06status\x18\x06 \x01(\tR\x06status\x12\x14\n\x05title\x18\x07 \x01(\tR\x05title:\x02\x18\x01\x42\x0c\n\n_dedup_keyB\r\n\x0b_source_urlB\x0e\n\x0c_description"1\n\x1fTestPagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"<\n\x1eGetPagerDutyIntegrationRequest\x12\x13\n\x02id\x18\x01 \x01(\tH\x00R\x02id\x88\x01\x01\x42\x05\n\x03_id"j\n\x1fGetPagerDutyIntegrationResponse\x12G\n\x0bintegration\x18\x01 \x01(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0bintegration"T\n TestPagerDutyIntegrationResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"X\n\x1e\x41\x64\x64PagerDutyIntegrationRequest\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x14\n\x05token\x18\x03 \x01(\tR\x05tokenB\x07\n\x05_name"j\n\x1f\x41\x64\x64PagerDutyIntegrationResponse\x12G\n\x0bintegration\x18\x01 \x01(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0bintegration"3\n!DeletePagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"$\n"DeletePagerDutyIntegrationResponse"\xab\x01\n!UpdatePagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x1d\n\x07\x64\x65\x66\x61ult\x18\x03 \x01(\x08H\x01R\x07\x64\x65\x66\x61ult\x88\x01\x01\x12\x1f\n\x05token\x18\x04 \x01(\tB\x04\xd8\xa1\'\x01H\x02R\x05token\x88\x01\x01\x42\x07\n\x05_nameB\n\n\x08_defaultB\x08\n\x06_token"m\n"UpdatePagerDutyIntegrationResponse\x12G\n\x0bintegration\x18\x02 \x01(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0bintegration"7\n%SetDefaultPagerDutyIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"8\n&SetDefaultPagerDutyIntegrationResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"$\n"GetAllPagerDutyIntegrationsRequest"p\n#GetAllPagerDutyIntegrationsResponse\x12I\n\x0cintegrations\x18\x01 \x03(\x0b\x32%.chalk.server.v1.PagerDutyIntegrationR\x0cintegrations"2\n TestIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"U\n!TestIncidentIoIntegrationResponse\x12\x16\n\x06status\x18\x01 \x01(\tR\x06status\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message"1\n\x1fGetIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"l\n GetIncidentIoIntegrationResponse\x12H\n\x0bintegration\x18\x01 \x01(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0bintegration"\xc7\x01\n\x1f\x41\x64\x64IncidentIoIntegrationRequest\x12.\n\x10integration_name\x18\x01 \x01(\tH\x00R\x0fintegrationName\x88\x01\x01\x12+\n\x11integration_token\x18\x03 \x01(\tR\x10integrationToken\x12\x32\n\x15integration_source_id\x18\x04 \x01(\tR\x13integrationSourceIdB\x13\n\x11_integration_name"l\n AddIncidentIoIntegrationResponse\x12H\n\x0bintegration\x18\x01 \x01(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0bintegration"4\n"DeleteIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"%\n#DeleteIncidentIoIntegrationResponse"\xb1\x01\n"UpdateIncidentIoIntegrationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x1f\n\x05token\x18\x03 \x01(\tB\x04\xd8\xa1\'\x01H\x01R\x05token\x88\x01\x01\x12 \n\tsource_id\x18\x04 \x01(\tH\x02R\x08sourceId\x88\x01\x01\x42\x07\n\x05_nameB\x08\n\x06_tokenB\x0c\n\n_source_id"o\n#UpdateIncidentIoIntegrationResponse\x12H\n\x0bintegration\x18\x01 \x01(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0bintegration"%\n#GetAllIncidentIoIntegrationsRequest"r\n$GetAllIncidentIoIntegrationsResponse\x12J\n\x0cintegrations\x18\x01 \x03(\x0b\x32&.chalk.server.v1.IncidentIoIntegrationR\x0cintegrations*\xb8\x01\n\x11PagerDutySeverity\x12#\n\x1fPAGER_DUTY_SEVERITY_UNSPECIFIED\x10\x00\x12\x1c\n\x18PAGER_DUTY_SEVERITY_INFO\x10\x01\x12\x1f\n\x1bPAGER_DUTY_SEVERITY_WARNING\x10\x02\x12\x1d\n\x19PAGER_DUTY_SEVERITY_ERROR\x10\x03\x12 \n\x1cPAGER_DUTY_SEVERITY_CRITICAL\x10\x04*\xb2\x01\n\x14PagerDutyEventAction\x12\'\n#PAGER_DUTY_EVENT_ACTION_UNSPECIFIED\x10\x00\x12#\n\x1fPAGER_DUTY_EVENT_ACTION_TRIGGER\x10\x01\x12\'\n#PAGER_DUTY_EVENT_ACTION_ACKNOWLEDGE\x10\x02\x12#\n\x1fPAGER_DUTY_EVENT_ACTION_RESOLVE\x10\x03\x32\xbd\x11\n\x11MonitoringService\x12\x84\x01\n\x18TestPagerDutyIntegration\x12\x30.chalk.server.v1.TestPagerDutyIntegrationRequest\x1a\x31.chalk.server.v1.TestPagerDutyIntegrationResponse"\x03\x80}\x06\x12\x87\x01\n\x17\x41\x64\x64PagerDutyIntegration\x12/.chalk.server.v1.AddPagerDutyIntegrationRequest\x1a\x30.chalk.server.v1.AddPagerDutyIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x90\x01\n\x1a\x44\x65letePagerDutyIntegration\x12\x32.chalk.server.v1.DeletePagerDutyIntegrationRequest\x1a\x33.chalk.server.v1.DeletePagerDutyIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x9f\x01\n\x1eSetDefaultPagerDutyIntegration\x12\x36.chalk.server.v1.SetDefaultPagerDutyIntegrationRequest\x1a\x37.chalk.server.v1.SetDefaultPagerDutyIntegrationResponse"\x0c\x90\x02\x02\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x93\x01\n\x1aUpdatePagerDutyIntegration\x12\x32.chalk.server.v1.UpdatePagerDutyIntegrationRequest\x1a\x33.chalk.server.v1.UpdatePagerDutyIntegrationResponse"\x0c\x90\x02\x02\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x90\x01\n\x1bGetAllPagerDutyIntegrations\x12\x33.chalk.server.v1.GetAllPagerDutyIntegrationsRequest\x1a\x34.chalk.server.v1.GetAllPagerDutyIntegrationsResponse"\x06\x90\x02\x01\x80}\x06\x12\x84\x01\n\x17GetPagerDutyIntegration\x12/.chalk.server.v1.GetPagerDutyIntegrationRequest\x1a\x30.chalk.server.v1.GetPagerDutyIntegrationResponse"\x06\x90\x02\x01\x80}\x06\x12\x87\x01\n\x19TestIncidentIoIntegration\x12\x31.chalk.server.v1.TestIncidentIoIntegrationRequest\x1a\x32.chalk.server.v1.TestIncidentIoIntegrationResponse"\x03\x80}\x06\x12\x8a\x01\n\x18\x41\x64\x64IncidentIoIntegration\x12\x30.chalk.server.v1.AddIncidentIoIntegrationRequest\x1a\x31.chalk.server.v1.AddIncidentIoIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x93\x01\n\x1b\x44\x65leteIncidentIoIntegration\x12\x33.chalk.server.v1.DeleteIncidentIoIntegrationRequest\x1a\x34.chalk.server.v1.DeleteIncidentIoIntegrationResponse"\t\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x96\x01\n\x1bUpdateIncidentIoIntegration\x12\x33.chalk.server.v1.UpdateIncidentIoIntegrationRequest\x1a\x34.chalk.server.v1.UpdateIncidentIoIntegrationResponse"\x0c\x90\x02\x02\x80}\x05\x8a\xd3\x0e\x02\x08\x02\x12\x93\x01\n\x1cGetAllIncidentIoIntegrations\x12\x34.chalk.server.v1.GetAllIncidentIoIntegrationsRequest\x1a\x35.chalk.server.v1.GetAllIncidentIoIntegrationsResponse"\x06\x90\x02\x01\x80}\x06\x12\x87\x01\n\x18GetIncidentIoIntegration\x12\x30.chalk.server.v1.GetIncidentIoIntegrationRequest\x1a\x31.chalk.server.v1.GetIncidentIoIntegrationResponse"\x06\x90\x02\x01\x80}\x06\x12\x66\n\rListIncidents\x12%.chalk.server.v1.ListIncidentsRequest\x1a&.chalk.server.v1.ListIncidentsResponse"\x06\x90\x02\x01\x80}\x06\x12`\n\x0bGetIncident\x12#.chalk.server.v1.GetIncidentRequest\x1a$.chalk.server.v1.GetIncidentResponse"\x06\x90\x02\x01\x80}\x06\x12\x81\x01\n\x16GetIncidentAlertsChart\x12..chalk.server.v1.GetIncidentAlertsChartRequest\x1a/.chalk.server.v1.GetIncidentAlertsChartResponse"\x06\x90\x02\x01\x80}\x06\x42\x98\x01\n\x13\x63om.chalk.server.v1B\x0fMonitoringProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
|
|
25
26
|
)
|
|
26
27
|
|
|
27
28
|
_globals = globals()
|
|
@@ -98,78 +99,86 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
98
99
|
_globals["_MONITORINGSERVICE"].methods_by_name[
|
|
99
100
|
"GetIncidentIoIntegration"
|
|
100
101
|
]._serialized_options = b"\220\002\001\200}\006"
|
|
101
|
-
_globals["
|
|
102
|
-
_globals["
|
|
103
|
-
_globals["
|
|
104
|
-
_globals["
|
|
105
|
-
_globals["
|
|
106
|
-
_globals["
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
_globals["
|
|
110
|
-
_globals["
|
|
111
|
-
_globals["
|
|
112
|
-
_globals["
|
|
113
|
-
_globals["
|
|
114
|
-
_globals["
|
|
115
|
-
_globals["
|
|
116
|
-
_globals["
|
|
117
|
-
_globals["
|
|
118
|
-
_globals["
|
|
119
|
-
_globals["
|
|
120
|
-
_globals["
|
|
121
|
-
_globals["
|
|
122
|
-
_globals["
|
|
123
|
-
_globals["
|
|
124
|
-
_globals["
|
|
125
|
-
_globals["
|
|
126
|
-
_globals["
|
|
127
|
-
_globals["
|
|
128
|
-
_globals["
|
|
129
|
-
_globals["
|
|
130
|
-
_globals["
|
|
131
|
-
_globals["
|
|
132
|
-
_globals["
|
|
133
|
-
_globals["
|
|
134
|
-
_globals["
|
|
135
|
-
_globals["
|
|
136
|
-
_globals["
|
|
137
|
-
_globals["
|
|
138
|
-
_globals["
|
|
139
|
-
_globals["
|
|
140
|
-
_globals["
|
|
141
|
-
_globals["
|
|
142
|
-
_globals["
|
|
143
|
-
_globals["
|
|
144
|
-
_globals["
|
|
145
|
-
_globals["
|
|
146
|
-
_globals["
|
|
147
|
-
_globals["
|
|
148
|
-
_globals["
|
|
149
|
-
_globals["
|
|
150
|
-
_globals["
|
|
151
|
-
_globals["
|
|
152
|
-
_globals["
|
|
153
|
-
_globals["
|
|
154
|
-
_globals["
|
|
155
|
-
_globals["
|
|
156
|
-
_globals["
|
|
157
|
-
_globals["
|
|
158
|
-
_globals["
|
|
159
|
-
_globals["
|
|
160
|
-
_globals["
|
|
161
|
-
_globals["
|
|
162
|
-
_globals["
|
|
163
|
-
_globals["
|
|
164
|
-
_globals["
|
|
165
|
-
_globals["
|
|
166
|
-
_globals["
|
|
167
|
-
_globals["
|
|
168
|
-
_globals["
|
|
169
|
-
_globals["
|
|
170
|
-
_globals["
|
|
171
|
-
_globals["
|
|
172
|
-
_globals["
|
|
173
|
-
_globals["
|
|
174
|
-
_globals["
|
|
102
|
+
_globals["_MONITORINGSERVICE"].methods_by_name["ListIncidents"]._options = None
|
|
103
|
+
_globals["_MONITORINGSERVICE"].methods_by_name["ListIncidents"]._serialized_options = b"\220\002\001\200}\006"
|
|
104
|
+
_globals["_MONITORINGSERVICE"].methods_by_name["GetIncident"]._options = None
|
|
105
|
+
_globals["_MONITORINGSERVICE"].methods_by_name["GetIncident"]._serialized_options = b"\220\002\001\200}\006"
|
|
106
|
+
_globals["_MONITORINGSERVICE"].methods_by_name["GetIncidentAlertsChart"]._options = None
|
|
107
|
+
_globals["_MONITORINGSERVICE"].methods_by_name[
|
|
108
|
+
"GetIncidentAlertsChart"
|
|
109
|
+
]._serialized_options = b"\220\002\001\200}\006"
|
|
110
|
+
_globals["_PAGERDUTYSEVERITY"]._serialized_start = 4447
|
|
111
|
+
_globals["_PAGERDUTYSEVERITY"]._serialized_end = 4631
|
|
112
|
+
_globals["_PAGERDUTYEVENTACTION"]._serialized_start = 4634
|
|
113
|
+
_globals["_PAGERDUTYEVENTACTION"]._serialized_end = 4812
|
|
114
|
+
_globals["_PAGERDUTYEVENTV2PAYLOAD"]._serialized_start = 245
|
|
115
|
+
_globals["_PAGERDUTYEVENTV2PAYLOAD"]._serialized_end = 750
|
|
116
|
+
_globals["_PAGERDUTYEVENTV2PAYLOAD_CUSTOMDETAILSENTRY"]._serialized_start = 638
|
|
117
|
+
_globals["_PAGERDUTYEVENTV2PAYLOAD_CUSTOMDETAILSENTRY"]._serialized_end = 702
|
|
118
|
+
_globals["_PAGERDUTYEVENTV2LINK"]._serialized_start = 752
|
|
119
|
+
_globals["_PAGERDUTYEVENTV2LINK"]._serialized_end = 828
|
|
120
|
+
_globals["_PAGERDUTYEVENTV2IMAGE"]._serialized_start = 830
|
|
121
|
+
_globals["_PAGERDUTYEVENTV2IMAGE"]._serialized_end = 936
|
|
122
|
+
_globals["_PAGERDUTYEVENTV2"]._serialized_start = 939
|
|
123
|
+
_globals["_PAGERDUTYEVENTV2"]._serialized_end = 1396
|
|
124
|
+
_globals["_PAGERDUTYINTEGRATION"]._serialized_start = 1399
|
|
125
|
+
_globals["_PAGERDUTYINTEGRATION"]._serialized_end = 1564
|
|
126
|
+
_globals["_INCIDENTIOINTEGRATION"]._serialized_start = 1567
|
|
127
|
+
_globals["_INCIDENTIOINTEGRATION"]._serialized_end = 1851
|
|
128
|
+
_globals["_INCIDENTIOEVENTV2"]._serialized_start = 1854
|
|
129
|
+
_globals["_INCIDENTIOEVENTV2"]._serialized_end = 2143
|
|
130
|
+
_globals["_TESTPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 2145
|
|
131
|
+
_globals["_TESTPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 2194
|
|
132
|
+
_globals["_GETPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 2196
|
|
133
|
+
_globals["_GETPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 2256
|
|
134
|
+
_globals["_GETPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 2258
|
|
135
|
+
_globals["_GETPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 2364
|
|
136
|
+
_globals["_TESTPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 2366
|
|
137
|
+
_globals["_TESTPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 2450
|
|
138
|
+
_globals["_ADDPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 2452
|
|
139
|
+
_globals["_ADDPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 2540
|
|
140
|
+
_globals["_ADDPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 2542
|
|
141
|
+
_globals["_ADDPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 2648
|
|
142
|
+
_globals["_DELETEPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 2650
|
|
143
|
+
_globals["_DELETEPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 2701
|
|
144
|
+
_globals["_DELETEPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 2703
|
|
145
|
+
_globals["_DELETEPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 2739
|
|
146
|
+
_globals["_UPDATEPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 2742
|
|
147
|
+
_globals["_UPDATEPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 2913
|
|
148
|
+
_globals["_UPDATEPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 2915
|
|
149
|
+
_globals["_UPDATEPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 3024
|
|
150
|
+
_globals["_SETDEFAULTPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 3026
|
|
151
|
+
_globals["_SETDEFAULTPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 3081
|
|
152
|
+
_globals["_SETDEFAULTPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 3083
|
|
153
|
+
_globals["_SETDEFAULTPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 3139
|
|
154
|
+
_globals["_GETALLPAGERDUTYINTEGRATIONSREQUEST"]._serialized_start = 3141
|
|
155
|
+
_globals["_GETALLPAGERDUTYINTEGRATIONSREQUEST"]._serialized_end = 3177
|
|
156
|
+
_globals["_GETALLPAGERDUTYINTEGRATIONSRESPONSE"]._serialized_start = 3179
|
|
157
|
+
_globals["_GETALLPAGERDUTYINTEGRATIONSRESPONSE"]._serialized_end = 3291
|
|
158
|
+
_globals["_TESTINCIDENTIOINTEGRATIONREQUEST"]._serialized_start = 3293
|
|
159
|
+
_globals["_TESTINCIDENTIOINTEGRATIONREQUEST"]._serialized_end = 3343
|
|
160
|
+
_globals["_TESTINCIDENTIOINTEGRATIONRESPONSE"]._serialized_start = 3345
|
|
161
|
+
_globals["_TESTINCIDENTIOINTEGRATIONRESPONSE"]._serialized_end = 3430
|
|
162
|
+
_globals["_GETINCIDENTIOINTEGRATIONREQUEST"]._serialized_start = 3432
|
|
163
|
+
_globals["_GETINCIDENTIOINTEGRATIONREQUEST"]._serialized_end = 3481
|
|
164
|
+
_globals["_GETINCIDENTIOINTEGRATIONRESPONSE"]._serialized_start = 3483
|
|
165
|
+
_globals["_GETINCIDENTIOINTEGRATIONRESPONSE"]._serialized_end = 3591
|
|
166
|
+
_globals["_ADDINCIDENTIOINTEGRATIONREQUEST"]._serialized_start = 3594
|
|
167
|
+
_globals["_ADDINCIDENTIOINTEGRATIONREQUEST"]._serialized_end = 3793
|
|
168
|
+
_globals["_ADDINCIDENTIOINTEGRATIONRESPONSE"]._serialized_start = 3795
|
|
169
|
+
_globals["_ADDINCIDENTIOINTEGRATIONRESPONSE"]._serialized_end = 3903
|
|
170
|
+
_globals["_DELETEINCIDENTIOINTEGRATIONREQUEST"]._serialized_start = 3905
|
|
171
|
+
_globals["_DELETEINCIDENTIOINTEGRATIONREQUEST"]._serialized_end = 3957
|
|
172
|
+
_globals["_DELETEINCIDENTIOINTEGRATIONRESPONSE"]._serialized_start = 3959
|
|
173
|
+
_globals["_DELETEINCIDENTIOINTEGRATIONRESPONSE"]._serialized_end = 3996
|
|
174
|
+
_globals["_UPDATEINCIDENTIOINTEGRATIONREQUEST"]._serialized_start = 3999
|
|
175
|
+
_globals["_UPDATEINCIDENTIOINTEGRATIONREQUEST"]._serialized_end = 4176
|
|
176
|
+
_globals["_UPDATEINCIDENTIOINTEGRATIONRESPONSE"]._serialized_start = 4178
|
|
177
|
+
_globals["_UPDATEINCIDENTIOINTEGRATIONRESPONSE"]._serialized_end = 4289
|
|
178
|
+
_globals["_GETALLINCIDENTIOINTEGRATIONSREQUEST"]._serialized_start = 4291
|
|
179
|
+
_globals["_GETALLINCIDENTIOINTEGRATIONSREQUEST"]._serialized_end = 4328
|
|
180
|
+
_globals["_GETALLINCIDENTIOINTEGRATIONSRESPONSE"]._serialized_start = 4330
|
|
181
|
+
_globals["_GETALLINCIDENTIOINTEGRATIONSRESPONSE"]._serialized_end = 4444
|
|
182
|
+
_globals["_MONITORINGSERVICE"]._serialized_start = 4815
|
|
183
|
+
_globals["_MONITORINGSERVICE"]._serialized_end = 7052
|
|
175
184
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from chalk._gen.chalk.auth.v1 import audit_pb2 as _audit_pb2
|
|
2
2
|
from chalk._gen.chalk.auth.v1 import permissions_pb2 as _permissions_pb2
|
|
3
|
+
from chalk._gen.chalk.server.v1 import incident_pb2 as _incident_pb2
|
|
3
4
|
from chalk._gen.chalk.utils.v1 import sensitive_pb2 as _sensitive_pb2
|
|
4
5
|
from google.protobuf import descriptor_pb2 as _descriptor_pb2
|
|
5
6
|
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import grpc
|
|
5
5
|
|
|
6
|
+
from chalk._gen.chalk.server.v1 import incident_pb2 as chalk_dot_server_dot_v1_dot_incident__pb2
|
|
6
7
|
from chalk._gen.chalk.server.v1 import monitoring_pb2 as chalk_dot_server_dot_v1_dot_monitoring__pb2
|
|
7
8
|
|
|
8
9
|
|
|
@@ -80,6 +81,21 @@ class MonitoringServiceStub(object):
|
|
|
80
81
|
request_serializer=chalk_dot_server_dot_v1_dot_monitoring__pb2.GetIncidentIoIntegrationRequest.SerializeToString,
|
|
81
82
|
response_deserializer=chalk_dot_server_dot_v1_dot_monitoring__pb2.GetIncidentIoIntegrationResponse.FromString,
|
|
82
83
|
)
|
|
84
|
+
self.ListIncidents = channel.unary_unary(
|
|
85
|
+
"/chalk.server.v1.MonitoringService/ListIncidents",
|
|
86
|
+
request_serializer=chalk_dot_server_dot_v1_dot_incident__pb2.ListIncidentsRequest.SerializeToString,
|
|
87
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_incident__pb2.ListIncidentsResponse.FromString,
|
|
88
|
+
)
|
|
89
|
+
self.GetIncident = channel.unary_unary(
|
|
90
|
+
"/chalk.server.v1.MonitoringService/GetIncident",
|
|
91
|
+
request_serializer=chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentRequest.SerializeToString,
|
|
92
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentResponse.FromString,
|
|
93
|
+
)
|
|
94
|
+
self.GetIncidentAlertsChart = channel.unary_unary(
|
|
95
|
+
"/chalk.server.v1.MonitoringService/GetIncidentAlertsChart",
|
|
96
|
+
request_serializer=chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentAlertsChartRequest.SerializeToString,
|
|
97
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentAlertsChartResponse.FromString,
|
|
98
|
+
)
|
|
83
99
|
|
|
84
100
|
|
|
85
101
|
class MonitoringServiceServicer(object):
|
|
@@ -163,6 +179,24 @@ class MonitoringServiceServicer(object):
|
|
|
163
179
|
context.set_details("Method not implemented!")
|
|
164
180
|
raise NotImplementedError("Method not implemented!")
|
|
165
181
|
|
|
182
|
+
def ListIncidents(self, request, context):
|
|
183
|
+
"""Missing associated documentation comment in .proto file."""
|
|
184
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
185
|
+
context.set_details("Method not implemented!")
|
|
186
|
+
raise NotImplementedError("Method not implemented!")
|
|
187
|
+
|
|
188
|
+
def GetIncident(self, request, context):
|
|
189
|
+
"""Missing associated documentation comment in .proto file."""
|
|
190
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
191
|
+
context.set_details("Method not implemented!")
|
|
192
|
+
raise NotImplementedError("Method not implemented!")
|
|
193
|
+
|
|
194
|
+
def GetIncidentAlertsChart(self, request, context):
|
|
195
|
+
"""Missing associated documentation comment in .proto file."""
|
|
196
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
197
|
+
context.set_details("Method not implemented!")
|
|
198
|
+
raise NotImplementedError("Method not implemented!")
|
|
199
|
+
|
|
166
200
|
|
|
167
201
|
def add_MonitoringServiceServicer_to_server(servicer, server):
|
|
168
202
|
rpc_method_handlers = {
|
|
@@ -231,6 +265,21 @@ def add_MonitoringServiceServicer_to_server(servicer, server):
|
|
|
231
265
|
request_deserializer=chalk_dot_server_dot_v1_dot_monitoring__pb2.GetIncidentIoIntegrationRequest.FromString,
|
|
232
266
|
response_serializer=chalk_dot_server_dot_v1_dot_monitoring__pb2.GetIncidentIoIntegrationResponse.SerializeToString,
|
|
233
267
|
),
|
|
268
|
+
"ListIncidents": grpc.unary_unary_rpc_method_handler(
|
|
269
|
+
servicer.ListIncidents,
|
|
270
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_incident__pb2.ListIncidentsRequest.FromString,
|
|
271
|
+
response_serializer=chalk_dot_server_dot_v1_dot_incident__pb2.ListIncidentsResponse.SerializeToString,
|
|
272
|
+
),
|
|
273
|
+
"GetIncident": grpc.unary_unary_rpc_method_handler(
|
|
274
|
+
servicer.GetIncident,
|
|
275
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentRequest.FromString,
|
|
276
|
+
response_serializer=chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentResponse.SerializeToString,
|
|
277
|
+
),
|
|
278
|
+
"GetIncidentAlertsChart": grpc.unary_unary_rpc_method_handler(
|
|
279
|
+
servicer.GetIncidentAlertsChart,
|
|
280
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentAlertsChartRequest.FromString,
|
|
281
|
+
response_serializer=chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentAlertsChartResponse.SerializeToString,
|
|
282
|
+
),
|
|
234
283
|
}
|
|
235
284
|
generic_handler = grpc.method_handlers_generic_handler("chalk.server.v1.MonitoringService", rpc_method_handlers)
|
|
236
285
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
@@ -616,3 +665,90 @@ class MonitoringService(object):
|
|
|
616
665
|
timeout,
|
|
617
666
|
metadata,
|
|
618
667
|
)
|
|
668
|
+
|
|
669
|
+
@staticmethod
|
|
670
|
+
def ListIncidents(
|
|
671
|
+
request,
|
|
672
|
+
target,
|
|
673
|
+
options=(),
|
|
674
|
+
channel_credentials=None,
|
|
675
|
+
call_credentials=None,
|
|
676
|
+
insecure=False,
|
|
677
|
+
compression=None,
|
|
678
|
+
wait_for_ready=None,
|
|
679
|
+
timeout=None,
|
|
680
|
+
metadata=None,
|
|
681
|
+
):
|
|
682
|
+
return grpc.experimental.unary_unary(
|
|
683
|
+
request,
|
|
684
|
+
target,
|
|
685
|
+
"/chalk.server.v1.MonitoringService/ListIncidents",
|
|
686
|
+
chalk_dot_server_dot_v1_dot_incident__pb2.ListIncidentsRequest.SerializeToString,
|
|
687
|
+
chalk_dot_server_dot_v1_dot_incident__pb2.ListIncidentsResponse.FromString,
|
|
688
|
+
options,
|
|
689
|
+
channel_credentials,
|
|
690
|
+
insecure,
|
|
691
|
+
call_credentials,
|
|
692
|
+
compression,
|
|
693
|
+
wait_for_ready,
|
|
694
|
+
timeout,
|
|
695
|
+
metadata,
|
|
696
|
+
)
|
|
697
|
+
|
|
698
|
+
@staticmethod
|
|
699
|
+
def GetIncident(
|
|
700
|
+
request,
|
|
701
|
+
target,
|
|
702
|
+
options=(),
|
|
703
|
+
channel_credentials=None,
|
|
704
|
+
call_credentials=None,
|
|
705
|
+
insecure=False,
|
|
706
|
+
compression=None,
|
|
707
|
+
wait_for_ready=None,
|
|
708
|
+
timeout=None,
|
|
709
|
+
metadata=None,
|
|
710
|
+
):
|
|
711
|
+
return grpc.experimental.unary_unary(
|
|
712
|
+
request,
|
|
713
|
+
target,
|
|
714
|
+
"/chalk.server.v1.MonitoringService/GetIncident",
|
|
715
|
+
chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentRequest.SerializeToString,
|
|
716
|
+
chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentResponse.FromString,
|
|
717
|
+
options,
|
|
718
|
+
channel_credentials,
|
|
719
|
+
insecure,
|
|
720
|
+
call_credentials,
|
|
721
|
+
compression,
|
|
722
|
+
wait_for_ready,
|
|
723
|
+
timeout,
|
|
724
|
+
metadata,
|
|
725
|
+
)
|
|
726
|
+
|
|
727
|
+
@staticmethod
|
|
728
|
+
def GetIncidentAlertsChart(
|
|
729
|
+
request,
|
|
730
|
+
target,
|
|
731
|
+
options=(),
|
|
732
|
+
channel_credentials=None,
|
|
733
|
+
call_credentials=None,
|
|
734
|
+
insecure=False,
|
|
735
|
+
compression=None,
|
|
736
|
+
wait_for_ready=None,
|
|
737
|
+
timeout=None,
|
|
738
|
+
metadata=None,
|
|
739
|
+
):
|
|
740
|
+
return grpc.experimental.unary_unary(
|
|
741
|
+
request,
|
|
742
|
+
target,
|
|
743
|
+
"/chalk.server.v1.MonitoringService/GetIncidentAlertsChart",
|
|
744
|
+
chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentAlertsChartRequest.SerializeToString,
|
|
745
|
+
chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentAlertsChartResponse.FromString,
|
|
746
|
+
options,
|
|
747
|
+
channel_credentials,
|
|
748
|
+
insecure,
|
|
749
|
+
call_credentials,
|
|
750
|
+
compression,
|
|
751
|
+
wait_for_ready,
|
|
752
|
+
timeout,
|
|
753
|
+
metadata,
|
|
754
|
+
)
|
|
@@ -7,6 +7,14 @@ from abc import (
|
|
|
7
7
|
ABCMeta,
|
|
8
8
|
abstractmethod,
|
|
9
9
|
)
|
|
10
|
+
from chalk._gen.chalk.server.v1.incident_pb2 import (
|
|
11
|
+
GetIncidentAlertsChartRequest,
|
|
12
|
+
GetIncidentAlertsChartResponse,
|
|
13
|
+
GetIncidentRequest,
|
|
14
|
+
GetIncidentResponse,
|
|
15
|
+
ListIncidentsRequest,
|
|
16
|
+
ListIncidentsResponse,
|
|
17
|
+
)
|
|
10
18
|
from chalk._gen.chalk.server.v1.monitoring_pb2 import (
|
|
11
19
|
AddIncidentIoIntegrationRequest,
|
|
12
20
|
AddIncidentIoIntegrationResponse,
|
|
@@ -96,6 +104,18 @@ class MonitoringServiceStub:
|
|
|
96
104
|
GetIncidentIoIntegrationRequest,
|
|
97
105
|
GetIncidentIoIntegrationResponse,
|
|
98
106
|
]
|
|
107
|
+
ListIncidents: UnaryUnaryMultiCallable[
|
|
108
|
+
ListIncidentsRequest,
|
|
109
|
+
ListIncidentsResponse,
|
|
110
|
+
]
|
|
111
|
+
GetIncident: UnaryUnaryMultiCallable[
|
|
112
|
+
GetIncidentRequest,
|
|
113
|
+
GetIncidentResponse,
|
|
114
|
+
]
|
|
115
|
+
GetIncidentAlertsChart: UnaryUnaryMultiCallable[
|
|
116
|
+
GetIncidentAlertsChartRequest,
|
|
117
|
+
GetIncidentAlertsChartResponse,
|
|
118
|
+
]
|
|
99
119
|
|
|
100
120
|
class MonitoringServiceServicer(metaclass=ABCMeta):
|
|
101
121
|
@abstractmethod
|
|
@@ -176,5 +196,23 @@ class MonitoringServiceServicer(metaclass=ABCMeta):
|
|
|
176
196
|
request: GetIncidentIoIntegrationRequest,
|
|
177
197
|
context: ServicerContext,
|
|
178
198
|
) -> GetIncidentIoIntegrationResponse: ...
|
|
199
|
+
@abstractmethod
|
|
200
|
+
def ListIncidents(
|
|
201
|
+
self,
|
|
202
|
+
request: ListIncidentsRequest,
|
|
203
|
+
context: ServicerContext,
|
|
204
|
+
) -> ListIncidentsResponse: ...
|
|
205
|
+
@abstractmethod
|
|
206
|
+
def GetIncident(
|
|
207
|
+
self,
|
|
208
|
+
request: GetIncidentRequest,
|
|
209
|
+
context: ServicerContext,
|
|
210
|
+
) -> GetIncidentResponse: ...
|
|
211
|
+
@abstractmethod
|
|
212
|
+
def GetIncidentAlertsChart(
|
|
213
|
+
self,
|
|
214
|
+
request: GetIncidentAlertsChartRequest,
|
|
215
|
+
context: ServicerContext,
|
|
216
|
+
) -> GetIncidentAlertsChartResponse: ...
|
|
179
217
|
|
|
180
218
|
def add_MonitoringServiceServicer_to_server(servicer: MonitoringServiceServicer, server: Server) -> None: ...
|
|
@@ -24,7 +24,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
27
|
-
b'\n%chalk/server/v1/offline_queries.proto\x12\x0f\x63halk.server.v1\x1a chalk/aggregate/v1/service.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a&chalk/common/v1/dataset_response.proto\x1a#chalk/common/v1/offline_query.proto\x1a\x1e\x63halk/server/v1/datasets.proto\x1a)chalk/server/v1/performance_summary.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x8a\x13\n\x10OfflineQueryMeta\x12\x0e\n\x02id\x18\x01 \x01(\x03R\x02id\x12!\n\x0coperation_id\x18\x02 \x01(\tR\x0boperationId\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x04 \x01(\tR\x0c\x64\x65ploymentId\x12\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12:\n\nquery_meta\x18\x06 \x01(\x0b\x32\x16.google.protobuf.ValueH\x00R\tqueryMeta\x88\x01\x01\x12\'\n\rquery_plan_id\x18\x07 \x01(\tH\x01R\x0bqueryPlanId\x88\x01\x01\x12$\n\x0b\x62ranch_name\x18\x08 \x01(\tH\x02R\nbranchName\x88\x01\x01\x12"\n\ndataset_id\x18\t \x01(\tH\x03R\tdatasetId\x88\x01\x01\x12&\n\x0c\x64\x61taset_name\x18\n \x01(\tH\x04R\x0b\x64\x61tasetName\x88\x01\x01\x12"\n\nhas_errors\x18\x0b \x01(\x08H\x05R\thasErrors\x88\x01\x01\x12\x1e\n\x08\x61gent_id\x18\x0c \x01(\tH\x06R\x07\x61gentId\x88\x01\x01\x12\x1e\n\x08trace_id\x18\r \x01(\tH\x07R\x07traceId\x88\x01\x01\x12*\n\x0e\x63orrelation_id\x18\x0e \x01(\tH\x08R\rcorrelationId\x88\x01\x01\x12=\n\x0c\x63ompleted_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0b\x63ompletedAt\x12@\n\x06status\x18\x10 \x01(\x0e\x32#.chalk.server.v1.OfflineQueryStatusH\tR\x06status\x88\x01\x01\x12&\n\x0fhas_plan_stages\x18\x11 \x01(\x08R\rhasPlanStages\x12,\n\x0ftotal_computers\x18\x12 \x01(\x05H\nR\x0etotalComputers\x88\x01\x01\x12;\n\x17num_completed_computers\x18\x13 \x01(\x05H\x0bR\x15numCompletedComputers\x88\x01\x01\x12.\n\x10total_partitions\x18\x14 \x01(\x05H\x0cR\x0ftotalPartitions\x88\x01\x01\x12=\n\x18num_completed_partitions\x18\x15 \x01(\x05H\rR\x16numCompletedPartitions\x88\x01\x01\x12\x32\n\x12recompute_features\x18\x16 \x01(\tH\x0eR\x11recomputeFeatures\x88\x01\x01\x12+\n\x0fspine_sql_query\x18\x17 \x01(\tH\x0fR\rspineSqlQuery\x88\x01\x01\x12\x35\n\x07\x66ilters\x18\x18 \x01(\x0b\x32\x16.google.protobuf.ValueH\x10R\x07\x66ilters\x88\x01\x01\x12\x44\n\x0fplanner_options\x18\x19 \x01(\x0b\x32\x16.google.protobuf.ValueH\x11R\x0eplannerOptions\x88\x01\x01\x12\x44\n\x0finvoker_options\x18\x1a \x01(\x0b\x32\x16.google.protobuf.ValueH\x12R\x0einvokerOptions\x88\x01\x01\x12\x45\n\nquery_type\x18\x1b \x01(\x0e\x32!.chalk.server.v1.OfflineQueryKindH\x13R\tqueryType\x88\x01\x01\x12\x12\n\x04tags\x18\x1c \x03(\tR\x04tags\x12\x34\n\x16required_resolver_tags\x18\x1d \x03(\tR\x14requiredResolverTags\x12\x37\n\x15\x61ggregate_backfill_id\x18\x1e \x01(\tH\x14R\x13\x61ggregateBackfillId\x88\x01\x01\x12\x33\n\x06output\x18\x1f \x01(\x0b\x32\x16.google.protobuf.ValueH\x15R\x06output\x88\x01\x01\x12\x44\n\x0frequired_output\x18 \x01(\x0b\x32\x16.google.protobuf.ValueH\x16R\x0erequiredOutput\x88\x01\x01\x12/\n\x11raw_body_filename\x18! \x01(\tH\x17R\x0frawBodyFilename\x88\x01\x01\x12T\n\x10\x64\x61taset_revision\x18" \x01(\x0b\x32$.chalk.server.v1.DatasetRevisionMetaH\x18R\x0f\x64\x61tasetRevision\x88\x01\x01\x12R\n\x0btime_series\x18# \x03(\x0b\x32\x31.chalk.aggregate.v1.PlanAggregateBackfillResponseR\ntimeSeries\x12/\n\x11\x65valuation_run_id\x18$ \x01(\tH\x19R\x0f\x65valuationRunId\x88\x01\x01\x12"\n\nquery_name\x18% \x01(\tH\x1aR\tqueryName\x88\x01\x01\x12\x31\n\x12query_name_version\x18& \x01(\tH\x1bR\x10queryNameVersion\x88\x01\x01\x42\r\n\x0b_query_metaB\x10\n\x0e_query_plan_idB\x0e\n\x0c_branch_nameB\r\n\x0b_dataset_idB\x0f\n\r_dataset_nameB\r\n\x0b_has_errorsB\x0b\n\t_agent_idB\x0b\n\t_trace_idB\x11\n\x0f_correlation_idB\t\n\x07_statusB\x12\n\x10_total_computersB\x1a\n\x18_num_completed_computersB\x13\n\x11_total_partitionsB\x1b\n\x19_num_completed_partitionsB\x15\n\x13_recompute_featuresB\x12\n\x10_spine_sql_queryB\n\n\x08_filtersB\x12\n\x10_planner_optionsB\x12\n\x10_invoker_optionsB\r\n\x0b_query_typeB\x18\n\x16_aggregate_backfill_idB\t\n\x07_outputB\x12\n\x10_required_outputB\x14\n\x12_raw_body_filenameB\x13\n\x11_dataset_revisionB\x14\n\x12_evaluation_run_idB\r\n\x0b_query_nameB\x15\n\x13_query_name_version"\xf4\x06\n\x19ListOfflineQueriesRequest\x12\x1b\n\x06\x63ursor\x18\x01 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x12\x19\n\x05limit\x18\x02 \x01(\x05H\x01R\x05limit\x88\x01\x01\x12"\n\nstart_date\x18\x03 \x01(\tH\x02R\tstartDate\x88\x01\x01\x12\x1e\n\x08\x65nd_date\x18\x04 \x01(\tH\x03R\x07\x65ndDate\x88\x01\x01\x12 \n\tid_filter\x18\x05 \x01(\tH\x04R\x08idFilter\x88\x01\x01\x12+\n\x0f\x61gent_id_filter\x18\x06 \x01(\tH\x05R\ragentIdFilter\x88\x01\x01\x12(\n\rbranch_filter\x18\x07 \x01(\tH\x06R\x0c\x62ranchFilter\x88\x01\x01\x12G\n\x0bkind_filter\x18\x08 \x01(\x0e\x32!.chalk.server.v1.OfflineQueryKindH\x07R\nkindFilter\x88\x01\x01\x12M\n\rstatus_filter\x18\t \x01(\x0e\x32#.chalk.server.v1.OfflineQueryStatusH\x08R\x0cstatusFilter\x88\x01\x01\x12H\n\x1e\x61ggregation_backfill_id_filter\x18\n \x01(\tH\tR\x1b\x61ggregationBackfillIdFilter\x88\x01\x01\x12<\n\x18\x65valuation_run_id_filter\x18\x0b \x01(\tH\nR\x15\x65valuationRunIdFilter\x88\x01\x01\x12"\n\nquery_name\x18\x0c \x01(\tH\x0bR\tqueryName\x88\x01\x01\x12\x31\n\x12query_name_version\x18\r \x01(\tH\x0cR\x10queryNameVersion\x88\x01\x01\x42\t\n\x07_cursorB\x08\n\x06_limitB\r\n\x0b_start_dateB\x0b\n\t_end_dateB\x0c\n\n_id_filterB\x12\n\x10_agent_id_filterB\x10\n\x0e_branch_filterB\x0e\n\x0c_kind_filterB\x10\n\x0e_status_filterB!\n\x1f_aggregation_backfill_id_filterB\x1b\n\x19_evaluation_run_id_filterB\r\n\x0b_query_nameB\x15\n\x13_query_name_version"\x90\x01\n\x1aListOfflineQueriesResponse\x12J\n\x0foffline_queries\x18\x01 \x03(\x0b\x32!.chalk.server.v1.OfflineQueryMetaR\x0eofflineQueries\x12\x1b\n\x06\x63ursor\x18\x02 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x42\t\n\x07_cursor"B\n\x16GetOfflineQueryRequest\x12(\n\x10offline_query_id\x18\x01 \x01(\tR\x0eofflineQueryId"a\n\x17GetOfflineQueryResponse\x12\x46\n\roffline_query\x18\x01 \x01(\x0b\x32!.chalk.server.v1.OfflineQueryMetaR\x0cofflineQuery"x\n\x1c\x43reateOfflineQueryJobRequest\x12X\n\x15offline_query_request\x18\x01 \x01(\x0b\x32$.chalk.common.v1.OfflineQueryRequestR\x13offlineQueryRequest"l\n\x1d\x43reateOfflineQueryJobResponse\x12K\n\x10\x64\x61taset_response\x18\x01 \x01(\x0b\x32 .chalk.common.v1.DatasetResponseR\x0f\x64\x61tasetResponse"w\n\x1d\x43reateModelTrainingJobRequest\x12V\n\x14training_job_request\x18\x01 \x01(\x0b\x32$.chalk.common.v1.OfflineQueryRequestR\x12trainingJobRequest" \n\x1e\x43reateModelTrainingJobResponse*\x87\x02\n\x12OfflineQueryStatus\x12$\n OFFLINE_QUERY_STATUS_UNSPECIFIED\x10\x00\x12 \n\x1cOFFLINE_QUERY_STATUS_UNKNOWN\x10\x01\x12 \n\x1cOFFLINE_QUERY_STATUS_WORKING\x10\x02\x12\x1f\n\x1bOFFLINE_QUERY_STATUS_FAILED\x10\x03\x12"\n\x1eOFFLINE_QUERY_STATUS_COMPLETED\x10\x04\x12!\n\x1dOFFLINE_QUERY_STATUS_CANCELED\x10\x05\x12\x1f\n\x1bOFFLINE_QUERY_STATUS_QUEUED\x10\x06*\xcf\x02\n\x10OfflineQueryKind\x12"\n\x1eOFFLINE_QUERY_KIND_UNSPECIFIED\x10\x00\x12\x1e\n\x1aOFFLINE_QUERY_KIND_UNKNOWN\x10\x01\x12*\n&OFFLINE_QUERY_KIND_ASYNC_OFFLINE_QUERY\x10\x02\x12)\n%OFFLINE_QUERY_KIND_CRON_OFFLINE_QUERY\x10\x03\x12$\n OFFLINE_QUERY_KIND_OFFLINE_QUERY\x10\x04\x12(\n$OFFLINE_QUERY_KIND_DATASET_INGESTION\x10\x05\x12+\n\'OFFLINE_QUERY_KIND_AGGREGATION_BACKFILL\x10\x06\x12#\n\x1fOFFLINE_QUERY_KIND_TRAINING_JOB\x10\x07\x32\xbc\x05\n\x1bOfflineQueryMetadataService\x12u\n\x12ListOfflineQueries\x12*.chalk.server.v1.ListOfflineQueriesRequest\x1a+.chalk.server.v1.ListOfflineQueriesResponse"\x06\x90\x02\x01\x80}\x0b\x12l\n\x0fGetOfflineQuery\x12\'.chalk.server.v1.GetOfflineQueryRequest\x1a(.chalk.server.v1.GetOfflineQueryResponse"\x06\x90\x02\x01\x80}\x0b\x12\xba\x01\n)ListOfflineQueryShardPerformanceSummaries\x12\x41.chalk.server.v1.ListOfflineQueryShardPerformanceSummariesRequest\x1a\x42.chalk.server.v1.ListOfflineQueryShardPerformanceSummariesResponse"\x06\x90\x02\x01\x80}\x0b\x12{\n\x15\x43reateOfflineQueryJob\x12-.chalk.server.v1.CreateOfflineQueryJobRequest\x1a..chalk.server.v1.CreateOfflineQueryJobResponse"\x03\x80}\x04\x12~\n\x16\x43reateModelTrainingJob\x12..chalk.server.v1.CreateModelTrainingJobRequest\x1a/.chalk.server.v1.CreateModelTrainingJobResponse"\x03\x80}\x04\x42\x9c\x01\n\x13\x63om.chalk.server.v1B\x13OfflineQueriesProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
|
|
27
|
+
b'\n%chalk/server/v1/offline_queries.proto\x12\x0f\x63halk.server.v1\x1a chalk/aggregate/v1/service.proto\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a&chalk/common/v1/dataset_response.proto\x1a#chalk/common/v1/offline_query.proto\x1a\x1e\x63halk/server/v1/datasets.proto\x1a)chalk/server/v1/performance_summary.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x8a\x13\n\x10OfflineQueryMeta\x12\x0e\n\x02id\x18\x01 \x01(\x03R\x02id\x12!\n\x0coperation_id\x18\x02 \x01(\tR\x0boperationId\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x04 \x01(\tR\x0c\x64\x65ploymentId\x12\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12:\n\nquery_meta\x18\x06 \x01(\x0b\x32\x16.google.protobuf.ValueH\x00R\tqueryMeta\x88\x01\x01\x12\'\n\rquery_plan_id\x18\x07 \x01(\tH\x01R\x0bqueryPlanId\x88\x01\x01\x12$\n\x0b\x62ranch_name\x18\x08 \x01(\tH\x02R\nbranchName\x88\x01\x01\x12"\n\ndataset_id\x18\t \x01(\tH\x03R\tdatasetId\x88\x01\x01\x12&\n\x0c\x64\x61taset_name\x18\n \x01(\tH\x04R\x0b\x64\x61tasetName\x88\x01\x01\x12"\n\nhas_errors\x18\x0b \x01(\x08H\x05R\thasErrors\x88\x01\x01\x12\x1e\n\x08\x61gent_id\x18\x0c \x01(\tH\x06R\x07\x61gentId\x88\x01\x01\x12\x1e\n\x08trace_id\x18\r \x01(\tH\x07R\x07traceId\x88\x01\x01\x12*\n\x0e\x63orrelation_id\x18\x0e \x01(\tH\x08R\rcorrelationId\x88\x01\x01\x12=\n\x0c\x63ompleted_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0b\x63ompletedAt\x12@\n\x06status\x18\x10 \x01(\x0e\x32#.chalk.server.v1.OfflineQueryStatusH\tR\x06status\x88\x01\x01\x12&\n\x0fhas_plan_stages\x18\x11 \x01(\x08R\rhasPlanStages\x12,\n\x0ftotal_computers\x18\x12 \x01(\x05H\nR\x0etotalComputers\x88\x01\x01\x12;\n\x17num_completed_computers\x18\x13 \x01(\x05H\x0bR\x15numCompletedComputers\x88\x01\x01\x12.\n\x10total_partitions\x18\x14 \x01(\x05H\x0cR\x0ftotalPartitions\x88\x01\x01\x12=\n\x18num_completed_partitions\x18\x15 \x01(\x05H\rR\x16numCompletedPartitions\x88\x01\x01\x12\x32\n\x12recompute_features\x18\x16 \x01(\tH\x0eR\x11recomputeFeatures\x88\x01\x01\x12+\n\x0fspine_sql_query\x18\x17 \x01(\tH\x0fR\rspineSqlQuery\x88\x01\x01\x12\x35\n\x07\x66ilters\x18\x18 \x01(\x0b\x32\x16.google.protobuf.ValueH\x10R\x07\x66ilters\x88\x01\x01\x12\x44\n\x0fplanner_options\x18\x19 \x01(\x0b\x32\x16.google.protobuf.ValueH\x11R\x0eplannerOptions\x88\x01\x01\x12\x44\n\x0finvoker_options\x18\x1a \x01(\x0b\x32\x16.google.protobuf.ValueH\x12R\x0einvokerOptions\x88\x01\x01\x12\x45\n\nquery_type\x18\x1b \x01(\x0e\x32!.chalk.server.v1.OfflineQueryKindH\x13R\tqueryType\x88\x01\x01\x12\x12\n\x04tags\x18\x1c \x03(\tR\x04tags\x12\x34\n\x16required_resolver_tags\x18\x1d \x03(\tR\x14requiredResolverTags\x12\x37\n\x15\x61ggregate_backfill_id\x18\x1e \x01(\tH\x14R\x13\x61ggregateBackfillId\x88\x01\x01\x12\x33\n\x06output\x18\x1f \x01(\x0b\x32\x16.google.protobuf.ValueH\x15R\x06output\x88\x01\x01\x12\x44\n\x0frequired_output\x18 \x01(\x0b\x32\x16.google.protobuf.ValueH\x16R\x0erequiredOutput\x88\x01\x01\x12/\n\x11raw_body_filename\x18! \x01(\tH\x17R\x0frawBodyFilename\x88\x01\x01\x12T\n\x10\x64\x61taset_revision\x18" \x01(\x0b\x32$.chalk.server.v1.DatasetRevisionMetaH\x18R\x0f\x64\x61tasetRevision\x88\x01\x01\x12R\n\x0btime_series\x18# \x03(\x0b\x32\x31.chalk.aggregate.v1.PlanAggregateBackfillResponseR\ntimeSeries\x12/\n\x11\x65valuation_run_id\x18$ \x01(\tH\x19R\x0f\x65valuationRunId\x88\x01\x01\x12"\n\nquery_name\x18% \x01(\tH\x1aR\tqueryName\x88\x01\x01\x12\x31\n\x12query_name_version\x18& \x01(\tH\x1bR\x10queryNameVersion\x88\x01\x01\x42\r\n\x0b_query_metaB\x10\n\x0e_query_plan_idB\x0e\n\x0c_branch_nameB\r\n\x0b_dataset_idB\x0f\n\r_dataset_nameB\r\n\x0b_has_errorsB\x0b\n\t_agent_idB\x0b\n\t_trace_idB\x11\n\x0f_correlation_idB\t\n\x07_statusB\x12\n\x10_total_computersB\x1a\n\x18_num_completed_computersB\x13\n\x11_total_partitionsB\x1b\n\x19_num_completed_partitionsB\x15\n\x13_recompute_featuresB\x12\n\x10_spine_sql_queryB\n\n\x08_filtersB\x12\n\x10_planner_optionsB\x12\n\x10_invoker_optionsB\r\n\x0b_query_typeB\x18\n\x16_aggregate_backfill_idB\t\n\x07_outputB\x12\n\x10_required_outputB\x14\n\x12_raw_body_filenameB\x13\n\x11_dataset_revisionB\x14\n\x12_evaluation_run_idB\r\n\x0b_query_nameB\x15\n\x13_query_name_version"\xf4\x06\n\x19ListOfflineQueriesRequest\x12\x1b\n\x06\x63ursor\x18\x01 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x12\x19\n\x05limit\x18\x02 \x01(\x05H\x01R\x05limit\x88\x01\x01\x12"\n\nstart_date\x18\x03 \x01(\tH\x02R\tstartDate\x88\x01\x01\x12\x1e\n\x08\x65nd_date\x18\x04 \x01(\tH\x03R\x07\x65ndDate\x88\x01\x01\x12 \n\tid_filter\x18\x05 \x01(\tH\x04R\x08idFilter\x88\x01\x01\x12+\n\x0f\x61gent_id_filter\x18\x06 \x01(\tH\x05R\ragentIdFilter\x88\x01\x01\x12(\n\rbranch_filter\x18\x07 \x01(\tH\x06R\x0c\x62ranchFilter\x88\x01\x01\x12G\n\x0bkind_filter\x18\x08 \x01(\x0e\x32!.chalk.server.v1.OfflineQueryKindH\x07R\nkindFilter\x88\x01\x01\x12M\n\rstatus_filter\x18\t \x01(\x0e\x32#.chalk.server.v1.OfflineQueryStatusH\x08R\x0cstatusFilter\x88\x01\x01\x12H\n\x1e\x61ggregation_backfill_id_filter\x18\n \x01(\tH\tR\x1b\x61ggregationBackfillIdFilter\x88\x01\x01\x12<\n\x18\x65valuation_run_id_filter\x18\x0b \x01(\tH\nR\x15\x65valuationRunIdFilter\x88\x01\x01\x12"\n\nquery_name\x18\x0c \x01(\tH\x0bR\tqueryName\x88\x01\x01\x12\x31\n\x12query_name_version\x18\r \x01(\tH\x0cR\x10queryNameVersion\x88\x01\x01\x42\t\n\x07_cursorB\x08\n\x06_limitB\r\n\x0b_start_dateB\x0b\n\t_end_dateB\x0c\n\n_id_filterB\x12\n\x10_agent_id_filterB\x10\n\x0e_branch_filterB\x0e\n\x0c_kind_filterB\x10\n\x0e_status_filterB!\n\x1f_aggregation_backfill_id_filterB\x1b\n\x19_evaluation_run_id_filterB\r\n\x0b_query_nameB\x15\n\x13_query_name_version"\x90\x01\n\x1aListOfflineQueriesResponse\x12J\n\x0foffline_queries\x18\x01 \x03(\x0b\x32!.chalk.server.v1.OfflineQueryMetaR\x0eofflineQueries\x12\x1b\n\x06\x63ursor\x18\x02 \x01(\tH\x00R\x06\x63ursor\x88\x01\x01\x42\t\n\x07_cursor"B\n\x16GetOfflineQueryRequest\x12(\n\x10offline_query_id\x18\x01 \x01(\tR\x0eofflineQueryId"a\n\x17GetOfflineQueryResponse\x12\x46\n\roffline_query\x18\x01 \x01(\x0b\x32!.chalk.server.v1.OfflineQueryMetaR\x0cofflineQuery"x\n\x1c\x43reateOfflineQueryJobRequest\x12X\n\x15offline_query_request\x18\x01 \x01(\x0b\x32$.chalk.common.v1.OfflineQueryRequestR\x13offlineQueryRequest"l\n\x1d\x43reateOfflineQueryJobResponse\x12K\n\x10\x64\x61taset_response\x18\x01 \x01(\x0b\x32 .chalk.common.v1.DatasetResponseR\x0f\x64\x61tasetResponse"{\n\x1d\x43reateModelTrainingJobRequest\x12V\n\x14training_job_request\x18\x01 \x01(\x0b\x32$.chalk.common.v1.OfflineQueryRequestR\x12trainingJobRequest:\x02\x18\x01"$\n\x1e\x43reateModelTrainingJobResponse:\x02\x18\x01"\xb2\x04\n\x14IngestDatasetRequest\x12\x18\n\x07outputs\x18\x01 \x03(\tR\x07outputs\x12\x1f\n\x0brevision_id\x18\x02 \x01(\tR\nrevisionId\x12\x1b\n\x06\x62ranch\x18\x03 \x01(\tH\x00R\x06\x62ranch\x88\x01\x01\x12\x62\n\x0fplanner_options\x18\x04 \x03(\x0b\x32\x39.chalk.server.v1.IngestDatasetRequest.PlannerOptionsEntryR\x0eplannerOptions\x12!\n\x0cstore_online\x18\x05 \x01(\x08R\x0bstoreOnline\x12#\n\rstore_offline\x18\x06 \x01(\x08R\x0cstoreOffline\x12)\n\x10\x65nable_profiling\x18\x07 \x01(\x08R\x0f\x65nableProfiling\x12=\n\x18online_timestamping_mode\x18\x08 \x01(\tH\x01R\x16onlineTimestampingMode\x88\x01\x01\x12\x1d\n\x07\x65xplain\x18\t \x01(\x08H\x02R\x07\x65xplain\x88\x01\x01\x1aY\n\x13PlannerOptionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.ValueR\x05value:\x02\x38\x01\x42\t\n\x07_branchB\x1b\n\x19_online_timestamping_modeB\n\n\x08_explain"d\n\x15IngestDatasetResponse\x12K\n\x10\x64\x61taset_response\x18\x01 \x01(\x0b\x32 .chalk.common.v1.DatasetResponseR\x0f\x64\x61tasetResponse"j\n\x1dRetryOfflineQueryShardRequest\x12(\n\x10offline_query_id\x18\x01 \x01(\tR\x0eofflineQueryId\x12\x1f\n\x0bshard_index\x18\x02 \x01(\x05R\nshardIndex" \n\x1eRetryOfflineQueryShardResponse*\x87\x02\n\x12OfflineQueryStatus\x12$\n OFFLINE_QUERY_STATUS_UNSPECIFIED\x10\x00\x12 \n\x1cOFFLINE_QUERY_STATUS_UNKNOWN\x10\x01\x12 \n\x1cOFFLINE_QUERY_STATUS_WORKING\x10\x02\x12\x1f\n\x1bOFFLINE_QUERY_STATUS_FAILED\x10\x03\x12"\n\x1eOFFLINE_QUERY_STATUS_COMPLETED\x10\x04\x12!\n\x1dOFFLINE_QUERY_STATUS_CANCELED\x10\x05\x12\x1f\n\x1bOFFLINE_QUERY_STATUS_QUEUED\x10\x06*\xcf\x02\n\x10OfflineQueryKind\x12"\n\x1eOFFLINE_QUERY_KIND_UNSPECIFIED\x10\x00\x12\x1e\n\x1aOFFLINE_QUERY_KIND_UNKNOWN\x10\x01\x12*\n&OFFLINE_QUERY_KIND_ASYNC_OFFLINE_QUERY\x10\x02\x12)\n%OFFLINE_QUERY_KIND_CRON_OFFLINE_QUERY\x10\x03\x12$\n OFFLINE_QUERY_KIND_OFFLINE_QUERY\x10\x04\x12(\n$OFFLINE_QUERY_KIND_DATASET_INGESTION\x10\x05\x12+\n\'OFFLINE_QUERY_KIND_AGGREGATION_BACKFILL\x10\x06\x12#\n\x1fOFFLINE_QUERY_KIND_TRAINING_JOB\x10\x07\x32\xa5\x07\n\x1bOfflineQueryMetadataService\x12u\n\x12ListOfflineQueries\x12*.chalk.server.v1.ListOfflineQueriesRequest\x1a+.chalk.server.v1.ListOfflineQueriesResponse"\x06\x90\x02\x01\x80}\x0b\x12l\n\x0fGetOfflineQuery\x12\'.chalk.server.v1.GetOfflineQueryRequest\x1a(.chalk.server.v1.GetOfflineQueryResponse"\x06\x90\x02\x01\x80}\x0b\x12\xba\x01\n)ListOfflineQueryShardPerformanceSummaries\x12\x41.chalk.server.v1.ListOfflineQueryShardPerformanceSummariesRequest\x1a\x42.chalk.server.v1.ListOfflineQueryShardPerformanceSummariesResponse"\x06\x90\x02\x01\x80}\x0b\x12{\n\x15\x43reateOfflineQueryJob\x12-.chalk.server.v1.CreateOfflineQueryJobRequest\x1a..chalk.server.v1.CreateOfflineQueryJobResponse"\x03\x80}\x04\x12\x81\x01\n\x16\x43reateModelTrainingJob\x12..chalk.server.v1.CreateModelTrainingJobRequest\x1a/.chalk.server.v1.CreateModelTrainingJobResponse"\x06\x88\x02\x01\x80}\x04\x12\x63\n\rIngestDataset\x12%.chalk.server.v1.IngestDatasetRequest\x1a&.chalk.server.v1.IngestDatasetResponse"\x03\x80}\x04\x12~\n\x16RetryOfflineQueryShard\x12..chalk.server.v1.RetryOfflineQueryShardRequest\x1a/.chalk.server.v1.RetryOfflineQueryShardResponse"\x03\x80}\x04\x42\x9c\x01\n\x13\x63om.chalk.server.v1B\x13OfflineQueriesProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
|
|
28
28
|
)
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
@@ -35,6 +35,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
35
35
|
_globals[
|
|
36
36
|
"DESCRIPTOR"
|
|
37
37
|
]._serialized_options = b"\n\023com.chalk.server.v1B\023OfflineQueriesProtoP\001Z\022server/v1;serverv1\242\002\003CSX\252\002\017Chalk.Server.V1\312\002\017Chalk\\Server\\V1\342\002\033Chalk\\Server\\V1\\GPBMetadata\352\002\021Chalk::Server::V1"
|
|
38
|
+
_globals["_CREATEMODELTRAININGJOBREQUEST"]._options = None
|
|
39
|
+
_globals["_CREATEMODELTRAININGJOBREQUEST"]._serialized_options = b"\030\001"
|
|
40
|
+
_globals["_CREATEMODELTRAININGJOBRESPONSE"]._options = None
|
|
41
|
+
_globals["_CREATEMODELTRAININGJOBRESPONSE"]._serialized_options = b"\030\001"
|
|
42
|
+
_globals["_INGESTDATASETREQUEST_PLANNEROPTIONSENTRY"]._options = None
|
|
43
|
+
_globals["_INGESTDATASETREQUEST_PLANNEROPTIONSENTRY"]._serialized_options = b"8\001"
|
|
38
44
|
_globals["_OFFLINEQUERYMETADATASERVICE"].methods_by_name["ListOfflineQueries"]._options = None
|
|
39
45
|
_globals["_OFFLINEQUERYMETADATASERVICE"].methods_by_name[
|
|
40
46
|
"ListOfflineQueries"
|
|
@@ -54,11 +60,17 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
54
60
|
_globals["_OFFLINEQUERYMETADATASERVICE"].methods_by_name["CreateModelTrainingJob"]._options = None
|
|
55
61
|
_globals["_OFFLINEQUERYMETADATASERVICE"].methods_by_name[
|
|
56
62
|
"CreateModelTrainingJob"
|
|
63
|
+
]._serialized_options = b"\210\002\001\200}\004"
|
|
64
|
+
_globals["_OFFLINEQUERYMETADATASERVICE"].methods_by_name["IngestDataset"]._options = None
|
|
65
|
+
_globals["_OFFLINEQUERYMETADATASERVICE"].methods_by_name["IngestDataset"]._serialized_options = b"\200}\004"
|
|
66
|
+
_globals["_OFFLINEQUERYMETADATASERVICE"].methods_by_name["RetryOfflineQueryShard"]._options = None
|
|
67
|
+
_globals["_OFFLINEQUERYMETADATASERVICE"].methods_by_name[
|
|
68
|
+
"RetryOfflineQueryShard"
|
|
57
69
|
]._serialized_options = b"\200}\004"
|
|
58
|
-
_globals["_OFFLINEQUERYSTATUS"]._serialized_start =
|
|
59
|
-
_globals["_OFFLINEQUERYSTATUS"]._serialized_end =
|
|
60
|
-
_globals["_OFFLINEQUERYKIND"]._serialized_start =
|
|
61
|
-
_globals["_OFFLINEQUERYKIND"]._serialized_end =
|
|
70
|
+
_globals["_OFFLINEQUERYSTATUS"]._serialized_start = 5191
|
|
71
|
+
_globals["_OFFLINEQUERYSTATUS"]._serialized_end = 5454
|
|
72
|
+
_globals["_OFFLINEQUERYKIND"]._serialized_start = 5457
|
|
73
|
+
_globals["_OFFLINEQUERYKIND"]._serialized_end = 5792
|
|
62
74
|
_globals["_OFFLINEQUERYMETA"]._serialized_start = 341
|
|
63
75
|
_globals["_OFFLINEQUERYMETA"]._serialized_end = 2783
|
|
64
76
|
_globals["_LISTOFFLINEQUERIESREQUEST"]._serialized_start = 2786
|
|
@@ -74,9 +86,19 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
74
86
|
_globals["_CREATEOFFLINEQUERYJOBRESPONSE"]._serialized_start = 4108
|
|
75
87
|
_globals["_CREATEOFFLINEQUERYJOBRESPONSE"]._serialized_end = 4216
|
|
76
88
|
_globals["_CREATEMODELTRAININGJOBREQUEST"]._serialized_start = 4218
|
|
77
|
-
_globals["_CREATEMODELTRAININGJOBREQUEST"]._serialized_end =
|
|
78
|
-
_globals["_CREATEMODELTRAININGJOBRESPONSE"]._serialized_start =
|
|
79
|
-
_globals["_CREATEMODELTRAININGJOBRESPONSE"]._serialized_end =
|
|
80
|
-
_globals["
|
|
81
|
-
_globals["
|
|
89
|
+
_globals["_CREATEMODELTRAININGJOBREQUEST"]._serialized_end = 4341
|
|
90
|
+
_globals["_CREATEMODELTRAININGJOBRESPONSE"]._serialized_start = 4343
|
|
91
|
+
_globals["_CREATEMODELTRAININGJOBRESPONSE"]._serialized_end = 4379
|
|
92
|
+
_globals["_INGESTDATASETREQUEST"]._serialized_start = 4382
|
|
93
|
+
_globals["_INGESTDATASETREQUEST"]._serialized_end = 4944
|
|
94
|
+
_globals["_INGESTDATASETREQUEST_PLANNEROPTIONSENTRY"]._serialized_start = 4803
|
|
95
|
+
_globals["_INGESTDATASETREQUEST_PLANNEROPTIONSENTRY"]._serialized_end = 4892
|
|
96
|
+
_globals["_INGESTDATASETRESPONSE"]._serialized_start = 4946
|
|
97
|
+
_globals["_INGESTDATASETRESPONSE"]._serialized_end = 5046
|
|
98
|
+
_globals["_RETRYOFFLINEQUERYSHARDREQUEST"]._serialized_start = 5048
|
|
99
|
+
_globals["_RETRYOFFLINEQUERYSHARDREQUEST"]._serialized_end = 5154
|
|
100
|
+
_globals["_RETRYOFFLINEQUERYSHARDRESPONSE"]._serialized_start = 5156
|
|
101
|
+
_globals["_RETRYOFFLINEQUERYSHARDRESPONSE"]._serialized_end = 5188
|
|
102
|
+
_globals["_OFFLINEQUERYMETADATASERVICE"]._serialized_start = 5795
|
|
103
|
+
_globals["_OFFLINEQUERYMETADATASERVICE"]._serialized_end = 6728
|
|
82
104
|
# @@protoc_insertion_point(module_scope)
|