Commit 8b56882 1 parent a9e1036 commit 8b56882 Copy full SHA for 8b56882
File tree 7 files changed +32
-23
lines changed
7 files changed +32
-23
lines changed Original file line number Diff line number Diff line change
1
+
2
+
3
+ This repository contains a collection of tools for Iris maintainers
4
+ to make it easier to manage Iris. Currently it includes tools for:
5
+
6
+ - Publishing Iris data
7
+ - Scanning container logs
8
+ - Updating ` iris-agent ` containers without having to recreate them
9
+
10
+ Note that some of these tools, which interact directly with the
11
+ Iris containers running on the Iris server, must be executed on the
12
+ Iris server itself.
13
+
14
+ Also, the tool for updating ` iris-agent ` containers requires ` gcloud ` .
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- This directory contains files that may take a long time to generate,
2
- but all contents can and should be regenerated to meet your desired
3
- criteria.
1
+ This directory serves as a cache directory for files that can take
2
+ a long time to generate.
4
3
5
- You can use the contents here for quick reference.
4
+ You can use the cached files here for quick reference but all of
5
+ these files can and should be regenerated to meet your desired
6
+ criteria.
Original file line number Diff line number Diff line change @@ -84,10 +84,10 @@ readonly CLEANED_RESULTS_TABLE_EXPORT=$(cat <<EOF
84
84
EOF
85
85
)
86
86
# Uploading.
87
- readonly GCP_PROJECT_ID=" mlab-edgenet "
88
- readonly BQ_PUBLIC_DATASET=" iris_test " # public dataset with tables in scamper1 format
89
- readonly BQ_PRIVATE_DATASET=" iris_test_2 " # private dataset to store temporary tables during conversion
90
- readonly BQ_TABLE=" elena1 " # table in scamper1 format
87
+ readonly GCP_PROJECT_ID=" "
88
+ readonly BQ_PUBLIC_DATASET=" " # public dataset with tables in scamper1 format
89
+ readonly BQ_PRIVATE_DATASET=" " # private dataset to store temporary tables during conversion
90
+ readonly BQ_TABLE=" " # table in scamper1 format
91
91
readonly SCHEMA_RESULTS_JSON=" ${toplevel} /db/schema_results.json"
92
92
readonly SCHEMA_SCAMPER1_JSON=" ${toplevel} /db/scamper1.json"
93
93
readonly TABLE_CONVERSION_QUERY=" ${toplevel} /db/iris_to_mlab.sql"
Original file line number Diff line number Diff line change 1
- This directory contains exported Iris tables from ClickHouse and
2
- serves as the staging area for uploading them to BigQuery. None
3
- of the exported tables in this directory should be added to the
4
- repo.
1
+ When publishing Iris data, this directory will contain exported
2
+ Iris tables from ClickHouse and will serve as the staging area for
3
+ uploading them to BigQuery.
4
+
5
+ None of the exported tables in this directory should be added to
6
+ the repo.
Original file line number Diff line number Diff line change 2
2
3
3
#
4
4
# This script must be executed on the Iris server, as it relies on
5
- # the `logcli`.
5
+ # the `logcli` tool .
6
6
#
7
7
# It scans container logs of $CONTAINER_NAME for a specific $PATTERN
8
- # within from $START_DATE to $END_DATE.
8
+ # from $START_DATE to $END_DATE.
9
9
#
10
10
# The time period is divided into 30-day intervals to comply with
11
11
# Loki's configuration limits (i.e., longer periods are not supported).
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ ZONES=(
37
37
main () {
38
38
for (( i= 0 ; i< ${# HOSTS[@]} ; i++ )) ; do
39
39
echo " ${HOSTS[${i}]} "
40
- gcloud compute ssh --project mlab-edgenet --zone " ${ZONES[${i}]} " " ${HOSTS[${i}]} " --command="
40
+ gcloud compute ssh --project " ${GCP_PROJECT_ID} " --zone " ${ZONES[${i}]} " " ${HOSTS[${i}]} " --command="
41
41
readonly IMAGE_NAME=\" ghcr.io/dioptra-io/iris/iris-agent:production\"
42
42
readonly CONTAINER_NAME=\" iris-agent\"
43
43
You can’t perform that action at this time.
0 commit comments