Skip to content

Commit

Permalink
Merge pull request #997 from pokt-foundation/feat-add-loki-to-staging
Browse files Browse the repository at this point in the history
feat: Loki integration develop sync
  • Loading branch information
crisog authored Nov 28, 2022
2 parents 5ea1d70 + 0c7fcd0 commit 430af70
Show file tree
Hide file tree
Showing 23 changed files with 78 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/canary-ap-northeast-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/canary-ca-central-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/canary-eu-central-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/canary-us-west-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-ap-east-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-ap-northeast-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-ap-northeast-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-ap-south-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-ap-southeast-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-ap-southeast-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-ca-central-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-eu-central-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-eu-north-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-eu-south-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-eu-west-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-eu-west-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-eu-west-3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-us-east-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-us-east-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-us-west-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/production-us-west-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/staging-us-west-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
envkey_ARCHIVAL_CHAINS: 0022,0028,0010,000A,000B,000C
envkey_LOG_TO_DATADOG: true
envkey_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
envkey_LOG_TO_LOKI: true
envkey_LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
envkey_LOKI_HOST: ${{ secrets.LOKI_HOST }}
envkey_ALWAYS_REDIRECT_TO_ALTRUISTS: ${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}
envkey_SILENT_LOGGING: true
envkey_LOG_CHERRY_PICKER_STATS: ${{ secrets.LOG_CHERRY_PICKER_STATS }}
Expand Down
13 changes: 12 additions & 1 deletion pocket-gateway/tasks/shared-envs.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,18 @@
"key": "DATADOG_API_KEY",
"value": "${{ secrets.DATADOG_API_KEY }}"
},

{
"key": "LOG_TO_LOKI",
"value": true
},
{
"key": "LOKI_BASIC_AUTH",
"value": "${{ secrets.LOKI_BASIC_AUTH }}"
},
{
"key": "LOKI_HOST",
"value": "${{ secrets.LOKI_HOST }}"
},
{
"key": "ALWAYS_REDIRECT_TO_ALTRUISTS",
"value": "${{ secrets.ALWAYS_REDIRECT_TO_ALTRUISTS }}"
Expand Down

0 comments on commit 430af70

Please sign in to comment.