temporal-flowrensic-python-sdk 0.6.63__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.
Files changed (54) hide show
  1. temporal_flowrensic/__init__.py +2 -0
  2. temporal_flowrensic/_calls.py +185 -0
  3. temporal_flowrensic/_ci.py +56 -0
  4. temporal_flowrensic/_deploy.py +65 -0
  5. temporal_flowrensic/_gen/flowrensic/v1/activity_metrics_pb2.py +76 -0
  6. temporal_flowrensic/_gen/flowrensic/v1/activity_metrics_pb2.pyi +301 -0
  7. temporal_flowrensic/_gen/flowrensic/v1/catalog_pb2.py +60 -0
  8. temporal_flowrensic/_gen/flowrensic/v1/catalog_pb2.pyi +127 -0
  9. temporal_flowrensic/_gen/flowrensic/v1/catch_up_pb2.py +42 -0
  10. temporal_flowrensic/_gen/flowrensic/v1/catch_up_pb2.pyi +71 -0
  11. temporal_flowrensic/_gen/flowrensic/v1/client_calls_pb2.py +49 -0
  12. temporal_flowrensic/_gen/flowrensic/v1/client_calls_pb2.pyi +90 -0
  13. temporal_flowrensic/_gen/flowrensic/v1/cost_pb2.py +52 -0
  14. temporal_flowrensic/_gen/flowrensic/v1/cost_pb2.pyi +107 -0
  15. temporal_flowrensic/_gen/flowrensic/v1/deploy_pb2.py +51 -0
  16. temporal_flowrensic/_gen/flowrensic/v1/deploy_pb2.pyi +92 -0
  17. temporal_flowrensic/_gen/flowrensic/v1/ephemeral_run_pb2.py +107 -0
  18. temporal_flowrensic/_gen/flowrensic/v1/ephemeral_run_pb2.pyi +344 -0
  19. temporal_flowrensic/_gen/flowrensic/v1/finding_pb2.py +76 -0
  20. temporal_flowrensic/_gen/flowrensic/v1/finding_pb2.pyi +371 -0
  21. temporal_flowrensic/_gen/flowrensic/v1/job_pb2.py +46 -0
  22. temporal_flowrensic/_gen/flowrensic/v1/job_pb2.pyi +51 -0
  23. temporal_flowrensic/_gen/flowrensic/v1/load_pb2.py +51 -0
  24. temporal_flowrensic/_gen/flowrensic/v1/load_pb2.pyi +118 -0
  25. temporal_flowrensic/_gen/flowrensic/v1/page_pb2.py +38 -0
  26. temporal_flowrensic/_gen/flowrensic/v1/page_pb2.pyi +23 -0
  27. temporal_flowrensic/_gen/flowrensic/v1/remediation_pb2.py +60 -0
  28. temporal_flowrensic/_gen/flowrensic/v1/remediation_pb2.pyi +157 -0
  29. temporal_flowrensic/_gen/flowrensic/v1/replay_pb2.py +84 -0
  30. temporal_flowrensic/_gen/flowrensic/v1/replay_pb2.pyi +309 -0
  31. temporal_flowrensic/_gen/flowrensic/v1/server_config_pb2.py +48 -0
  32. temporal_flowrensic/_gen/flowrensic/v1/server_config_pb2.pyi +97 -0
  33. temporal_flowrensic/_gen/flowrensic/v1/services_connect.py +3621 -0
  34. temporal_flowrensic/_gen/flowrensic/v1/services_pb2.py +60 -0
  35. temporal_flowrensic/_gen/flowrensic/v1/services_pb2.pyi +20 -0
  36. temporal_flowrensic/_gen/flowrensic/v1/stored_data_pb2.py +43 -0
  37. temporal_flowrensic/_gen/flowrensic/v1/stored_data_pb2.pyi +50 -0
  38. temporal_flowrensic/_gen/flowrensic/v1/workflow_history_pb2.py +47 -0
  39. temporal_flowrensic/_gen/flowrensic/v1/workflow_history_pb2.pyi +102 -0
  40. temporal_flowrensic/_gen/flowrensic/v1/workflow_types_pb2.py +55 -0
  41. temporal_flowrensic/_gen/flowrensic/v1/workflow_types_pb2.pyi +197 -0
  42. temporal_flowrensic/_names.py +42 -0
  43. temporal_flowrensic/_queries.py +61 -0
  44. temporal_flowrensic/_replay.py +378 -0
  45. temporal_flowrensic/_sink.py +574 -0
  46. temporal_flowrensic/_telemetry.py +559 -0
  47. temporal_flowrensic/activity.py +136 -0
  48. temporal_flowrensic/client.py +166 -0
  49. temporal_flowrensic/py.typed +0 -0
  50. temporal_flowrensic/workflow.py +103 -0
  51. temporal_flowrensic_python_sdk-0.6.63.dist-info/METADATA +74 -0
  52. temporal_flowrensic_python_sdk-0.6.63.dist-info/RECORD +54 -0
  53. temporal_flowrensic_python_sdk-0.6.63.dist-info/WHEEL +4 -0
  54. temporal_flowrensic_python_sdk-0.6.63.dist-info/licenses/LICENSE +202 -0
