kopia lustrzana https://github.com/bugout-dev/moonstream
commit
5fce3a8d27
|
@ -645,7 +645,7 @@ def stats_generate_handler(args: argparse.Namespace):
|
|||
metric_type="tx_call",
|
||||
crawler_label=crawler_label,
|
||||
)
|
||||
s3_data_object["functions"] = functions_calls_data
|
||||
s3_data_object["methods"] = functions_calls_data
|
||||
|
||||
# Generte events timeseries
|
||||
events_data = generate_data(
|
||||
|
@ -804,7 +804,7 @@ def stats_generate_api_task(
|
|||
metric_type="tx_call",
|
||||
crawler_label=crawler_label,
|
||||
)
|
||||
s3_data_object["functions"] = functions_calls_data
|
||||
s3_data_object["methods"] = functions_calls_data
|
||||
|
||||
# Generate events timeseries
|
||||
events_data = generate_data(
|
||||
|
|
|
@ -190,7 +190,7 @@ const SubscriptionReport = ({
|
|||
})}
|
||||
</Flex>
|
||||
)}
|
||||
{data?.functions && methodKeys && (
|
||||
{data?.methods && methodKeys && (
|
||||
<Flex
|
||||
w="100%"
|
||||
h="auto"
|
||||
|
@ -199,7 +199,7 @@ const SubscriptionReport = ({
|
|||
direction="column"
|
||||
>
|
||||
<Heading size="md" pt={4}>
|
||||
functions
|
||||
Methods
|
||||
</Heading>
|
||||
{methodKeys.map((key) => {
|
||||
return (
|
||||
|
@ -225,7 +225,7 @@ const SubscriptionReport = ({
|
|||
{isFetching && <Spinner size="sm" m={2} />}
|
||||
</Flex>
|
||||
<Report
|
||||
data={data.functions[key]}
|
||||
data={data.methods[key]}
|
||||
metric={key}
|
||||
timeRange={timeRange}
|
||||
/>
|
||||
|
|
Ładowanie…
Reference in New Issue