chalkpy 2.95.5__py3-none-any.whl → 2.95.7__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/_gen/chalk/protosql/v1/sql_service_pb2.py +47 -47
- chalk/_gen/chalk/protosql/v1/sql_service_pb2.pyi +12 -3
- chalk/_gen/chalk/server/v1/benchmark_pb2.py +34 -31
- chalk/_gen/chalk/server/v1/benchmark_pb2.pyi +37 -1
- chalk/_gen/chalk/server/v1/branches_pb2_grpc.py +78 -0
- chalk/_gen/chalk/server/v1/builder_pb2.py +310 -310
- chalk/_gen/chalk/server/v1/builder_pb2.pyi +4 -0
- chalk/_gen/chalk/server/v1/monitoring_pb2.py +83 -65
- chalk/_gen/chalk/server/v1/monitoring_pb2.pyi +97 -0
- chalk/_gen/chalk/server/v1/monitoring_pb2_grpc.py +90 -0
- chalk/_gen/chalk/server/v1/monitoring_pb2_grpc.pyi +24 -0
- chalk/_gen/chalk/server/v1/scheduler_pb2.py +32 -26
- chalk/_gen/chalk/server/v1/scheduler_pb2.pyi +12 -0
- chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/scheduler_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/sql_queries_pb2.py +10 -10
- chalk/_gen/chalk/server/v1/sql_queries_pb2.pyi +8 -0
- chalk/_version.py +1 -1
- chalk/client/client_grpc.py +10 -2
- chalk/client/client_impl.py +5 -3
- {chalkpy-2.95.5.dist-info → chalkpy-2.95.7.dist-info}/METADATA +1 -1
- {chalkpy-2.95.5.dist-info → chalkpy-2.95.7.dist-info}/RECORD +25 -24
- {chalkpy-2.95.5.dist-info → chalkpy-2.95.7.dist-info}/WHEEL +0 -0
- {chalkpy-2.95.5.dist-info → chalkpy-2.95.7.dist-info}/entry_points.txt +0 -0
- {chalkpy-2.95.5.dist-info → chalkpy-2.95.7.dist-info}/top_level.txt +0 -0
|
@@ -187,6 +187,7 @@ class RedeployDeploymentRequest(_message.Message):
|
|
|
187
187
|
"graph_mutations",
|
|
188
188
|
"customer_metadata",
|
|
189
189
|
"display_description",
|
|
190
|
+
"force_rebuild_dockerfile",
|
|
190
191
|
)
|
|
191
192
|
class CustomerMetadataEntry(_message.Message):
|
|
192
193
|
__slots__ = ("key", "value")
|
|
@@ -205,6 +206,7 @@ class RedeployDeploymentRequest(_message.Message):
|
|
|
205
206
|
GRAPH_MUTATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
206
207
|
CUSTOMER_METADATA_FIELD_NUMBER: _ClassVar[int]
|
|
207
208
|
DISPLAY_DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
209
|
+
FORCE_REBUILD_DOCKERFILE_FIELD_NUMBER: _ClassVar[int]
|
|
208
210
|
existing_deployment_id: str
|
|
209
211
|
enable_profiling: bool
|
|
210
212
|
deployment_tags: _containers.RepeatedScalarFieldContainer[str]
|
|
@@ -214,6 +216,7 @@ class RedeployDeploymentRequest(_message.Message):
|
|
|
214
216
|
graph_mutations: _containers.RepeatedCompositeFieldContainer[_graph_pb2_1.GraphMutation]
|
|
215
217
|
customer_metadata: _containers.ScalarMap[str, str]
|
|
216
218
|
display_description: str
|
|
219
|
+
force_rebuild_dockerfile: bool
|
|
217
220
|
def __init__(
|
|
218
221
|
self,
|
|
219
222
|
existing_deployment_id: _Optional[str] = ...,
|
|
@@ -225,6 +228,7 @@ class RedeployDeploymentRequest(_message.Message):
|
|
|
225
228
|
graph_mutations: _Optional[_Iterable[_Union[_graph_pb2_1.GraphMutation, _Mapping]]] = ...,
|
|
226
229
|
customer_metadata: _Optional[_Mapping[str, str]] = ...,
|
|
227
230
|
display_description: _Optional[str] = ...,
|
|
231
|
+
force_rebuild_dockerfile: bool = ...,
|
|
228
232
|
) -> None: ...
|
|
229
233
|
|
|
230
234
|
class RedeployDeploymentResponse(_message.Message):
|
|
@@ -22,7 +22,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
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
|
+
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"\x9d\x03\n\x10SlackIntegration\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12$\n\x0bslack_token\x18\x02 \x01(\tH\x00R\nslackToken\x88\x01\x01\x12"\n\nslack_data\x18\x03 \x01(\tH\x01R\tslackData\x88\x01\x01\x12(\n\rslack_channel\x18\x04 \x01(\tH\x02R\x0cslackChannel\x88\x01\x01\x12\x1a\n\x08\x63hannels\x18\x05 \x03(\tR\x08\x63hannels\x12 \n\tteam_data\x18\x06 \x01(\tH\x03R\x08teamData\x88\x01\x01\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12>\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04R\tupdatedAt\x88\x01\x01\x42\x0e\n\x0c_slack_tokenB\r\n\x0b_slack_dataB\x10\n\x0e_slack_channelB\x0c\n\n_team_dataB\r\n\x0b_updated_at"\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"\xc8\x02\n\x0c\x41lertChannel\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x42\n\x0b\x65ntity_kind\x18\x03 \x01(\x0e\x32!.chalk.server.v1.AlertChannelKindR\nentityKind\x12\x1b\n\tentity_id\x18\x04 \x01(\tR\x08\x65ntityId\x12\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12>\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\tupdatedAt\x88\x01\x01\x12\x1d\n\x07\x64\x65\x66\x61ult\x18\x07 \x01(\x08H\x01R\x07\x64\x65\x66\x61ult\x88\x01\x01\x42\r\n\x0b_updated_atB\n\n\x08_default"\x1a\n\x18ListAlertChannelsRequest"V\n\x19ListAlertChannelsResponse\x12\x39\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x1d.chalk.server.v1.AlertChannelR\x08\x63hannels"\x1c\n\x1aGetSlackIntegrationRequest"w\n\x1bGetSlackIntegrationResponse\x12H\n\x0bintegration\x18\x01 \x01(\x0b\x32!.chalk.server.v1.SlackIntegrationH\x00R\x0bintegration\x88\x01\x01\x42\x0e\n\x0c_integration*\xb1\x01\n\x10\x41lertChannelKind\x12"\n\x1e\x41LERT_CHANNEL_KIND_UNSPECIFIED\x10\x00\x12$\n ALERT_CHANNEL_KIND_SLACK_CHANNEL\x10\x01\x12(\n$ALERT_CHANNEL_KIND_PAGERDUTY_SERVICE\x10\x02\x12)\n%ALERT_CHANNEL_KIND_INCIDENTIO_SERVICE\x10\x03*\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\xab\x13\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\x12r\n\x11ListAlertChannels\x12).chalk.server.v1.ListAlertChannelsRequest\x1a*.chalk.server.v1.ListAlertChannelsResponse"\x06\x90\x02\x01\x80}\x06\x12x\n\x13GetSlackIntegration\x12+.chalk.server.v1.GetSlackIntegrationRequest\x1a,.chalk.server.v1.GetSlackIntegrationResponse"\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'
|
|
26
26
|
)
|
|
27
27
|
|
|
28
28
|
_globals = globals()
|
|
@@ -107,10 +107,16 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
107
107
|
_globals["_MONITORINGSERVICE"].methods_by_name[
|
|
108
108
|
"GetIncidentAlertsChart"
|
|
109
109
|
]._serialized_options = b"\220\002\001\200}\006"
|
|
110
|
-
_globals["
|
|
111
|
-
_globals["
|
|
112
|
-
_globals["
|
|
113
|
-
_globals["
|
|
110
|
+
_globals["_MONITORINGSERVICE"].methods_by_name["ListAlertChannels"]._options = None
|
|
111
|
+
_globals["_MONITORINGSERVICE"].methods_by_name["ListAlertChannels"]._serialized_options = b"\220\002\001\200}\006"
|
|
112
|
+
_globals["_MONITORINGSERVICE"].methods_by_name["GetSlackIntegration"]._options = None
|
|
113
|
+
_globals["_MONITORINGSERVICE"].methods_by_name["GetSlackIntegration"]._serialized_options = b"\220\002\001\200}\006"
|
|
114
|
+
_globals["_ALERTCHANNELKIND"]._serialized_start = 5461
|
|
115
|
+
_globals["_ALERTCHANNELKIND"]._serialized_end = 5638
|
|
116
|
+
_globals["_PAGERDUTYSEVERITY"]._serialized_start = 5641
|
|
117
|
+
_globals["_PAGERDUTYSEVERITY"]._serialized_end = 5825
|
|
118
|
+
_globals["_PAGERDUTYEVENTACTION"]._serialized_start = 5828
|
|
119
|
+
_globals["_PAGERDUTYEVENTACTION"]._serialized_end = 6006
|
|
114
120
|
_globals["_PAGERDUTYEVENTV2PAYLOAD"]._serialized_start = 245
|
|
115
121
|
_globals["_PAGERDUTYEVENTV2PAYLOAD"]._serialized_end = 750
|
|
116
122
|
_globals["_PAGERDUTYEVENTV2PAYLOAD_CUSTOMDETAILSENTRY"]._serialized_start = 638
|
|
@@ -121,64 +127,76 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
121
127
|
_globals["_PAGERDUTYEVENTV2IMAGE"]._serialized_end = 936
|
|
122
128
|
_globals["_PAGERDUTYEVENTV2"]._serialized_start = 939
|
|
123
129
|
_globals["_PAGERDUTYEVENTV2"]._serialized_end = 1396
|
|
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["
|
|
175
|
-
_globals["
|
|
176
|
-
_globals["
|
|
177
|
-
_globals["
|
|
178
|
-
_globals["
|
|
179
|
-
_globals["
|
|
180
|
-
_globals["
|
|
181
|
-
_globals["
|
|
182
|
-
_globals["
|
|
183
|
-
_globals["
|
|
130
|
+
_globals["_SLACKINTEGRATION"]._serialized_start = 1399
|
|
131
|
+
_globals["_SLACKINTEGRATION"]._serialized_end = 1812
|
|
132
|
+
_globals["_PAGERDUTYINTEGRATION"]._serialized_start = 1815
|
|
133
|
+
_globals["_PAGERDUTYINTEGRATION"]._serialized_end = 1980
|
|
134
|
+
_globals["_INCIDENTIOINTEGRATION"]._serialized_start = 1983
|
|
135
|
+
_globals["_INCIDENTIOINTEGRATION"]._serialized_end = 2267
|
|
136
|
+
_globals["_INCIDENTIOEVENTV2"]._serialized_start = 2270
|
|
137
|
+
_globals["_INCIDENTIOEVENTV2"]._serialized_end = 2559
|
|
138
|
+
_globals["_TESTPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 2561
|
|
139
|
+
_globals["_TESTPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 2610
|
|
140
|
+
_globals["_GETPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 2612
|
|
141
|
+
_globals["_GETPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 2672
|
|
142
|
+
_globals["_GETPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 2674
|
|
143
|
+
_globals["_GETPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 2780
|
|
144
|
+
_globals["_TESTPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 2782
|
|
145
|
+
_globals["_TESTPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 2866
|
|
146
|
+
_globals["_ADDPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 2868
|
|
147
|
+
_globals["_ADDPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 2956
|
|
148
|
+
_globals["_ADDPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 2958
|
|
149
|
+
_globals["_ADDPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 3064
|
|
150
|
+
_globals["_DELETEPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 3066
|
|
151
|
+
_globals["_DELETEPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 3117
|
|
152
|
+
_globals["_DELETEPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 3119
|
|
153
|
+
_globals["_DELETEPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 3155
|
|
154
|
+
_globals["_UPDATEPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 3158
|
|
155
|
+
_globals["_UPDATEPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 3329
|
|
156
|
+
_globals["_UPDATEPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 3331
|
|
157
|
+
_globals["_UPDATEPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 3440
|
|
158
|
+
_globals["_SETDEFAULTPAGERDUTYINTEGRATIONREQUEST"]._serialized_start = 3442
|
|
159
|
+
_globals["_SETDEFAULTPAGERDUTYINTEGRATIONREQUEST"]._serialized_end = 3497
|
|
160
|
+
_globals["_SETDEFAULTPAGERDUTYINTEGRATIONRESPONSE"]._serialized_start = 3499
|
|
161
|
+
_globals["_SETDEFAULTPAGERDUTYINTEGRATIONRESPONSE"]._serialized_end = 3555
|
|
162
|
+
_globals["_GETALLPAGERDUTYINTEGRATIONSREQUEST"]._serialized_start = 3557
|
|
163
|
+
_globals["_GETALLPAGERDUTYINTEGRATIONSREQUEST"]._serialized_end = 3593
|
|
164
|
+
_globals["_GETALLPAGERDUTYINTEGRATIONSRESPONSE"]._serialized_start = 3595
|
|
165
|
+
_globals["_GETALLPAGERDUTYINTEGRATIONSRESPONSE"]._serialized_end = 3707
|
|
166
|
+
_globals["_TESTINCIDENTIOINTEGRATIONREQUEST"]._serialized_start = 3709
|
|
167
|
+
_globals["_TESTINCIDENTIOINTEGRATIONREQUEST"]._serialized_end = 3759
|
|
168
|
+
_globals["_TESTINCIDENTIOINTEGRATIONRESPONSE"]._serialized_start = 3761
|
|
169
|
+
_globals["_TESTINCIDENTIOINTEGRATIONRESPONSE"]._serialized_end = 3846
|
|
170
|
+
_globals["_GETINCIDENTIOINTEGRATIONREQUEST"]._serialized_start = 3848
|
|
171
|
+
_globals["_GETINCIDENTIOINTEGRATIONREQUEST"]._serialized_end = 3897
|
|
172
|
+
_globals["_GETINCIDENTIOINTEGRATIONRESPONSE"]._serialized_start = 3899
|
|
173
|
+
_globals["_GETINCIDENTIOINTEGRATIONRESPONSE"]._serialized_end = 4007
|
|
174
|
+
_globals["_ADDINCIDENTIOINTEGRATIONREQUEST"]._serialized_start = 4010
|
|
175
|
+
_globals["_ADDINCIDENTIOINTEGRATIONREQUEST"]._serialized_end = 4209
|
|
176
|
+
_globals["_ADDINCIDENTIOINTEGRATIONRESPONSE"]._serialized_start = 4211
|
|
177
|
+
_globals["_ADDINCIDENTIOINTEGRATIONRESPONSE"]._serialized_end = 4319
|
|
178
|
+
_globals["_DELETEINCIDENTIOINTEGRATIONREQUEST"]._serialized_start = 4321
|
|
179
|
+
_globals["_DELETEINCIDENTIOINTEGRATIONREQUEST"]._serialized_end = 4373
|
|
180
|
+
_globals["_DELETEINCIDENTIOINTEGRATIONRESPONSE"]._serialized_start = 4375
|
|
181
|
+
_globals["_DELETEINCIDENTIOINTEGRATIONRESPONSE"]._serialized_end = 4412
|
|
182
|
+
_globals["_UPDATEINCIDENTIOINTEGRATIONREQUEST"]._serialized_start = 4415
|
|
183
|
+
_globals["_UPDATEINCIDENTIOINTEGRATIONREQUEST"]._serialized_end = 4592
|
|
184
|
+
_globals["_UPDATEINCIDENTIOINTEGRATIONRESPONSE"]._serialized_start = 4594
|
|
185
|
+
_globals["_UPDATEINCIDENTIOINTEGRATIONRESPONSE"]._serialized_end = 4705
|
|
186
|
+
_globals["_GETALLINCIDENTIOINTEGRATIONSREQUEST"]._serialized_start = 4707
|
|
187
|
+
_globals["_GETALLINCIDENTIOINTEGRATIONSREQUEST"]._serialized_end = 4744
|
|
188
|
+
_globals["_GETALLINCIDENTIOINTEGRATIONSRESPONSE"]._serialized_start = 4746
|
|
189
|
+
_globals["_GETALLINCIDENTIOINTEGRATIONSRESPONSE"]._serialized_end = 4860
|
|
190
|
+
_globals["_ALERTCHANNEL"]._serialized_start = 4863
|
|
191
|
+
_globals["_ALERTCHANNEL"]._serialized_end = 5191
|
|
192
|
+
_globals["_LISTALERTCHANNELSREQUEST"]._serialized_start = 5193
|
|
193
|
+
_globals["_LISTALERTCHANNELSREQUEST"]._serialized_end = 5219
|
|
194
|
+
_globals["_LISTALERTCHANNELSRESPONSE"]._serialized_start = 5221
|
|
195
|
+
_globals["_LISTALERTCHANNELSRESPONSE"]._serialized_end = 5307
|
|
196
|
+
_globals["_GETSLACKINTEGRATIONREQUEST"]._serialized_start = 5309
|
|
197
|
+
_globals["_GETSLACKINTEGRATIONREQUEST"]._serialized_end = 5337
|
|
198
|
+
_globals["_GETSLACKINTEGRATIONRESPONSE"]._serialized_start = 5339
|
|
199
|
+
_globals["_GETSLACKINTEGRATIONRESPONSE"]._serialized_end = 5458
|
|
200
|
+
_globals["_MONITORINGSERVICE"]._serialized_start = 6009
|
|
201
|
+
_globals["_MONITORINGSERVICE"]._serialized_end = 8484
|
|
184
202
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -18,6 +18,13 @@ from typing import (
|
|
|
18
18
|
|
|
19
19
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
20
20
|
|
|
21
|
+
class AlertChannelKind(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
22
|
+
__slots__ = ()
|
|
23
|
+
ALERT_CHANNEL_KIND_UNSPECIFIED: _ClassVar[AlertChannelKind]
|
|
24
|
+
ALERT_CHANNEL_KIND_SLACK_CHANNEL: _ClassVar[AlertChannelKind]
|
|
25
|
+
ALERT_CHANNEL_KIND_PAGERDUTY_SERVICE: _ClassVar[AlertChannelKind]
|
|
26
|
+
ALERT_CHANNEL_KIND_INCIDENTIO_SERVICE: _ClassVar[AlertChannelKind]
|
|
27
|
+
|
|
21
28
|
class PagerDutySeverity(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
22
29
|
__slots__ = ()
|
|
23
30
|
PAGER_DUTY_SEVERITY_UNSPECIFIED: _ClassVar[PagerDutySeverity]
|
|
@@ -33,6 +40,10 @@ class PagerDutyEventAction(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
|
33
40
|
PAGER_DUTY_EVENT_ACTION_ACKNOWLEDGE: _ClassVar[PagerDutyEventAction]
|
|
34
41
|
PAGER_DUTY_EVENT_ACTION_RESOLVE: _ClassVar[PagerDutyEventAction]
|
|
35
42
|
|
|
43
|
+
ALERT_CHANNEL_KIND_UNSPECIFIED: AlertChannelKind
|
|
44
|
+
ALERT_CHANNEL_KIND_SLACK_CHANNEL: AlertChannelKind
|
|
45
|
+
ALERT_CHANNEL_KIND_PAGERDUTY_SERVICE: AlertChannelKind
|
|
46
|
+
ALERT_CHANNEL_KIND_INCIDENTIO_SERVICE: AlertChannelKind
|
|
36
47
|
PAGER_DUTY_SEVERITY_UNSPECIFIED: PagerDutySeverity
|
|
37
48
|
PAGER_DUTY_SEVERITY_INFO: PagerDutySeverity
|
|
38
49
|
PAGER_DUTY_SEVERITY_WARNING: PagerDutySeverity
|
|
@@ -128,6 +139,45 @@ class PagerDutyEventV2(_message.Message):
|
|
|
128
139
|
images: _Optional[_Iterable[_Union[PagerDutyEventV2Image, _Mapping]]] = ...,
|
|
129
140
|
) -> None: ...
|
|
130
141
|
|
|
142
|
+
class SlackIntegration(_message.Message):
|
|
143
|
+
__slots__ = (
|
|
144
|
+
"id",
|
|
145
|
+
"slack_token",
|
|
146
|
+
"slack_data",
|
|
147
|
+
"slack_channel",
|
|
148
|
+
"channels",
|
|
149
|
+
"team_data",
|
|
150
|
+
"created_at",
|
|
151
|
+
"updated_at",
|
|
152
|
+
)
|
|
153
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
154
|
+
SLACK_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
155
|
+
SLACK_DATA_FIELD_NUMBER: _ClassVar[int]
|
|
156
|
+
SLACK_CHANNEL_FIELD_NUMBER: _ClassVar[int]
|
|
157
|
+
CHANNELS_FIELD_NUMBER: _ClassVar[int]
|
|
158
|
+
TEAM_DATA_FIELD_NUMBER: _ClassVar[int]
|
|
159
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
160
|
+
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
161
|
+
id: str
|
|
162
|
+
slack_token: str
|
|
163
|
+
slack_data: str
|
|
164
|
+
slack_channel: str
|
|
165
|
+
channels: _containers.RepeatedScalarFieldContainer[str]
|
|
166
|
+
team_data: str
|
|
167
|
+
created_at: _timestamp_pb2.Timestamp
|
|
168
|
+
updated_at: _timestamp_pb2.Timestamp
|
|
169
|
+
def __init__(
|
|
170
|
+
self,
|
|
171
|
+
id: _Optional[str] = ...,
|
|
172
|
+
slack_token: _Optional[str] = ...,
|
|
173
|
+
slack_data: _Optional[str] = ...,
|
|
174
|
+
slack_channel: _Optional[str] = ...,
|
|
175
|
+
channels: _Optional[_Iterable[str]] = ...,
|
|
176
|
+
team_data: _Optional[str] = ...,
|
|
177
|
+
created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
178
|
+
updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
179
|
+
) -> None: ...
|
|
180
|
+
|
|
131
181
|
class PagerDutyIntegration(_message.Message):
|
|
132
182
|
__slots__ = ("id", "name", "default", "token", "environment_id")
|
|
133
183
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -388,3 +438,50 @@ class GetAllIncidentIoIntegrationsResponse(_message.Message):
|
|
|
388
438
|
INTEGRATIONS_FIELD_NUMBER: _ClassVar[int]
|
|
389
439
|
integrations: _containers.RepeatedCompositeFieldContainer[IncidentIoIntegration]
|
|
390
440
|
def __init__(self, integrations: _Optional[_Iterable[_Union[IncidentIoIntegration, _Mapping]]] = ...) -> None: ...
|
|
441
|
+
|
|
442
|
+
class AlertChannel(_message.Message):
|
|
443
|
+
__slots__ = ("id", "name", "entity_kind", "entity_id", "created_at", "updated_at", "default")
|
|
444
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
445
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
446
|
+
ENTITY_KIND_FIELD_NUMBER: _ClassVar[int]
|
|
447
|
+
ENTITY_ID_FIELD_NUMBER: _ClassVar[int]
|
|
448
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
449
|
+
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
450
|
+
DEFAULT_FIELD_NUMBER: _ClassVar[int]
|
|
451
|
+
id: str
|
|
452
|
+
name: str
|
|
453
|
+
entity_kind: AlertChannelKind
|
|
454
|
+
entity_id: str
|
|
455
|
+
created_at: _timestamp_pb2.Timestamp
|
|
456
|
+
updated_at: _timestamp_pb2.Timestamp
|
|
457
|
+
default: bool
|
|
458
|
+
def __init__(
|
|
459
|
+
self,
|
|
460
|
+
id: _Optional[str] = ...,
|
|
461
|
+
name: _Optional[str] = ...,
|
|
462
|
+
entity_kind: _Optional[_Union[AlertChannelKind, str]] = ...,
|
|
463
|
+
entity_id: _Optional[str] = ...,
|
|
464
|
+
created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
465
|
+
updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
466
|
+
default: bool = ...,
|
|
467
|
+
) -> None: ...
|
|
468
|
+
|
|
469
|
+
class ListAlertChannelsRequest(_message.Message):
|
|
470
|
+
__slots__ = ()
|
|
471
|
+
def __init__(self) -> None: ...
|
|
472
|
+
|
|
473
|
+
class ListAlertChannelsResponse(_message.Message):
|
|
474
|
+
__slots__ = ("channels",)
|
|
475
|
+
CHANNELS_FIELD_NUMBER: _ClassVar[int]
|
|
476
|
+
channels: _containers.RepeatedCompositeFieldContainer[AlertChannel]
|
|
477
|
+
def __init__(self, channels: _Optional[_Iterable[_Union[AlertChannel, _Mapping]]] = ...) -> None: ...
|
|
478
|
+
|
|
479
|
+
class GetSlackIntegrationRequest(_message.Message):
|
|
480
|
+
__slots__ = ()
|
|
481
|
+
def __init__(self) -> None: ...
|
|
482
|
+
|
|
483
|
+
class GetSlackIntegrationResponse(_message.Message):
|
|
484
|
+
__slots__ = ("integration",)
|
|
485
|
+
INTEGRATION_FIELD_NUMBER: _ClassVar[int]
|
|
486
|
+
integration: SlackIntegration
|
|
487
|
+
def __init__(self, integration: _Optional[_Union[SlackIntegration, _Mapping]] = ...) -> None: ...
|
|
@@ -96,6 +96,16 @@ class MonitoringServiceStub(object):
|
|
|
96
96
|
request_serializer=chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentAlertsChartRequest.SerializeToString,
|
|
97
97
|
response_deserializer=chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentAlertsChartResponse.FromString,
|
|
98
98
|
)
|
|
99
|
+
self.ListAlertChannels = channel.unary_unary(
|
|
100
|
+
"/chalk.server.v1.MonitoringService/ListAlertChannels",
|
|
101
|
+
request_serializer=chalk_dot_server_dot_v1_dot_monitoring__pb2.ListAlertChannelsRequest.SerializeToString,
|
|
102
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_monitoring__pb2.ListAlertChannelsResponse.FromString,
|
|
103
|
+
)
|
|
104
|
+
self.GetSlackIntegration = channel.unary_unary(
|
|
105
|
+
"/chalk.server.v1.MonitoringService/GetSlackIntegration",
|
|
106
|
+
request_serializer=chalk_dot_server_dot_v1_dot_monitoring__pb2.GetSlackIntegrationRequest.SerializeToString,
|
|
107
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_monitoring__pb2.GetSlackIntegrationResponse.FromString,
|
|
108
|
+
)
|
|
99
109
|
|
|
100
110
|
|
|
101
111
|
class MonitoringServiceServicer(object):
|
|
@@ -197,6 +207,18 @@ class MonitoringServiceServicer(object):
|
|
|
197
207
|
context.set_details("Method not implemented!")
|
|
198
208
|
raise NotImplementedError("Method not implemented!")
|
|
199
209
|
|
|
210
|
+
def ListAlertChannels(self, request, context):
|
|
211
|
+
"""Missing associated documentation comment in .proto file."""
|
|
212
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
213
|
+
context.set_details("Method not implemented!")
|
|
214
|
+
raise NotImplementedError("Method not implemented!")
|
|
215
|
+
|
|
216
|
+
def GetSlackIntegration(self, request, context):
|
|
217
|
+
"""Missing associated documentation comment in .proto file."""
|
|
218
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
219
|
+
context.set_details("Method not implemented!")
|
|
220
|
+
raise NotImplementedError("Method not implemented!")
|
|
221
|
+
|
|
200
222
|
|
|
201
223
|
def add_MonitoringServiceServicer_to_server(servicer, server):
|
|
202
224
|
rpc_method_handlers = {
|
|
@@ -280,6 +302,16 @@ def add_MonitoringServiceServicer_to_server(servicer, server):
|
|
|
280
302
|
request_deserializer=chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentAlertsChartRequest.FromString,
|
|
281
303
|
response_serializer=chalk_dot_server_dot_v1_dot_incident__pb2.GetIncidentAlertsChartResponse.SerializeToString,
|
|
282
304
|
),
|
|
305
|
+
"ListAlertChannels": grpc.unary_unary_rpc_method_handler(
|
|
306
|
+
servicer.ListAlertChannels,
|
|
307
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_monitoring__pb2.ListAlertChannelsRequest.FromString,
|
|
308
|
+
response_serializer=chalk_dot_server_dot_v1_dot_monitoring__pb2.ListAlertChannelsResponse.SerializeToString,
|
|
309
|
+
),
|
|
310
|
+
"GetSlackIntegration": grpc.unary_unary_rpc_method_handler(
|
|
311
|
+
servicer.GetSlackIntegration,
|
|
312
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_monitoring__pb2.GetSlackIntegrationRequest.FromString,
|
|
313
|
+
response_serializer=chalk_dot_server_dot_v1_dot_monitoring__pb2.GetSlackIntegrationResponse.SerializeToString,
|
|
314
|
+
),
|
|
283
315
|
}
|
|
284
316
|
generic_handler = grpc.method_handlers_generic_handler("chalk.server.v1.MonitoringService", rpc_method_handlers)
|
|
285
317
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
@@ -752,3 +784,61 @@ class MonitoringService(object):
|
|
|
752
784
|
timeout,
|
|
753
785
|
metadata,
|
|
754
786
|
)
|
|
787
|
+
|
|
788
|
+
@staticmethod
|
|
789
|
+
def ListAlertChannels(
|
|
790
|
+
request,
|
|
791
|
+
target,
|
|
792
|
+
options=(),
|
|
793
|
+
channel_credentials=None,
|
|
794
|
+
call_credentials=None,
|
|
795
|
+
insecure=False,
|
|
796
|
+
compression=None,
|
|
797
|
+
wait_for_ready=None,
|
|
798
|
+
timeout=None,
|
|
799
|
+
metadata=None,
|
|
800
|
+
):
|
|
801
|
+
return grpc.experimental.unary_unary(
|
|
802
|
+
request,
|
|
803
|
+
target,
|
|
804
|
+
"/chalk.server.v1.MonitoringService/ListAlertChannels",
|
|
805
|
+
chalk_dot_server_dot_v1_dot_monitoring__pb2.ListAlertChannelsRequest.SerializeToString,
|
|
806
|
+
chalk_dot_server_dot_v1_dot_monitoring__pb2.ListAlertChannelsResponse.FromString,
|
|
807
|
+
options,
|
|
808
|
+
channel_credentials,
|
|
809
|
+
insecure,
|
|
810
|
+
call_credentials,
|
|
811
|
+
compression,
|
|
812
|
+
wait_for_ready,
|
|
813
|
+
timeout,
|
|
814
|
+
metadata,
|
|
815
|
+
)
|
|
816
|
+
|
|
817
|
+
@staticmethod
|
|
818
|
+
def GetSlackIntegration(
|
|
819
|
+
request,
|
|
820
|
+
target,
|
|
821
|
+
options=(),
|
|
822
|
+
channel_credentials=None,
|
|
823
|
+
call_credentials=None,
|
|
824
|
+
insecure=False,
|
|
825
|
+
compression=None,
|
|
826
|
+
wait_for_ready=None,
|
|
827
|
+
timeout=None,
|
|
828
|
+
metadata=None,
|
|
829
|
+
):
|
|
830
|
+
return grpc.experimental.unary_unary(
|
|
831
|
+
request,
|
|
832
|
+
target,
|
|
833
|
+
"/chalk.server.v1.MonitoringService/GetSlackIntegration",
|
|
834
|
+
chalk_dot_server_dot_v1_dot_monitoring__pb2.GetSlackIntegrationRequest.SerializeToString,
|
|
835
|
+
chalk_dot_server_dot_v1_dot_monitoring__pb2.GetSlackIntegrationResponse.FromString,
|
|
836
|
+
options,
|
|
837
|
+
channel_credentials,
|
|
838
|
+
insecure,
|
|
839
|
+
call_credentials,
|
|
840
|
+
compression,
|
|
841
|
+
wait_for_ready,
|
|
842
|
+
timeout,
|
|
843
|
+
metadata,
|
|
844
|
+
)
|
|
@@ -32,6 +32,10 @@ from chalk._gen.chalk.server.v1.monitoring_pb2 import (
|
|
|
32
32
|
GetIncidentIoIntegrationResponse,
|
|
33
33
|
GetPagerDutyIntegrationRequest,
|
|
34
34
|
GetPagerDutyIntegrationResponse,
|
|
35
|
+
GetSlackIntegrationRequest,
|
|
36
|
+
GetSlackIntegrationResponse,
|
|
37
|
+
ListAlertChannelsRequest,
|
|
38
|
+
ListAlertChannelsResponse,
|
|
35
39
|
SetDefaultPagerDutyIntegrationRequest,
|
|
36
40
|
SetDefaultPagerDutyIntegrationResponse,
|
|
37
41
|
TestIncidentIoIntegrationRequest,
|
|
@@ -116,6 +120,14 @@ class MonitoringServiceStub:
|
|
|
116
120
|
GetIncidentAlertsChartRequest,
|
|
117
121
|
GetIncidentAlertsChartResponse,
|
|
118
122
|
]
|
|
123
|
+
ListAlertChannels: UnaryUnaryMultiCallable[
|
|
124
|
+
ListAlertChannelsRequest,
|
|
125
|
+
ListAlertChannelsResponse,
|
|
126
|
+
]
|
|
127
|
+
GetSlackIntegration: UnaryUnaryMultiCallable[
|
|
128
|
+
GetSlackIntegrationRequest,
|
|
129
|
+
GetSlackIntegrationResponse,
|
|
130
|
+
]
|
|
119
131
|
|
|
120
132
|
class MonitoringServiceServicer(metaclass=ABCMeta):
|
|
121
133
|
@abstractmethod
|
|
@@ -214,5 +226,17 @@ class MonitoringServiceServicer(metaclass=ABCMeta):
|
|
|
214
226
|
request: GetIncidentAlertsChartRequest,
|
|
215
227
|
context: ServicerContext,
|
|
216
228
|
) -> GetIncidentAlertsChartResponse: ...
|
|
229
|
+
@abstractmethod
|
|
230
|
+
def ListAlertChannels(
|
|
231
|
+
self,
|
|
232
|
+
request: ListAlertChannelsRequest,
|
|
233
|
+
context: ServicerContext,
|
|
234
|
+
) -> ListAlertChannelsResponse: ...
|
|
235
|
+
@abstractmethod
|
|
236
|
+
def GetSlackIntegration(
|
|
237
|
+
self,
|
|
238
|
+
request: GetSlackIntegrationRequest,
|
|
239
|
+
context: ServicerContext,
|
|
240
|
+
) -> GetSlackIntegrationResponse: ...
|
|
217
241
|
|
|
218
242
|
def add_MonitoringServiceServicer_to_server(servicer: MonitoringServiceServicer, server: Server) -> None: ...
|
|
@@ -21,7 +21,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
24
|
-
b'\n\x1f\x63halk/server/v1/scheduler.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\x1b\x63halk/server/v1/batch.proto\x1a)chalk/server/v1/scheduled_query_run.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\
|
|
24
|
+
b'\n\x1f\x63halk/server/v1/scheduler.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\x1b\x63halk/server/v1/batch.proto\x1a)chalk/server/v1/scheduled_query_run.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xa4\x06\n\x0f\x43ronResolverRun\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12%\n\x0e\x65nvironment_id\x18\x02 \x01(\tR\renvironmentId\x12!\n\x0cresolver_fqn\x18\x03 \x01(\tR\x0bresolverFqn\x12\x12\n\x04kind\x18\x04 \x01(\tR\x04kind\x12+\n\x11schedule_readable\x18\x05 \x01(\tR\x10scheduleReadable\x12\x36\n\x17schedule_resolver_value\x18\x06 \x01(\tR\x15scheduleResolverValue\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12(\n\rdeployment_id\x18\x08 \x01(\tH\x00R\x0c\x64\x65ploymentId\x88\x01\x01\x12\x31\n\x03\x65nd\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\x03\x65nd\x88\x01\x01\x12:\n\x05\x62\x61tch\x18\n \x01(\x0b\x32\x1f.chalk.server.v1.BatchOperationH\x02R\x05\x62\x61tch\x88\x01\x01\x12\x46\n\x0ctrigger_kind\x18\x0b \x01(\x0e\x32#.chalk.server.v1.CronRunTriggerKindR\x0btriggerKind\x12@\n\x0blower_bound\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03R\nlowerBound\x88\x01\x01\x12@\n\x0bupper_bound\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04R\nupperBound\x88\x01\x01\x12$\n\x0bmax_samples\x18\x0e \x01(\x03H\x05R\nmaxSamples\x88\x01\x01\x12$\n\x0eused_job_queue\x18\x0f \x01(\x08R\x0cusedJobQueueB\x10\n\x0e_deployment_idB\x06\n\x04_endB\x08\n\x06_batchB\x0e\n\x0c_lower_boundB\x0e\n\x0c_upper_boundB\x0e\n\x0c_max_samples"\x9d\x03\n ManualTriggerCronResolverRequest\x12!\n\x0cresolver_fqn\x18\x01 \x01(\tR\x0bresolverFqn\x12$\n\x0bmax_samples\x18\x02 \x01(\x03H\x00R\nmaxSamples\x88\x01\x01\x12@\n\x0blower_bound\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\nlowerBound\x88\x01\x01\x12@\n\x0bupper_bound\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02R\nupperBound\x88\x01\x01\x12\x30\n\x11timestamping_mode\x18\x06 \x01(\tH\x03R\x10timestampingMode\x88\x01\x01\x12$\n\x0bjob_options\x18\x07 \x01(\tH\x04R\njobOptions\x88\x01\x01\x42\x0e\n\x0c_max_samplesB\x0e\n\x0c_lower_boundB\x0e\n\x0c_upper_boundB\x14\n\x12_timestamping_modeB\x0e\n\x0c_job_options"q\n!ManualTriggerCronResolverResponse\x12L\n\x11\x63ron_resolver_run\x18\x01 \x01(\x0b\x32 .chalk.server.v1.CronResolverRunR\x0f\x63ronResolverRun"\x9c\x05\n"ManualTriggerScheduledQueryRequest\x12"\n\rcron_query_id\x18\x01 \x01(\x03R\x0b\x63ronQueryId\x12p\n\x0fplanner_options\x18\x02 \x03(\x0b\x32G.chalk.server.v1.ManualTriggerScheduledQueryRequest.PlannerOptionsEntryR\x0eplannerOptions\x12\x33\n\x15incremental_resolvers\x18\x03 \x03(\tR\x14incrementalResolvers\x12$\n\x0bmax_samples\x18\x04 \x01(\x03H\x01R\nmaxSamples\x88\x01\x01\x12j\n\renv_overrides\x18\x05 \x03(\x0b\x32\x45.chalk.server.v1.ManualTriggerScheduledQueryRequest.EnvOverridesEntryR\x0c\x65nvOverrides\x12(\n\x0f\x63ron_query_name\x18\x06 \x01(\tH\x00R\rcronQueryName\x12*\n\x11store_plan_stages\x18\x07 \x01(\x08R\x0fstorePlanStages\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\x1a?\n\x11\x45nvOverridesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x17\n\x15\x63ron_query_identifierB\x0e\n\x0c_max_samples"y\n#ManualTriggerScheduledQueryResponse\x12R\n\x13scheduled_query_run\x18\x01 \x01(\x0b\x32".chalk.server.v1.ScheduledQueryRunR\x11scheduledQueryRun"0\n\x1eGetScheduledResolverRunRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"U\n\x1fGetScheduledResolverRunResponse\x12\x32\n\x03run\x18\x01 \x01(\x0b\x32 .chalk.server.v1.CronResolverRunR\x03run"\xa7\x03\n ListScheduledResolverRunsRequest\x12\x37\n\x06\x63ursor\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x06\x63ursor\x88\x01\x01\x12,\n\x0fresolver_filter\x18\x02 \x01(\tH\x01R\x0eresolverFilter\x88\x01\x01\x12\x19\n\x05limit\x18\x03 \x01(\x05H\x02R\x05limit\x88\x01\x01\x12\x35\n\x05start\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03R\x05start\x88\x01\x01\x12\x31\n\x03\x65nd\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04R\x03\x65nd\x88\x01\x01\x12J\n\rstatus_filter\x18\x06 \x01(\x0e\x32 .chalk.server.v1.OperationStatusH\x05R\x0cstatusFilter\x88\x01\x01\x42\t\n\x07_cursorB\x12\n\x10_resolver_filterB\x08\n\x06_limitB\x08\n\x06_startB\x06\n\x04_endB\x10\n\x0e_status_filter"Y\n!ListScheduledResolverRunsResponse\x12\x34\n\x04runs\x18\x01 \x03(\x0b\x32 .chalk.server.v1.CronResolverRunR\x04runs":\n!CancelScheduledResolverRunRequest\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId"a\n"CancelScheduledResolverRunResponse\x12;\n\x08\x63ron_run\x18\x01 \x01(\x0b\x32 .chalk.server.v1.CronResolverRunR\x07\x63ronRun*\x9c\x01\n\x12\x43ronRunTriggerKind\x12%\n!CRON_RUN_TRIGGER_KIND_UNSPECIFIED\x10\x00\x12 \n\x1c\x43RON_RUN_TRIGGER_KIND_MANUAL\x10\x01\x12\x1d\n\x19\x43RON_RUN_TRIGGER_KIND_API\x10\x02\x12\x1e\n\x1a\x43RON_RUN_TRIGGER_KIND_CRON\x10\x03\x32\xc7\x05\n\x10SchedulerService\x12\x87\x01\n\x19ManualTriggerCronResolver\x12\x31.chalk.server.v1.ManualTriggerCronResolverRequest\x1a\x32.chalk.server.v1.ManualTriggerCronResolverResponse"\x03\x80}\x11\x12\x8d\x01\n\x1bManualTriggerScheduledQuery\x12\x33.chalk.server.v1.ManualTriggerScheduledQueryRequest\x1a\x34.chalk.server.v1.ManualTriggerScheduledQueryResponse"\x03\x80}\x11\x12\x81\x01\n\x17GetScheduledResolverRun\x12/.chalk.server.v1.GetScheduledResolverRunRequest\x1a\x30.chalk.server.v1.GetScheduledResolverRunResponse"\x03\x80}\x10\x12\x87\x01\n\x19ListScheduledResolverRuns\x12\x31.chalk.server.v1.ListScheduledResolverRunsRequest\x1a\x32.chalk.server.v1.ListScheduledResolverRunsResponse"\x03\x80}\x10\x12\x8a\x01\n\x1a\x43\x61ncelScheduledResolverRun\x12\x32.chalk.server.v1.CancelScheduledResolverRunRequest\x1a\x33.chalk.server.v1.CancelScheduledResolverRunResponse"\x03\x80}\x11\x42\x97\x01\n\x13\x63om.chalk.server.v1B\x0eSchedulerProtoP\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
25
|
)
|
|
26
26
|
|
|
27
27
|
_globals = globals()
|
|
@@ -44,30 +44,36 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
44
44
|
_globals["_SCHEDULERSERVICE"].methods_by_name["GetScheduledResolverRun"]._serialized_options = b"\200}\020"
|
|
45
45
|
_globals["_SCHEDULERSERVICE"].methods_by_name["ListScheduledResolverRuns"]._options = None
|
|
46
46
|
_globals["_SCHEDULERSERVICE"].methods_by_name["ListScheduledResolverRuns"]._serialized_options = b"\200}\020"
|
|
47
|
-
_globals["
|
|
48
|
-
_globals["
|
|
47
|
+
_globals["_SCHEDULERSERVICE"].methods_by_name["CancelScheduledResolverRun"]._options = None
|
|
48
|
+
_globals["_SCHEDULERSERVICE"].methods_by_name["CancelScheduledResolverRun"]._serialized_options = b"\200}\021"
|
|
49
|
+
_globals["_CRONRUNTRIGGERKIND"]._serialized_start = 3166
|
|
50
|
+
_globals["_CRONRUNTRIGGERKIND"]._serialized_end = 3322
|
|
49
51
|
_globals["_CRONRESOLVERRUN"]._serialized_start = 221
|
|
50
|
-
_globals["_CRONRESOLVERRUN"]._serialized_end =
|
|
51
|
-
_globals["_MANUALTRIGGERCRONRESOLVERREQUEST"]._serialized_start =
|
|
52
|
-
_globals["_MANUALTRIGGERCRONRESOLVERREQUEST"]._serialized_end =
|
|
53
|
-
_globals["_MANUALTRIGGERCRONRESOLVERRESPONSE"]._serialized_start =
|
|
54
|
-
_globals["_MANUALTRIGGERCRONRESOLVERRESPONSE"]._serialized_end =
|
|
55
|
-
_globals["_MANUALTRIGGERSCHEDULEDQUERYREQUEST"]._serialized_start =
|
|
56
|
-
_globals["_MANUALTRIGGERSCHEDULEDQUERYREQUEST"]._serialized_end =
|
|
57
|
-
_globals["_MANUALTRIGGERSCHEDULEDQUERYREQUEST_PLANNEROPTIONSENTRY"]._serialized_start =
|
|
58
|
-
_globals["_MANUALTRIGGERSCHEDULEDQUERYREQUEST_PLANNEROPTIONSENTRY"]._serialized_end =
|
|
59
|
-
_globals["_MANUALTRIGGERSCHEDULEDQUERYREQUEST_ENVOVERRIDESENTRY"]._serialized_start =
|
|
60
|
-
_globals["_MANUALTRIGGERSCHEDULEDQUERYREQUEST_ENVOVERRIDESENTRY"]._serialized_end =
|
|
61
|
-
_globals["_MANUALTRIGGERSCHEDULEDQUERYRESPONSE"]._serialized_start =
|
|
62
|
-
_globals["_MANUALTRIGGERSCHEDULEDQUERYRESPONSE"]._serialized_end =
|
|
63
|
-
_globals["_GETSCHEDULEDRESOLVERRUNREQUEST"]._serialized_start =
|
|
64
|
-
_globals["_GETSCHEDULEDRESOLVERRUNREQUEST"]._serialized_end =
|
|
65
|
-
_globals["_GETSCHEDULEDRESOLVERRUNRESPONSE"]._serialized_start =
|
|
66
|
-
_globals["_GETSCHEDULEDRESOLVERRUNRESPONSE"]._serialized_end =
|
|
67
|
-
_globals["_LISTSCHEDULEDRESOLVERRUNSREQUEST"]._serialized_start =
|
|
68
|
-
_globals["_LISTSCHEDULEDRESOLVERRUNSREQUEST"]._serialized_end =
|
|
69
|
-
_globals["_LISTSCHEDULEDRESOLVERRUNSRESPONSE"]._serialized_start =
|
|
70
|
-
_globals["_LISTSCHEDULEDRESOLVERRUNSRESPONSE"]._serialized_end =
|
|
71
|
-
_globals["
|
|
72
|
-
_globals["
|
|
52
|
+
_globals["_CRONRESOLVERRUN"]._serialized_end = 1025
|
|
53
|
+
_globals["_MANUALTRIGGERCRONRESOLVERREQUEST"]._serialized_start = 1028
|
|
54
|
+
_globals["_MANUALTRIGGERCRONRESOLVERREQUEST"]._serialized_end = 1441
|
|
55
|
+
_globals["_MANUALTRIGGERCRONRESOLVERRESPONSE"]._serialized_start = 1443
|
|
56
|
+
_globals["_MANUALTRIGGERCRONRESOLVERRESPONSE"]._serialized_end = 1556
|
|
57
|
+
_globals["_MANUALTRIGGERSCHEDULEDQUERYREQUEST"]._serialized_start = 1559
|
|
58
|
+
_globals["_MANUALTRIGGERSCHEDULEDQUERYREQUEST"]._serialized_end = 2227
|
|
59
|
+
_globals["_MANUALTRIGGERSCHEDULEDQUERYREQUEST_PLANNEROPTIONSENTRY"]._serialized_start = 2032
|
|
60
|
+
_globals["_MANUALTRIGGERSCHEDULEDQUERYREQUEST_PLANNEROPTIONSENTRY"]._serialized_end = 2121
|
|
61
|
+
_globals["_MANUALTRIGGERSCHEDULEDQUERYREQUEST_ENVOVERRIDESENTRY"]._serialized_start = 2123
|
|
62
|
+
_globals["_MANUALTRIGGERSCHEDULEDQUERYREQUEST_ENVOVERRIDESENTRY"]._serialized_end = 2186
|
|
63
|
+
_globals["_MANUALTRIGGERSCHEDULEDQUERYRESPONSE"]._serialized_start = 2229
|
|
64
|
+
_globals["_MANUALTRIGGERSCHEDULEDQUERYRESPONSE"]._serialized_end = 2350
|
|
65
|
+
_globals["_GETSCHEDULEDRESOLVERRUNREQUEST"]._serialized_start = 2352
|
|
66
|
+
_globals["_GETSCHEDULEDRESOLVERRUNREQUEST"]._serialized_end = 2400
|
|
67
|
+
_globals["_GETSCHEDULEDRESOLVERRUNRESPONSE"]._serialized_start = 2402
|
|
68
|
+
_globals["_GETSCHEDULEDRESOLVERRUNRESPONSE"]._serialized_end = 2487
|
|
69
|
+
_globals["_LISTSCHEDULEDRESOLVERRUNSREQUEST"]._serialized_start = 2490
|
|
70
|
+
_globals["_LISTSCHEDULEDRESOLVERRUNSREQUEST"]._serialized_end = 2913
|
|
71
|
+
_globals["_LISTSCHEDULEDRESOLVERRUNSRESPONSE"]._serialized_start = 2915
|
|
72
|
+
_globals["_LISTSCHEDULEDRESOLVERRUNSRESPONSE"]._serialized_end = 3004
|
|
73
|
+
_globals["_CANCELSCHEDULEDRESOLVERRUNREQUEST"]._serialized_start = 3006
|
|
74
|
+
_globals["_CANCELSCHEDULEDRESOLVERRUNREQUEST"]._serialized_end = 3064
|
|
75
|
+
_globals["_CANCELSCHEDULEDRESOLVERRUNRESPONSE"]._serialized_start = 3066
|
|
76
|
+
_globals["_CANCELSCHEDULEDRESOLVERRUNRESPONSE"]._serialized_end = 3163
|
|
77
|
+
_globals["_SCHEDULERSERVICE"]._serialized_start = 3325
|
|
78
|
+
_globals["_SCHEDULERSERVICE"]._serialized_end = 4036
|
|
73
79
|
# @@protoc_insertion_point(module_scope)
|