@@ -0,0 +1,90 @@
1
+ import datetime
2
+
3
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
4
+ from google.protobuf.internal import containers as _containers
5
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import message as _message
8
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
9
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
10
+
11
+ DESCRIPTOR: _descriptor.FileDescriptor
12
+
13
+ class ClientCallOutcome(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
14
+ __slots__ = ()
15
+ CLIENT_CALL_OUTCOME_UNSPECIFIED: _ClassVar[ClientCallOutcome]
16
+ CLIENT_CALL_OUTCOME_FAILED: _ClassVar[ClientCallOutcome]
17
+ CLIENT_CALL_OUTCOME_TIMED_OUT: _ClassVar[ClientCallOutcome]
18
+ CLIENT_CALL_OUTCOME_UNSPECIFIED: ClientCallOutcome
19
+ CLIENT_CALL_OUTCOME_FAILED: ClientCallOutcome
20
+ CLIENT_CALL_OUTCOME_TIMED_OUT: ClientCallOutcome
21
+
22
+ class ClientCall(_message.Message):
23
+ __slots__ = ("namespace", "workflow_id", "run_id", "kind", "outcome", "error_type", "ended_at", "name")
24
+ NAMESPACE_FIELD_NUMBER: _ClassVar[int]
25
+ WORKFLOW_ID_FIELD_NUMBER: _ClassVar[int]
26
+ RUN_ID_FIELD_NUMBER: _ClassVar[int]
27
+ KIND_FIELD_NUMBER: _ClassVar[int]
28
+ OUTCOME_FIELD_NUMBER: _ClassVar[int]
29
+ ERROR_TYPE_FIELD_NUMBER: _ClassVar[int]
30
+ ENDED_AT_FIELD_NUMBER: _ClassVar[int]
31
+ NAME_FIELD_NUMBER: _ClassVar[int]
32
+ namespace: str
33
+ workflow_id: str
34
+ run_id: str
35
+ kind: str
36
+ outcome: ClientCallOutcome
37
+ error_type: str
38
+ ended_at: _timestamp_pb2.Timestamp
39
+ name: str
40
+ def __init__(self, namespace: _Optional[str] = ..., workflow_id: _Optional[str] = ..., run_id: _Optional[str] = ..., kind: _Optional[str] = ..., outcome: _Optional[_Union[ClientCallOutcome, str]] = ..., error_type: _Optional[str] = ..., ended_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., name: _Optional[str] = ...) -> None: ...
41
+
42
+ class IngestClientCallsRequest(_message.Message):
43
+ __slots__ = ("calls", "sender", "send_number")
44
+ CALLS_FIELD_NUMBER: _ClassVar[int]
45
+ SENDER_FIELD_NUMBER: _ClassVar[int]
46
+ SEND_NUMBER_FIELD_NUMBER: _ClassVar[int]
47
+ calls: _containers.RepeatedCompositeFieldContainer[ClientCall]
48
+ sender: str
49
+ send_number: int
50
+ def __init__(self, calls: _Optional[_Iterable[_Union[ClientCall, _Mapping]]] = ..., sender: _Optional[str] = ..., send_number: _Optional[int] = ...) -> None: ...
51
+
52
+ class IngestClientCallsResponse(_message.Message):
53
+ __slots__ = ("accepted",)
54
+ ACCEPTED_FIELD_NUMBER: _ClassVar[int]
55
+ accepted: int
56
+ def __init__(self, accepted: _Optional[int] = ...) -> None: ...
57
+
58
+ class QueryCount(_message.Message):
59
+ __slots__ = ("namespace", "env", "workflow_type", "query_name", "answered", "failed", "minute")
60
+ NAMESPACE_FIELD_NUMBER: _ClassVar[int]
61
+ ENV_FIELD_NUMBER: _ClassVar[int]
62
+ WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
63
+ QUERY_NAME_FIELD_NUMBER: _ClassVar[int]
64
+ ANSWERED_FIELD_NUMBER: _ClassVar[int]
65
+ FAILED_FIELD_NUMBER: _ClassVar[int]
66
+ MINUTE_FIELD_NUMBER: _ClassVar[int]
67
+ namespace: str
68
+ env: str
69
+ workflow_type: str
70
+ query_name: str
71
+ answered: int
72
+ failed: int
73
+ minute: _timestamp_pb2.Timestamp
74
+ def __init__(self, namespace: _Optional[str] = ..., env: _Optional[str] = ..., workflow_type: _Optional[str] = ..., query_name: _Optional[str] = ..., answered: _Optional[int] = ..., failed: _Optional[int] = ..., minute: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
75
+
76
+ class IngestQueryCountsRequest(_message.Message):
77
+ __slots__ = ("counts", "sender", "send_number")
78
+ COUNTS_FIELD_NUMBER: _ClassVar[int]
79
+ SENDER_FIELD_NUMBER: _ClassVar[int]
80
+ SEND_NUMBER_FIELD_NUMBER: _ClassVar[int]
81
+ counts: _containers.RepeatedCompositeFieldContainer[QueryCount]
82
+ sender: str
83
+ send_number: int
84
+ def __init__(self, counts: _Optional[_Iterable[_Union[QueryCount, _Mapping]]] = ..., sender: _Optional[str] = ..., send_number: _Optional[int] = ...) -> None: ...
85
+
86
+ class IngestQueryCountsResponse(_message.Message):
87
+ __slots__ = ("accepted",)
88
+ ACCEPTED_FIELD_NUMBER: _ClassVar[int]
89
+ accepted: int
90
+ def __init__(self, accepted: _Optional[int] = ...) -> None: ...
@@ -0,0 +1,52 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: flowrensic/v1/cost.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'flowrensic/v1/cost.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from temporal_flowrensic._gen.flowrensic.v1 import page_pb2 as flowrensic_dot_v1_dot_page__pb2
26
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x66lowrensic/v1/cost.proto\x12\rflowrensic.v1\x1a\x18\x66lowrensic/v1/page.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"~\n\nCostWindow\x12\x39\n\nstarted_at\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartedAt\x12\x35\n\x08\x65nded_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndedAt\"\xb2\x02\n\nCostTotals\x12,\n\x0f\x62illable_events\x18\x01 \x01(\x03H\x00R\x0e\x62illableEvents\x88\x01\x01\x12\x17\n\x04runs\x18\x02 \x01(\x03H\x01R\x04runs\x88\x01\x01\x12+\n\x0f\x61\x63tions_per_run\x18\x03 \x01(\x01H\x02R\ractionsPerRun\x88\x01\x01\x12\x1b\n\x06source\x18\x04 \x01(\tH\x03R\x06source\x88\x01\x01\x12;\n\x17history_billable_events\x18\x05 \x01(\x03H\x04R\x15historyBillableEvents\x88\x01\x01\x42\x12\n\x10_billable_eventsB\x07\n\x05_runsB\x12\n\x10_actions_per_runB\t\n\x07_sourceB\x1a\n\x18_history_billable_events\"\xa2\x01\n\x0c\x43ostCompared\x12\x33\n\x07\x63urrent\x18\x01 \x01(\x0b\x32\x19.flowrensic.v1.CostTotalsR\x07\x63urrent\x12\x35\n\x08previous\x18\x02 \x01(\x0b\x32\x19.flowrensic.v1.CostTotalsR\x08previous\x12\x1b\n\x06\x63hange\x18\x03 \x01(\x03H\x00R\x06\x63hange\x88\x01\x01\x42\t\n\x07_change\"\x8a\x02\n\x13\x43ostWorkflowTypeRow\x12#\n\rworkflow_type\x18\x01 \x01(\tR\x0cworkflowType\x12\x33\n\x07\x63urrent\x18\x02 \x01(\x0b\x32\x19.flowrensic.v1.CostTotalsR\x07\x63urrent\x12\x35\n\x08previous\x18\x03 \x01(\x0b\x32\x19.flowrensic.v1.CostTotalsR\x08previous\x12\x1b\n\x06\x63hange\x18\x04 \x01(\x03H\x00R\x06\x63hange\x88\x01\x01\x12(\n\rcloud_differs\x18\x05 \x01(\x08H\x01R\x0c\x63loudDiffers\x88\x01\x01\x42\t\n\x07_changeB\x10\n\x0e_cloud_differs\"\xc5\x01\n\x10\x43ostTaskQueueRow\x12\x1d\n\ntask_queue\x18\x01 \x01(\tR\ttaskQueue\x12\x33\n\x07\x63urrent\x18\x02 \x01(\x0b\x32\x19.flowrensic.v1.CostTotalsR\x07\x63urrent\x12\x35\n\x08previous\x18\x03 \x01(\x0b\x32\x19.flowrensic.v1.CostTotalsR\x08previous\x12\x1b\n\x06\x63hange\x18\x04 \x01(\x03H\x00R\x06\x63hange\x88\x01\x01\x42\t\n\x07_change\"\x8a\x01\n\x10\x43ostEventTypeRow\x12\x1d\n\nevent_type\x18\x01 \x01(\tR\teventType\x12\x1d\n\x07\x63urrent\x18\x02 \x01(\x03H\x00R\x07\x63urrent\x88\x01\x01\x12\x1f\n\x08previous\x18\x03 \x01(\x03H\x01R\x08previous\x88\x01\x01\x42\n\n\x08_currentB\x0b\n\t_previous\"i\n\x14\x43ostBreakdownRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12.\n\x04page\x18\x02 \x01(\x0b\x32\x1a.flowrensic.v1.PageRequestR\x04page\"\x83\x04\n\x15\x43ostBreakdownResponse\x12\x31\n\x06window\x18\x01 \x01(\x0b\x32\x19.flowrensic.v1.CostWindowR\x06window\x12\x42\n\x0fprevious_window\x18\x02 \x01(\x0b\x32\x19.flowrensic.v1.CostWindowR\x0epreviousWindow\x12\x31\n\x05total\x18\x03 \x01(\x0b\x32\x1b.flowrensic.v1.CostComparedR\x05total\x12L\n\x10\x62y_workflow_type\x18\x04 \x03(\x0b\x32\".flowrensic.v1.CostWorkflowTypeRowR\x0e\x62yWorkflowType\x12\x43\n\rby_task_queue\x18\x05 \x03(\x0b\x32\x1f.flowrensic.v1.CostTaskQueueRowR\x0b\x62yTaskQueue\x12\x43\n\rby_event_type\x18\x06 \x03(\x0b\x32\x1f.flowrensic.v1.CostEventTypeRowR\x0b\x62yEventType\x12&\n\x0cskipped_runs\x18\x07 \x01(\x03H\x00R\x0bskippedRuns\x88\x01\x01\x12/\n\x04page\x18\x08 \x01(\x0b\x32\x1b.flowrensic.v1.PageResponseR\x04pageB\x0f\n\r_skipped_runsb\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flowrensic.v1.cost_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ DESCRIPTOR._loaded_options = None
36
+ _globals['_COSTWINDOW']._serialized_start=102
37
+ _globals['_COSTWINDOW']._serialized_end=228
38
+ _globals['_COSTTOTALS']._serialized_start=231
39
+ _globals['_COSTTOTALS']._serialized_end=537
40
+ _globals['_COSTCOMPARED']._serialized_start=540
41
+ _globals['_COSTCOMPARED']._serialized_end=702
42
+ _globals['_COSTWORKFLOWTYPEROW']._serialized_start=705
43
+ _globals['_COSTWORKFLOWTYPEROW']._serialized_end=971
44
+ _globals['_COSTTASKQUEUEROW']._serialized_start=974
45
+ _globals['_COSTTASKQUEUEROW']._serialized_end=1171
46
+ _globals['_COSTEVENTTYPEROW']._serialized_start=1174
47
+ _globals['_COSTEVENTTYPEROW']._serialized_end=1312
48
+ _globals['_COSTBREAKDOWNREQUEST']._serialized_start=1314
49
+ _globals['_COSTBREAKDOWNREQUEST']._serialized_end=1419
50
+ _globals['_COSTBREAKDOWNRESPONSE']._serialized_start=1422
51
+ _globals['_COSTBREAKDOWNRESPONSE']._serialized_end=1937
52
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,107 @@
1
+ import datetime
2
+
3
+ from temporal_flowrensic._gen.flowrensic.v1 import page_pb2 as _page_pb2
4
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
5
+ from google.protobuf.internal import containers as _containers
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import message as _message
8
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
9
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
10
+
11
+ DESCRIPTOR: _descriptor.FileDescriptor
12
+
13
+ class CostWindow(_message.Message):
14
+ __slots__ = ("started_at", "ended_at")
15
+ STARTED_AT_FIELD_NUMBER: _ClassVar[int]
16
+ ENDED_AT_FIELD_NUMBER: _ClassVar[int]
17
+ started_at: _timestamp_pb2.Timestamp
18
+ ended_at: _timestamp_pb2.Timestamp
19
+ def __init__(self, started_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., ended_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
20
+
21
+ class CostTotals(_message.Message):
22
+ __slots__ = ("billable_events", "runs", "actions_per_run", "source", "history_billable_events")
23
+ BILLABLE_EVENTS_FIELD_NUMBER: _ClassVar[int]
24
+ RUNS_FIELD_NUMBER: _ClassVar[int]
25
+ ACTIONS_PER_RUN_FIELD_NUMBER: _ClassVar[int]
26
+ SOURCE_FIELD_NUMBER: _ClassVar[int]
27
+ HISTORY_BILLABLE_EVENTS_FIELD_NUMBER: _ClassVar[int]
28
+ billable_events: int
29
+ runs: int
30
+ actions_per_run: float
31
+ source: str
32
+ history_billable_events: int
33
+ def __init__(self, billable_events: _Optional[int] = ..., runs: _Optional[int] = ..., actions_per_run: _Optional[float] = ..., source: _Optional[str] = ..., history_billable_events: _Optional[int] = ...) -> None: ...
34
+
35
+ class CostCompared(_message.Message):
36
+ __slots__ = ("current", "previous", "change")
37
+ CURRENT_FIELD_NUMBER: _ClassVar[int]
38
+ PREVIOUS_FIELD_NUMBER: _ClassVar[int]
39
+ CHANGE_FIELD_NUMBER: _ClassVar[int]
40
+ current: CostTotals
41
+ previous: CostTotals
42
+ change: int
43
+ def __init__(self, current: _Optional[_Union[CostTotals, _Mapping]] = ..., previous: _Optional[_Union[CostTotals, _Mapping]] = ..., change: _Optional[int] = ...) -> None: ...
44
+
45
+ class CostWorkflowTypeRow(_message.Message):
46
+ __slots__ = ("workflow_type", "current", "previous", "change", "cloud_differs")
47
+ WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
48
+ CURRENT_FIELD_NUMBER: _ClassVar[int]
49
+ PREVIOUS_FIELD_NUMBER: _ClassVar[int]
50
+ CHANGE_FIELD_NUMBER: _ClassVar[int]
51
+ CLOUD_DIFFERS_FIELD_NUMBER: _ClassVar[int]
52
+ workflow_type: str
53
+ current: CostTotals
54
+ previous: CostTotals
55
+ change: int
56
+ cloud_differs: bool
57
+ def __init__(self, workflow_type: _Optional[str] = ..., current: _Optional[_Union[CostTotals, _Mapping]] = ..., previous: _Optional[_Union[CostTotals, _Mapping]] = ..., change: _Optional[int] = ..., cloud_differs: bool = ...) -> None: ...
58
+
59
+ class CostTaskQueueRow(_message.Message):
60
+ __slots__ = ("task_queue", "current", "previous", "change")
61
+ TASK_QUEUE_FIELD_NUMBER: _ClassVar[int]
62
+ CURRENT_FIELD_NUMBER: _ClassVar[int]
63
+ PREVIOUS_FIELD_NUMBER: _ClassVar[int]
64
+ CHANGE_FIELD_NUMBER: _ClassVar[int]
65
+ task_queue: str
66
+ current: CostTotals
67
+ previous: CostTotals
68
+ change: int
69
+ def __init__(self, task_queue: _Optional[str] = ..., current: _Optional[_Union[CostTotals, _Mapping]] = ..., previous: _Optional[_Union[CostTotals, _Mapping]] = ..., change: _Optional[int] = ...) -> None: ...
70
+
71
+ class CostEventTypeRow(_message.Message):
72
+ __slots__ = ("event_type", "current", "previous")
73
+ EVENT_TYPE_FIELD_NUMBER: _ClassVar[int]
74
+ CURRENT_FIELD_NUMBER: _ClassVar[int]
75
+ PREVIOUS_FIELD_NUMBER: _ClassVar[int]
76
+ event_type: str
77
+ current: int
78
+ previous: int
79
+ def __init__(self, event_type: _Optional[str] = ..., current: _Optional[int] = ..., previous: _Optional[int] = ...) -> None: ...
80
+
81
+ class CostBreakdownRequest(_message.Message):
82
+ __slots__ = ("namespace_id", "page")
83
+ NAMESPACE_ID_FIELD_NUMBER: _ClassVar[int]
84
+ PAGE_FIELD_NUMBER: _ClassVar[int]
85
+ namespace_id: str
86
+ page: _page_pb2.PageRequest
87
+ def __init__(self, namespace_id: _Optional[str] = ..., page: _Optional[_Union[_page_pb2.PageRequest, _Mapping]] = ...) -> None: ...
88
+
89
+ class CostBreakdownResponse(_message.Message):
90
+ __slots__ = ("window", "previous_window", "total", "by_workflow_type", "by_task_queue", "by_event_type", "skipped_runs", "page")
91
+ WINDOW_FIELD_NUMBER: _ClassVar[int]
92
+ PREVIOUS_WINDOW_FIELD_NUMBER: _ClassVar[int]
93
+ TOTAL_FIELD_NUMBER: _ClassVar[int]
94
+ BY_WORKFLOW_TYPE_FIELD_NUMBER: _ClassVar[int]
95
+ BY_TASK_QUEUE_FIELD_NUMBER: _ClassVar[int]
96
+ BY_EVENT_TYPE_FIELD_NUMBER: _ClassVar[int]
97
+ SKIPPED_RUNS_FIELD_NUMBER: _ClassVar[int]
98
+ PAGE_FIELD_NUMBER: _ClassVar[int]
99
+ window: CostWindow
100
+ previous_window: CostWindow
101
+ total: CostCompared
102
+ by_workflow_type: _containers.RepeatedCompositeFieldContainer[CostWorkflowTypeRow]
103
+ by_task_queue: _containers.RepeatedCompositeFieldContainer[CostTaskQueueRow]
104
+ by_event_type: _containers.RepeatedCompositeFieldContainer[CostEventTypeRow]
105
+ skipped_runs: int
106
+ page: _page_pb2.PageResponse
107
+ def __init__(self, window: _Optional[_Union[CostWindow, _Mapping]] = ..., previous_window: _Optional[_Union[CostWindow, _Mapping]] = ..., total: _Optional[_Union[CostCompared, _Mapping]] = ..., by_workflow_type: _Optional[_Iterable[_Union[CostWorkflowTypeRow, _Mapping]]] = ..., by_task_queue: _Optional[_Iterable[_Union[CostTaskQueueRow, _Mapping]]] = ..., by_event_type: _Optional[_Iterable[_Union[CostEventTypeRow, _Mapping]]] = ..., skipped_runs: _Optional[int] = ..., page: _Optional[_Union[_page_pb2.PageResponse, _Mapping]] = ...) -> None: ...
@@ -0,0 +1,51 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: flowrensic/v1/deploy.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'flowrensic/v1/deploy.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x66lowrensic/v1/deploy.proto\x12\rflowrensic.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"]\n\nStageWrite\x12\x14\n\x05stage\x18\x01 \x01(\tR\x05stage\x12\x39\n\nwritten_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\twrittenAt\"\xc6\x03\n\nDeployment\x12\x1b\n\tdeploy_id\x18\x01 \x01(\tR\x08\x64\x65ployId\x12\x10\n\x03\x65nv\x18\x02 \x01(\tR\x03\x65nv\x12\x14\n\x05stage\x18\x03 \x01(\tR\x05stage\x12\'\n\x0f\x64\x65\x63lared_stages\x18\x04 \x03(\tR\x0e\x64\x65\x63laredStages\x12.\n\x13rolling_out_version\x18\x05 \x01(\tR\x11rollingOutVersion\x12\x18\n\x07outcome\x18\x06 \x01(\tR\x07outcome\x12\x1c\n\tabandoned\x18\x07 \x01(\x08R\tabandoned\x12\x39\n\nstarted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartedAt\x12\x31\n\x06writes\x18\t \x03(\x0b\x32\x19.flowrensic.v1.StageWriteR\x06writes\x12\x46\n\x11overlap_opened_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0foverlapOpenedAt\x12,\n\x12longest_overlap_ms\x18\x0b \x01(\x03R\x10longestOverlapMs\"\x8e\x02\n\x18IngestDeployStageRequest\x12\x1b\n\tdeploy_id\x18\x01 \x01(\tR\x08\x64\x65ployId\x12\x14\n\x05stage\x18\x03 \x01(\tR\x05stage\x12\'\n\x0f\x64\x65\x63lared_stages\x18\x04 \x03(\tR\x0e\x64\x65\x63laredStages\x12.\n\x13rolling_out_version\x18\x05 \x01(\tR\x11rollingOutVersion\x12\x18\n\x07outcome\x18\x06 \x01(\tR\x07outcome\x12\x39\n\nwritten_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\twrittenAtJ\x04\x08\x02\x10\x03R\x0b\x63urrent_env\"\x1b\n\x19IngestDeployStageResponse\"3\n\x14GetDeploymentRequest\x12\x1b\n\tdeploy_id\x18\x01 \x01(\tR\x08\x64\x65ployId\"R\n\x15GetDeploymentResponse\x12\x39\n\ndeployment\x18\x01 \x01(\x0b\x32\x19.flowrensic.v1.DeploymentR\ndeployment\".\n\x1a\x44\x65ployAttemptCountsRequest\x12\x10\n\x03\x65nv\x18\x01 \x01(\tR\x03\x65nv\"c\n\x1b\x44\x65ployAttemptCountsResponse\x12\x16\n\x06normal\x18\x01 \x01(\x05R\x06normal\x12\x18\n\x07rollout\x18\x02 \x01(\x05R\x07rollout\x12\x12\n\x04test\x18\x03 \x01(\x05R\x04testb\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flowrensic.v1.deploy_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ DESCRIPTOR._loaded_options = None
35
+ _globals['_STAGEWRITE']._serialized_start=78
36
+ _globals['_STAGEWRITE']._serialized_end=171
37
+ _globals['_DEPLOYMENT']._serialized_start=174
38
+ _globals['_DEPLOYMENT']._serialized_end=628
39
+ _globals['_INGESTDEPLOYSTAGEREQUEST']._serialized_start=631
40
+ _globals['_INGESTDEPLOYSTAGEREQUEST']._serialized_end=901
41
+ _globals['_INGESTDEPLOYSTAGERESPONSE']._serialized_start=903
42
+ _globals['_INGESTDEPLOYSTAGERESPONSE']._serialized_end=930
43
+ _globals['_GETDEPLOYMENTREQUEST']._serialized_start=932
44
+ _globals['_GETDEPLOYMENTREQUEST']._serialized_end=983
45
+ _globals['_GETDEPLOYMENTRESPONSE']._serialized_start=985
46
+ _globals['_GETDEPLOYMENTRESPONSE']._serialized_end=1067
47
+ _globals['_DEPLOYATTEMPTCOUNTSREQUEST']._serialized_start=1069
48
+ _globals['_DEPLOYATTEMPTCOUNTSREQUEST']._serialized_end=1115
49
+ _globals['_DEPLOYATTEMPTCOUNTSRESPONSE']._serialized_start=1117
50
+ _globals['_DEPLOYATTEMPTCOUNTSRESPONSE']._serialized_end=1216
51
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,92 @@
1
+ import datetime
2
+
3
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
4
+ from google.protobuf.internal import containers as _containers
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import message as _message
7
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
8
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
9
+
10
+ DESCRIPTOR: _descriptor.FileDescriptor
11
+
12
+ class StageWrite(_message.Message):
13
+ __slots__ = ("stage", "written_at")
14
+ STAGE_FIELD_NUMBER: _ClassVar[int]
15
+ WRITTEN_AT_FIELD_NUMBER: _ClassVar[int]
16
+ stage: str
17
+ written_at: _timestamp_pb2.Timestamp
18
+ def __init__(self, stage: _Optional[str] = ..., written_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
19
+
20
+ class Deployment(_message.Message):
21
+ __slots__ = ("deploy_id", "env", "stage", "declared_stages", "rolling_out_version", "outcome", "abandoned", "started_at", "writes", "overlap_opened_at", "longest_overlap_ms")
22
+ DEPLOY_ID_FIELD_NUMBER: _ClassVar[int]
23
+ ENV_FIELD_NUMBER: _ClassVar[int]
24
+ STAGE_FIELD_NUMBER: _ClassVar[int]
25
+ DECLARED_STAGES_FIELD_NUMBER: _ClassVar[int]
26
+ ROLLING_OUT_VERSION_FIELD_NUMBER: _ClassVar[int]
27
+ OUTCOME_FIELD_NUMBER: _ClassVar[int]
28
+ ABANDONED_FIELD_NUMBER: _ClassVar[int]
29
+ STARTED_AT_FIELD_NUMBER: _ClassVar[int]
30
+ WRITES_FIELD_NUMBER: _ClassVar[int]
31
+ OVERLAP_OPENED_AT_FIELD_NUMBER: _ClassVar[int]
32
+ LONGEST_OVERLAP_MS_FIELD_NUMBER: _ClassVar[int]
33
+ deploy_id: str
34
+ env: str
35
+ stage: str
36
+ declared_stages: _containers.RepeatedScalarFieldContainer[str]
37
+ rolling_out_version: str
38
+ outcome: str
39
+ abandoned: bool
40
+ started_at: _timestamp_pb2.Timestamp
41
+ writes: _containers.RepeatedCompositeFieldContainer[StageWrite]
42
+ overlap_opened_at: _timestamp_pb2.Timestamp
43
+ longest_overlap_ms: int
44
+ def __init__(self, deploy_id: _Optional[str] = ..., env: _Optional[str] = ..., stage: _Optional[str] = ..., declared_stages: _Optional[_Iterable[str]] = ..., rolling_out_version: _Optional[str] = ..., outcome: _Optional[str] = ..., abandoned: bool = ..., started_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., writes: _Optional[_Iterable[_Union[StageWrite, _Mapping]]] = ..., overlap_opened_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., longest_overlap_ms: _Optional[int] = ...) -> None: ...
45
+
46
+ class IngestDeployStageRequest(_message.Message):
47
+ __slots__ = ("deploy_id", "stage", "declared_stages", "rolling_out_version", "outcome", "written_at")
48
+ DEPLOY_ID_FIELD_NUMBER: _ClassVar[int]
49
+ STAGE_FIELD_NUMBER: _ClassVar[int]
50
+ DECLARED_STAGES_FIELD_NUMBER: _ClassVar[int]
51
+ ROLLING_OUT_VERSION_FIELD_NUMBER: _ClassVar[int]
52
+ OUTCOME_FIELD_NUMBER: _ClassVar[int]
53
+ WRITTEN_AT_FIELD_NUMBER: _ClassVar[int]
54
+ deploy_id: str
55
+ stage: str
56
+ declared_stages: _containers.RepeatedScalarFieldContainer[str]
57
+ rolling_out_version: str
58
+ outcome: str
59
+ written_at: _timestamp_pb2.Timestamp
60
+ def __init__(self, deploy_id: _Optional[str] = ..., stage: _Optional[str] = ..., declared_stages: _Optional[_Iterable[str]] = ..., rolling_out_version: _Optional[str] = ..., outcome: _Optional[str] = ..., written_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
61
+
62
+ class IngestDeployStageResponse(_message.Message):
63
+ __slots__ = ()
64
+ def __init__(self) -> None: ...
65
+
66
+ class GetDeploymentRequest(_message.Message):
67
+ __slots__ = ("deploy_id",)
68
+ DEPLOY_ID_FIELD_NUMBER: _ClassVar[int]
69
+ deploy_id: str
70
+ def __init__(self, deploy_id: _Optional[str] = ...) -> None: ...
71
+
72
+ class GetDeploymentResponse(_message.Message):
73
+ __slots__ = ("deployment",)
74
+ DEPLOYMENT_FIELD_NUMBER: _ClassVar[int]
75
+ deployment: Deployment
76
+ def __init__(self, deployment: _Optional[_Union[Deployment, _Mapping]] = ...) -> None: ...
77
+
78
+ class DeployAttemptCountsRequest(_message.Message):
79
+ __slots__ = ("env",)
80
+ ENV_FIELD_NUMBER: _ClassVar[int]
81
+ env: str
82
+ def __init__(self, env: _Optional[str] = ...) -> None: ...
83
+
84
+ class DeployAttemptCountsResponse(_message.Message):
85
+ __slots__ = ("normal", "rollout", "test")
86
+ NORMAL_FIELD_NUMBER: _ClassVar[int]
87
+ ROLLOUT_FIELD_NUMBER: _ClassVar[int]
88
+ TEST_FIELD_NUMBER: _ClassVar[int]
89
+ normal: int
90
+ rollout: int
91
+ test: int
92
+ def __init__(self, normal: _Optional[int] = ..., rollout: _Optional[int] = ..., test: _Optional[int] = ...) -> None: ...
@@ -0,0 +1,107 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: flowrensic/v1/ephemeral_run.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'flowrensic/v1/ephemeral_run.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from temporal_flowrensic._gen.flowrensic.v1 import page_pb2 as flowrensic_dot_v1_dot_page__pb2
26
+ from temporal_flowrensic._gen.flowrensic.v1 import replay_pb2 as flowrensic_dot_v1_dot_replay__pb2
27
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
28
+
29
+
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!flowrensic/v1/ephemeral_run.proto\x12\rflowrensic.v1\x1a\x18\x66lowrensic/v1/page.proto\x1a\x1a\x66lowrensic/v1/replay.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xce\x01\n\x0c\x45phemeralRun\x12\x10\n\x03\x65nv\x18\x01 \x01(\tR\x03\x65nv\x12#\n\rephemeral_run\x18\x02 \x01(\tR\x0c\x65phemeralRun\x12\x18\n\x07samples\x18\x03 \x01(\x05R\x07samples\x12#\n\rhandover_done\x18\x04 \x01(\x08R\x0chandoverDone\x12\x16\n\x06marked\x18\x05 \x01(\x08R\x06marked\x12\x10\n\x03gap\x18\x06 \x01(\x08R\x03gap\x12\x1e\n\nincomplete\x18\x07 \x01(\x08R\nincomplete\"\xd3\x02\n\x12\x45phemeralRunMetric\x12\x10\n\x03\x65nv\x18\x01 \x01(\tR\x03\x65nv\x12#\n\rephemeral_run\x18\x02 \x01(\tR\x0c\x65phemeralRun\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x45\n\x06labels\x18\x04 \x03(\x0b\x32-.flowrensic.v1.EphemeralRunMetric.LabelsEntryR\x06labels\x12\x14\n\x05value\x18\x05 \x01(\x01R\x05value\x12\x39\n\nscraped_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tscrapedAt\x12\x1f\n\x0bmetric_type\x18\x07 \x01(\tR\nmetricType\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xe4\x02\n\x0cWorkerMetric\x12\x10\n\x03\x65nv\x18\x01 \x01(\tR\x03\x65nv\x12#\n\rephemeral_run\x18\x02 \x01(\tR\x0c\x65phemeralRun\x12\x1b\n\tworker_id\x18\x03 \x01(\tR\x08workerId\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12?\n\x06labels\x18\x05 \x03(\x0b\x32\'.flowrensic.v1.WorkerMetric.LabelsEntryR\x06labels\x12\x14\n\x05value\x18\x06 \x01(\x01R\x05value\x12\x39\n\nscraped_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tscrapedAt\x12\x1f\n\x0bmetric_type\x18\x08 \x01(\tR\nmetricType\x1a\x39\n\x0bLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\x89\x01\n\x1aIngestWorkerMetricsRequest\x12\x1b\n\tworker_id\x18\x03 \x01(\tR\x08workerId\x12\x1e\n\nexposition\x18\x04 \x01(\tR\nexpositionJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0b\x63urrent_envR\x15\x63urrent_ephemeral_run\"9\n\x1bIngestWorkerMetricsResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x05R\x08\x61\x63\x63\x65pted\"\x9e\x01\n\x14WorkerMetricsRequest\x12\x10\n\x03\x65nv\x18\x01 \x01(\tR\x03\x65nv\x12#\n\rephemeral_run\x18\x02 \x01(\tR\x0c\x65phemeralRun\x12\x1f\n\x0bname_prefix\x18\x03 \x01(\tR\nnamePrefix\x12.\n\x04page\x18\x04 \x01(\x0b\x32\x1a.flowrensic.v1.PageRequestR\x04page\"\x7f\n\x15WorkerMetricsResponse\x12\x35\n\x07metrics\x18\x01 \x03(\x0b\x32\x1b.flowrensic.v1.WorkerMetricR\x07metrics\x12/\n\x04page\x18\x02 \x01(\x0b\x32\x1b.flowrensic.v1.PageResponseR\x04page\"\x88\x02\n\x1c\x45phemeralRunHandshakeRequest\x12\'\n\x0fmetrics_address\x18\x03 \x01(\tR\x0emetricsAddress\x12\x1b\n\tworker_id\x18\x04 \x01(\tR\x08workerId\x12\x18\n\x07version\x18\x05 \x01(\tR\x07version\x12X\n\x15workflow_interceptors\x18\x06 \x01(\x0b\x32#.flowrensic.v1.WorkflowInterceptorsR\x14workflowInterceptorsJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0b\x63urrent_envR\x15\x63urrent_ephemeral_run\"\xbb\x01\n\x1d\x45phemeralRunHandshakeResponse\x12\x18\n\x07\x66orward\x18\x01 \x01(\x08R\x07\x66orward\x12)\n\x10interval_seconds\x18\x02 \x01(\x05R\x0fintervalSeconds\x12%\n\x0eskip_histories\x18\x03 \x01(\x08R\rskipHistories\x12.\n\x13\x65ngine_metric_names\x18\x04 \x03(\tR\x11\x65ngineMetricNames\"\x8f\x01\n IngestEphemeralRunMetricsRequest\x12\x1e\n\nexposition\x18\x03 \x01(\tR\nexposition\x12\x1b\n\tworker_id\x18\x04 \x01(\tR\x08workerIdJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0b\x63urrent_envR\x15\x63urrent_ephemeral_run\"?\n!IngestEphemeralRunMetricsResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x05R\x08\x61\x63\x63\x65pted\"\xaf\x02\n\x1aIngestEngineHistoryRequest\x12\x15\n\x06run_id\x18\x03 \x01(\tR\x05runId\x12\x10\n\x03raw\x18\x04 \x01(\x0cR\x03raw\x12\x18\n\x07history\x18\x05 \x01(\x0cR\x07history\x12\x1c\n\tnamespace\x18\x06 \x01(\tR\tnamespace\x12\x1f\n\x0bworkflow_id\x18\x07 \x01(\tR\nworkflowId\x12!\n\x0ctask_attempt\x18\x08 \x01(\x05R\x0btaskAttempt\x12\x1b\n\tworker_id\x18\t \x01(\tR\x08workerId\x12\x1f\n\x0bworker_name\x18\n \x01(\tR\nworkerNameJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0b\x63urrent_envR\x15\x63urrent_ephemeral_run\"L\n\x1bIngestEngineHistoryResponse\x12\x15\n\x06run_id\x18\x01 \x01(\tR\x05runId\x12\x16\n\x06\x65vents\x18\x02 \x01(\x05R\x06\x65vents\"\x84\x01\n\x1b\x45phemeralRunHandoverRequest\x12\x1b\n\tworker_id\x18\x03 \x01(\tR\x08workerId\x12\x18\n\x07version\x18\x04 \x01(\tR\x07versionJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0b\x63urrent_envR\x15\x63urrent_ephemeral_run\"\x1e\n\x1c\x45phemeralRunHandoverResponse\"\xd4\x01\n\x11WorkerBeatRequest\x12\x1b\n\tworker_id\x18\x03 \x01(\tR\x08workerId\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12X\n\x15workflow_interceptors\x18\x05 \x01(\x0b\x32#.flowrensic.v1.WorkflowInterceptorsR\x14workflowInterceptorsJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0b\x63urrent_envR\x15\x63urrent_ephemeral_run\"\x14\n\x12WorkerBeatResponse\"h\n\x11OldWorkersRequest\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12.\n\x04page\x18\x03 \x01(\x0b\x32\x1a.flowrensic.v1.PageRequestR\x04pageJ\x04\x08\x01\x10\x02R\x03\x65nv\"\xa0\x01\n\tOldWorker\x12\x1b\n\tworker_id\x18\x01 \x01(\tR\x08workerId\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12#\n\rephemeral_run\x18\x03 \x01(\tR\x0c\x65phemeralRun\x12\x37\n\tlast_seen\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08lastSeen\"\x8f\x01\n\x12OldWorkersResponse\x12\x14\n\x05\x63ount\x18\x01 \x01(\x05R\x05\x63ount\x12\x32\n\x07workers\x18\x02 \x03(\x0b\x32\x18.flowrensic.v1.OldWorkerR\x07workers\x12/\n\x04page\x18\x03 \x01(\x0b\x32\x1b.flowrensic.v1.PageResponseR\x04page\"\\\n\x18ListEphemeralRunsRequest\x12\x10\n\x03\x65nv\x18\x01 \x01(\tR\x03\x65nv\x12.\n\x04page\x18\x02 \x01(\x0b\x32\x1a.flowrensic.v1.PageRequestR\x04page\"\x90\x01\n\x19ListEphemeralRunsResponse\x12\x42\n\x0e\x65phemeral_runs\x18\x01 \x03(\x0b\x32\x1b.flowrensic.v1.EphemeralRunR\rephemeralRuns\x12/\n\x04page\x18\x02 \x01(\x0b\x32\x1b.flowrensic.v1.PageResponseR\x04page\"\xa4\x01\n\x1a\x45phemeralRunMetricsRequest\x12\x10\n\x03\x65nv\x18\x01 \x01(\tR\x03\x65nv\x12#\n\rephemeral_run\x18\x02 \x01(\tR\x0c\x65phemeralRun\x12\x1f\n\x0bname_prefix\x18\x03 \x01(\tR\nnamePrefix\x12.\n\x04page\x18\x04 \x01(\x0b\x32\x1a.flowrensic.v1.PageRequestR\x04page\"\x8b\x01\n\x1b\x45phemeralRunMetricsResponse\x12;\n\x07metrics\x18\x01 \x03(\x0b\x32!.flowrensic.v1.EphemeralRunMetricR\x07metrics\x12/\n\x04page\x18\x02 \x01(\x0b\x32\x1b.flowrensic.v1.PageResponseR\x04page\"\xc9\x02\n\x13\x45phemeralRunSummary\x12\x10\n\x03\x65nv\x18\x01 \x01(\tR\x03\x65nv\x12#\n\rephemeral_run\x18\x02 \x01(\tR\x0c\x65phemeralRun\x12\x39\n\nstarted_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartedAt\x12\x35\n\x08\x65nded_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndedAt\x12#\n\rreplay_result\x18\x05 \x01(\tR\x0creplayResult\x12\x18\n\x07workers\x18\x06 \x01(\x05R\x07workers\x12%\n\x0eworkflow_types\x18\x07 \x01(\x05R\rworkflowTypes\x12#\n\rhistory_files\x18\x08 \x01(\x05R\x0chistoryFiles\"d\n ListEphemeralRunSummariesRequest\x12\x10\n\x03\x65nv\x18\x01 \x01(\tR\x03\x65nv\x12.\n\x04page\x18\x02 \x01(\x0b\x32\x1a.flowrensic.v1.PageRequestR\x04page\"\xa0\x01\n!ListEphemeralRunSummariesResponse\x12\x36\n\x04runs\x18\x01 \x03(\x0b\x32\".flowrensic.v1.EphemeralRunSummaryR\x04runs\x12/\n\x04page\x18\x02 \x01(\x0b\x32\x1b.flowrensic.v1.PageResponseR\x04page\x12\x12\n\x04\x65nvs\x18\x03 \x03(\tR\x04\x65nvs\"R\n\x19\x44\x65leteEphemeralRunRequest\x12\x10\n\x03\x65nv\x18\x01 \x01(\tR\x03\x65nv\x12#\n\rephemeral_run\x18\x02 \x01(\tR\x0c\x65phemeralRun\"0\n\x1a\x44\x65leteEphemeralRunResponse\x12\x12\n\x04rows\x18\x01 \x01(\x03R\x04rows\"O\n\x1dGetEphemeralRunSummaryRequest\x12.\n\x04page\x18\x01 \x01(\x0b\x32\x1a.flowrensic.v1.PageRequestR\x04page\"\xd8\x01\n\x1eGetEphemeralRunSummaryResponse\x12\x34\n\x03run\x18\x01 \x01(\x0b\x32\".flowrensic.v1.EphemeralRunSummaryR\x03run\x12\x18\n\x07outcome\x18\x02 \x01(\tR\x07outcome\x12\x35\n\x07results\x18\x03 \x03(\x0b\x32\x1b.flowrensic.v1.ReplayResultR\x07results\x12/\n\x04page\x18\x04 \x01(\x0b\x32\x1b.flowrensic.v1.PageResponseR\x04pageb\x06proto3')
31
+
32
+ _globals = globals()
33
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'flowrensic.v1.ephemeral_run_pb2', _globals)
35
+ if not _descriptor._USE_C_DESCRIPTORS:
36
+ DESCRIPTOR._loaded_options = None
37
+ _globals['_EPHEMERALRUNMETRIC_LABELSENTRY']._loaded_options = None
38
+ _globals['_EPHEMERALRUNMETRIC_LABELSENTRY']._serialized_options = b'8\001'
39
+ _globals['_WORKERMETRIC_LABELSENTRY']._loaded_options = None
40
+ _globals['_WORKERMETRIC_LABELSENTRY']._serialized_options = b'8\001'
41
+ _globals['_EPHEMERALRUN']._serialized_start=140
42
+ _globals['_EPHEMERALRUN']._serialized_end=346
43
+ _globals['_EPHEMERALRUNMETRIC']._serialized_start=349
44
+ _globals['_EPHEMERALRUNMETRIC']._serialized_end=688
45
+ _globals['_EPHEMERALRUNMETRIC_LABELSENTRY']._serialized_start=631
46
+ _globals['_EPHEMERALRUNMETRIC_LABELSENTRY']._serialized_end=688
47
+ _globals['_WORKERMETRIC']._serialized_start=691
48
+ _globals['_WORKERMETRIC']._serialized_end=1047
49
+ _globals['_WORKERMETRIC_LABELSENTRY']._serialized_start=631
50
+ _globals['_WORKERMETRIC_LABELSENTRY']._serialized_end=688
51
+ _globals['_INGESTWORKERMETRICSREQUEST']._serialized_start=1050
52
+ _globals['_INGESTWORKERMETRICSREQUEST']._serialized_end=1187
53
+ _globals['_INGESTWORKERMETRICSRESPONSE']._serialized_start=1189
54
+ _globals['_INGESTWORKERMETRICSRESPONSE']._serialized_end=1246
55
+ _globals['_WORKERMETRICSREQUEST']._serialized_start=1249
56
+ _globals['_WORKERMETRICSREQUEST']._serialized_end=1407
57
+ _globals['_WORKERMETRICSRESPONSE']._serialized_start=1409
58
+ _globals['_WORKERMETRICSRESPONSE']._serialized_end=1536
59
+ _globals['_EPHEMERALRUNHANDSHAKEREQUEST']._serialized_start=1539
60
+ _globals['_EPHEMERALRUNHANDSHAKEREQUEST']._serialized_end=1803
61
+ _globals['_EPHEMERALRUNHANDSHAKERESPONSE']._serialized_start=1806
62
+ _globals['_EPHEMERALRUNHANDSHAKERESPONSE']._serialized_end=1993
63
+ _globals['_INGESTEPHEMERALRUNMETRICSREQUEST']._serialized_start=1996
64
+ _globals['_INGESTEPHEMERALRUNMETRICSREQUEST']._serialized_end=2139
65
+ _globals['_INGESTEPHEMERALRUNMETRICSRESPONSE']._serialized_start=2141
66
+ _globals['_INGESTEPHEMERALRUNMETRICSRESPONSE']._serialized_end=2204
67
+ _globals['_INGESTENGINEHISTORYREQUEST']._serialized_start=2207
68
+ _globals['_INGESTENGINEHISTORYREQUEST']._serialized_end=2510
69
+ _globals['_INGESTENGINEHISTORYRESPONSE']._serialized_start=2512
70
+ _globals['_INGESTENGINEHISTORYRESPONSE']._serialized_end=2588
71
+ _globals['_EPHEMERALRUNHANDOVERREQUEST']._serialized_start=2591
72
+ _globals['_EPHEMERALRUNHANDOVERREQUEST']._serialized_end=2723
73
+ _globals['_EPHEMERALRUNHANDOVERRESPONSE']._serialized_start=2725
74
+ _globals['_EPHEMERALRUNHANDOVERRESPONSE']._serialized_end=2755
75
+ _globals['_WORKERBEATREQUEST']._serialized_start=2758
76
+ _globals['_WORKERBEATREQUEST']._serialized_end=2970
77
+ _globals['_WORKERBEATRESPONSE']._serialized_start=2972
78
+ _globals['_WORKERBEATRESPONSE']._serialized_end=2992
79
+ _globals['_OLDWORKERSREQUEST']._serialized_start=2994
80
+ _globals['_OLDWORKERSREQUEST']._serialized_end=3098
81
+ _globals['_OLDWORKER']._serialized_start=3101
82
+ _globals['_OLDWORKER']._serialized_end=3261
83
+ _globals['_OLDWORKERSRESPONSE']._serialized_start=3264
84
+ _globals['_OLDWORKERSRESPONSE']._serialized_end=3407
85
+ _globals['_LISTEPHEMERALRUNSREQUEST']._serialized_start=3409
86
+ _globals['_LISTEPHEMERALRUNSREQUEST']._serialized_end=3501
87
+ _globals['_LISTEPHEMERALRUNSRESPONSE']._serialized_start=3504
88
+ _globals['_LISTEPHEMERALRUNSRESPONSE']._serialized_end=3648
89
+ _globals['_EPHEMERALRUNMETRICSREQUEST']._serialized_start=3651
90
+ _globals['_EPHEMERALRUNMETRICSREQUEST']._serialized_end=3815
91
+ _globals['_EPHEMERALRUNMETRICSRESPONSE']._serialized_start=3818
92
+ _globals['_EPHEMERALRUNMETRICSRESPONSE']._serialized_end=3957
93
+ _globals['_EPHEMERALRUNSUMMARY']._serialized_start=3960
94
+ _globals['_EPHEMERALRUNSUMMARY']._serialized_end=4289
95
+ _globals['_LISTEPHEMERALRUNSUMMARIESREQUEST']._serialized_start=4291
96
+ _globals['_LISTEPHEMERALRUNSUMMARIESREQUEST']._serialized_end=4391
97
+ _globals['_LISTEPHEMERALRUNSUMMARIESRESPONSE']._serialized_start=4394
98
+ _globals['_LISTEPHEMERALRUNSUMMARIESRESPONSE']._serialized_end=4554
99
+ _globals['_DELETEEPHEMERALRUNREQUEST']._serialized_start=4556
100
+ _globals['_DELETEEPHEMERALRUNREQUEST']._serialized_end=4638
101
+ _globals['_DELETEEPHEMERALRUNRESPONSE']._serialized_start=4640
102
+ _globals['_DELETEEPHEMERALRUNRESPONSE']._serialized_end=4688
103
+ _globals['_GETEPHEMERALRUNSUMMARYREQUEST']._serialized_start=4690
104
+ _globals['_GETEPHEMERALRUNSUMMARYREQUEST']._serialized_end=4769
105
+ _globals['_GETEPHEMERALRUNSUMMARYRESPONSE']._serialized_start=4772
106
+ _globals['_GETEPHEMERALRUNSUMMARYRESPONSE']._serialized_end=4988
107
+ # @@protoc_insertion_point(module_scope)