# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proto/analytics.proto
# Protobuf Python Version: 6.31.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    6,
    31,
    1,
    '',
    'proto/analytics.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15proto/analytics.proto\x12\nmcpulse.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\"<\n\rIngestRequest\x12+\n\x07metrics\x18\x01 \x03(\x0b\x32\x1a.mcpulse.v1.ToolCallMetric\"]\n\x0eIngestResponse\x12\x10\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x05\x12\x10\n\x08rejected\x18\x02 \x01(\x05\x12\'\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x17.mcpulse.v1.IngestError\",\n\x0bIngestError\x12\r\n\x05index\x18\x01 \x01(\x05\x12\x0e\n\x06reason\x18\x02 \x01(\t\"\xf8\x02\n\x0eToolCallMetric\x12\n\n\x02id\x18\x01 \x01(\t\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tserver_id\x18\x03 \x01(\t\x12\x12\n\nsession_id\x18\x04 \x01(\t\x12\x11\n\ttool_name\x18\x05 \x01(\t\x12+\n\nparameters\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x13\n\x0b\x64uration_ms\x18\x07 \x01(\x03\x12(\n\x06status\x18\x08 \x01(\x0e\x32\x18.mcpulse.v1.MetricStatus\x12\x15\n\rerror_message\x18\t \x01(\t\x12\x12\n\nerror_type\x18\n \x01(\t\x12\x13\n\x0bresult_size\x18\x0b \x01(\x05\x12\x18\n\x10protocol_version\x18\x0c \x01(\t\x12\x13\n\x0b\x63lient_name\x18\r \x01(\t\x12\x16\n\x0e\x63lient_version\x18\x0e \x01(\t\"3\n\x12ListServersRequest\x12\r\n\x05limit\x18\x01 \x01(\x05\x12\x0e\n\x06offset\x18\x02 \x01(\x05\"j\n\x13ListServersResponse\x12\'\n\x07servers\x18\x01 \x03(\x0b\x32\x16.mcpulse.v1.ServerInfo\x12*\n\npagination\x18\x02 \x01(\x0b\x32\x16.mcpulse.v1.Pagination\"%\n\x10GetServerRequest\x12\x11\n\tserver_id\x18\x01 \x01(\t\";\n\x11GetServerResponse\x12&\n\x06server\x18\x01 \x01(\x0b\x32\x16.mcpulse.v1.ServerInfo\"\xd6\x01\n\nServerInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0f\n\x07version\x18\x04 \x01(\t\x12.\n\nfirst_seen\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tlast_seen\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x08metadata\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\"i\n\x17GetServerMetricsRequest\x12\x11\n\tserver_id\x18\x01 \x01(\t\x12)\n\ntime_range\x18\x02 \x01(\x0b\x32\x15.mcpulse.v1.TimeRange\x12\x10\n\x08interval\x18\x03 \x01(\t\"\xc0\x02\n\x18GetServerMetricsResponse\x12\x11\n\tserver_id\x18\x01 \x01(\t\x12)\n\ntime_range\x18\x02 \x01(\x0b\x32\x15.mcpulse.v1.TimeRange\x12\x13\n\x0btotal_calls\x18\x03 \x01(\x03\x12\x14\n\x0csuccess_rate\x18\x04 \x01(\x01\x12\x12\n\nerror_rate\x18\x05 \x01(\x01\x12\x16\n\x0e\x61vg_latency_ms\x18\x06 \x01(\x01\x12\x16\n\x0ep95_latency_ms\x18\x07 \x01(\x03\x12\x16\n\x0ep99_latency_ms\x18\x08 \x01(\x03\x12\x17\n\x0f\x61\x63tive_sessions\x18\t \x01(\x05\x12\x19\n\x11unique_tools_used\x18\n \x01(\x05\x12+\n\x08timeline\x18\x0b \x03(\x0b\x32\x19.mcpulse.v1.TimelinePoint\"]\n\tTimeRange\x12(\n\x04\x66rom\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12&\n\x02to\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"u\n\rTimelinePoint\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05\x63\x61lls\x18\x02 \x01(\x03\x12\x0e\n\x06\x65rrors\x18\x03 \x01(\x03\x12\x16\n\x0e\x61vg_latency_ms\x18\x04 \x01(\x01\"\x7f\n\x0fGetToolsRequest\x12\x11\n\tserver_id\x18\x01 \x01(\t\x12)\n\ntime_range\x18\x02 \x01(\x0b\x32\x15.mcpulse.v1.TimeRange\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x0e\n\x06offset\x18\x04 \x01(\x05\x12\x0f\n\x07sort_by\x18\x05 \x01(\t\"y\n\x10GetToolsResponse\x12\x11\n\tserver_id\x18\x01 \x01(\t\x12&\n\x05tools\x18\x02 \x03(\x0b\x32\x17.mcpulse.v1.ToolMetrics\x12*\n\npagination\x18\x03 \x01(\x0b\x32\x16.mcpulse.v1.Pagination\"\xb6\x02\n\x0bToolMetrics\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncall_count\x18\x02 \x01(\x03\x12\x15\n\rsuccess_count\x18\x03 \x01(\x03\x12\x13\n\x0b\x65rror_count\x18\x04 \x01(\x03\x12\x14\n\x0csuccess_rate\x18\x05 \x01(\x01\x12\x17\n\x0f\x61vg_duration_ms\x18\x06 \x01(\x01\x12\x17\n\x0fp50_duration_ms\x18\x07 \x01(\x03\x12\x17\n\x0fp95_duration_ms\x18\x08 \x01(\x03\x12\x17\n\x0fp99_duration_ms\x18\t \x01(\x03\x12/\n\x0blast_called\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nlast_error\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"{\n\x16GetToolTimelineRequest\x12\x11\n\tserver_id\x18\x01 \x01(\t\x12\x11\n\ttool_name\x18\x02 \x01(\t\x12)\n\ntime_range\x18\x03 \x01(\x0b\x32\x15.mcpulse.v1.TimeRange\x12\x10\n\x08interval\x18\x04 \x01(\t\"l\n\x17GetToolTimelineResponse\x12\x11\n\tserver_id\x18\x01 \x01(\t\x12\x11\n\ttool_name\x18\x02 \x01(\t\x12+\n\x08timeline\x18\x03 \x03(\x0b\x32\x19.mcpulse.v1.TimelinePoint\"\x82\x01\n\x10GetErrorsRequest\x12\x11\n\tserver_id\x18\x01 \x01(\t\x12)\n\ntime_range\x18\x02 \x01(\x0b\x32\x15.mcpulse.v1.TimeRange\x12\x11\n\ttool_name\x18\x03 \x01(\t\x12\r\n\x05limit\x18\x04 \x01(\x05\x12\x0e\n\x06offset\x18\x05 \x01(\x05\"y\n\x11GetErrorsResponse\x12\x11\n\tserver_id\x18\x01 \x01(\t\x12%\n\x06\x65rrors\x18\x02 \x03(\x0b\x32\x15.mcpulse.v1.ErrorInfo\x12*\n\npagination\x18\x03 \x01(\x0b\x32\x16.mcpulse.v1.Pagination\"\xda\x01\n\tErrorInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\ttool_name\x18\x03 \x01(\t\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x12\n\nerror_type\x18\x05 \x01(\t\x12\x12\n\nsession_id\x18\x06 \x01(\t\x12\x13\n\x0b\x64uration_ms\x18\x07 \x01(\x03\x12+\n\nparameters\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x85\x01\n\x12GetSessionsRequest\x12\x11\n\tserver_id\x18\x01 \x01(\t\x12(\n\x04\x66rom\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x61\x63tive_only\x18\x03 \x01(\x08\x12\r\n\x05limit\x18\x04 \x01(\x05\x12\x0e\n\x06offset\x18\x05 \x01(\x05\"\x7f\n\x13GetSessionsResponse\x12\x11\n\tserver_id\x18\x01 \x01(\t\x12)\n\x08sessions\x18\x02 \x03(\x0b\x32\x17.mcpulse.v1.SessionInfo\x12*\n\npagination\x18\x03 \x01(\x0b\x32\x16.mcpulse.v1.Pagination\"\xce\x02\n\x0bSessionInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64uration_ms\x18\x04 \x01(\x03\x12\x17\n\x0ftool_call_count\x18\x05 \x01(\x05\x12\x1d\n\x15resource_access_count\x18\x06 \x01(\x05\x12\x0e\n\x06status\x18\x07 \x01(\t\x12\x13\n\x0b\x63lient_name\x18\x08 \x01(\t\x12\x16\n\x0e\x63lient_version\x18\t \x01(\t\x12\x18\n\x10protocol_version\x18\n \x01(\t\x12\x31\n\rlast_activity\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"h\n\x13GetAnomaliesRequest\x12\x11\n\tserver_id\x18\x01 \x01(\t\x12)\n\ntime_range\x18\x02 \x01(\x0b\x32\x15.mcpulse.v1.TimeRange\x12\x13\n\x0bsensitivity\x18\x03 \x01(\t\"Q\n\x14GetAnomaliesResponse\x12\x11\n\tserver_id\x18\x01 \x01(\t\x12&\n\tanomalies\x18\x02 \x03(\x0b\x32\x13.mcpulse.v1.Anomaly\"\xc5\x01\n\x07\x41nomaly\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x11\n\ttool_name\x18\x02 \x01(\t\x12/\n\x0b\x64\x65tected_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08severity\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x16\n\x0e\x62\x61seline_value\x18\x06 \x01(\x01\x12\x15\n\rcurrent_value\x18\x07 \x01(\x01\x12\x12\n\nconfidence\x18\x08 \x01(\x01\"9\n\x14StreamMetricsRequest\x12\x11\n\tserver_id\x18\x01 \x01(\t\x12\x0e\n\x06topics\x18\x02 \x03(\t\"\x85\x01\n\x0cMetricUpdate\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x11\n\tserver_id\x18\x02 \x01(\t\x12-\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12%\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\":\n\nPagination\x12\r\n\x05total\x18\x01 \x01(\x03\x12\r\n\x05limit\x18\x02 \x01(\x05\x12\x0e\n\x06offset\x18\x03 \x01(\x05*|\n\x0cMetricStatus\x12\x1d\n\x19METRIC_STATUS_UNSPECIFIED\x10\x00\x12\x19\n\x15METRIC_STATUS_SUCCESS\x10\x01\x12\x17\n\x13METRIC_STATUS_ERROR\x10\x02\x12\x19\n\x15METRIC_STATUS_TIMEOUT\x10\x03\x32\x82\x07\n\x10\x41nalyticsService\x12\x46\n\rIngestMetrics\x12\x19.mcpulse.v1.IngestRequest\x1a\x1a.mcpulse.v1.IngestResponse\x12N\n\x13IngestMetricsStream\x12\x19.mcpulse.v1.IngestRequest\x1a\x1a.mcpulse.v1.IngestResponse(\x01\x12N\n\x0bListServers\x12\x1e.mcpulse.v1.ListServersRequest\x1a\x1f.mcpulse.v1.ListServersResponse\x12H\n\tGetServer\x12\x1c.mcpulse.v1.GetServerRequest\x1a\x1d.mcpulse.v1.GetServerResponse\x12]\n\x10GetServerMetrics\x12#.mcpulse.v1.GetServerMetricsRequest\x1a$.mcpulse.v1.GetServerMetricsResponse\x12\x45\n\x08GetTools\x12\x1b.mcpulse.v1.GetToolsRequest\x1a\x1c.mcpulse.v1.GetToolsResponse\x12Z\n\x0fGetToolTimeline\x12\".mcpulse.v1.GetToolTimelineRequest\x1a#.mcpulse.v1.GetToolTimelineResponse\x12H\n\tGetErrors\x12\x1c.mcpulse.v1.GetErrorsRequest\x1a\x1d.mcpulse.v1.GetErrorsResponse\x12N\n\x0bGetSessions\x12\x1e.mcpulse.v1.GetSessionsRequest\x1a\x1f.mcpulse.v1.GetSessionsResponse\x12Q\n\x0cGetAnomalies\x12\x1f.mcpulse.v1.GetAnomaliesRequest\x1a .mcpulse.v1.GetAnomaliesResponse\x12M\n\rStreamMetrics\x12 .mcpulse.v1.StreamMetricsRequest\x1a\x18.mcpulse.v1.MetricUpdate0\x01\x42\"Z github.com/sirrobot01/mcpulse/pbb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.analytics_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z github.com/sirrobot01/mcpulse/pb'
  _globals['_METRICSTATUS']._serialized_start=4327
  _globals['_METRICSTATUS']._serialized_end=4451
  _globals['_INGESTREQUEST']._serialized_start=100
  _globals['_INGESTREQUEST']._serialized_end=160
  _globals['_INGESTRESPONSE']._serialized_start=162
  _globals['_INGESTRESPONSE']._serialized_end=255
  _globals['_INGESTERROR']._serialized_start=257
  _globals['_INGESTERROR']._serialized_end=301
  _globals['_TOOLCALLMETRIC']._serialized_start=304
  _globals['_TOOLCALLMETRIC']._serialized_end=680
  _globals['_LISTSERVERSREQUEST']._serialized_start=682
  _globals['_LISTSERVERSREQUEST']._serialized_end=733
  _globals['_LISTSERVERSRESPONSE']._serialized_start=735
  _globals['_LISTSERVERSRESPONSE']._serialized_end=841
  _globals['_GETSERVERREQUEST']._serialized_start=843
  _globals['_GETSERVERREQUEST']._serialized_end=880
  _globals['_GETSERVERRESPONSE']._serialized_start=882
  _globals['_GETSERVERRESPONSE']._serialized_end=941
  _globals['_SERVERINFO']._serialized_start=944
  _globals['_SERVERINFO']._serialized_end=1158
  _globals['_GETSERVERMETRICSREQUEST']._serialized_start=1160
  _globals['_GETSERVERMETRICSREQUEST']._serialized_end=1265
  _globals['_GETSERVERMETRICSRESPONSE']._serialized_start=1268
  _globals['_GETSERVERMETRICSRESPONSE']._serialized_end=1588
  _globals['_TIMERANGE']._serialized_start=1590
  _globals['_TIMERANGE']._serialized_end=1683
  _globals['_TIMELINEPOINT']._serialized_start=1685
  _globals['_TIMELINEPOINT']._serialized_end=1802
  _globals['_GETTOOLSREQUEST']._serialized_start=1804
  _globals['_GETTOOLSREQUEST']._serialized_end=1931
  _globals['_GETTOOLSRESPONSE']._serialized_start=1933
  _globals['_GETTOOLSRESPONSE']._serialized_end=2054
  _globals['_TOOLMETRICS']._serialized_start=2057
  _globals['_TOOLMETRICS']._serialized_end=2367
  _globals['_GETTOOLTIMELINEREQUEST']._serialized_start=2369
  _globals['_GETTOOLTIMELINEREQUEST']._serialized_end=2492
  _globals['_GETTOOLTIMELINERESPONSE']._serialized_start=2494
  _globals['_GETTOOLTIMELINERESPONSE']._serialized_end=2602
  _globals['_GETERRORSREQUEST']._serialized_start=2605
  _globals['_GETERRORSREQUEST']._serialized_end=2735
  _globals['_GETERRORSRESPONSE']._serialized_start=2737
  _globals['_GETERRORSRESPONSE']._serialized_end=2858
  _globals['_ERRORINFO']._serialized_start=2861
  _globals['_ERRORINFO']._serialized_end=3079
  _globals['_GETSESSIONSREQUEST']._serialized_start=3082
  _globals['_GETSESSIONSREQUEST']._serialized_end=3215
  _globals['_GETSESSIONSRESPONSE']._serialized_start=3217
  _globals['_GETSESSIONSRESPONSE']._serialized_end=3344
  _globals['_SESSIONINFO']._serialized_start=3347
  _globals['_SESSIONINFO']._serialized_end=3681
  _globals['_GETANOMALIESREQUEST']._serialized_start=3683
  _globals['_GETANOMALIESREQUEST']._serialized_end=3787
  _globals['_GETANOMALIESRESPONSE']._serialized_start=3789
  _globals['_GETANOMALIESRESPONSE']._serialized_end=3870
  _globals['_ANOMALY']._serialized_start=3873
  _globals['_ANOMALY']._serialized_end=4070
  _globals['_STREAMMETRICSREQUEST']._serialized_start=4072
  _globals['_STREAMMETRICSREQUEST']._serialized_end=4129
  _globals['_METRICUPDATE']._serialized_start=4132
  _globals['_METRICUPDATE']._serialized_end=4265
  _globals['_PAGINATION']._serialized_start=4267
  _globals['_PAGINATION']._serialized_end=4325
  _globals['_ANALYTICSSERVICE']._serialized_start=4454
  _globals['_ANALYTICSSERVICE']._serialized_end=5352
# @@protoc_insertion_point(module_scope)
