Merge pull request #529 from bugout-dev/fix-keys

Fix keys
pull/519/head
Andrei-Dolgolev 2022-01-19 15:27:36 +02:00 zatwierdzone przez GitHub
commit 5fce3a8d27
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -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(

Wyświetl plik

@ -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}
/>