This repository was archived by the owner on Nov 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
[Metrics][Observability] Add basic Prometheus metrics to PEAS, including /healthz and /pprof #15
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
66731d9
add basic metrics to PEAS
f760fa6
improve formatting
68bd12e
fix linter
0ab8533
add PEAS metrics dashbaord and local stack
5efe926
finalize dashboard
2f60b22
readme
e03c8f4
Partial review
Olshansk bdfc228
Code review improvements: enhance DevEx and code quality
a1c1958
fix: implement review comments
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| # ================================ | ||
| # REQUIRED ENVIRONMENT VARIABLES | ||
| # ================================ | ||
|
|
||
| # [REQUIRED]: PostgreSQL connection string for the PortalApp database used by the auth server. | ||
| # - Example: "postgresql://username:password@localhost:5432/dbname" | ||
| POSTGRES_CONNECTION_STRING= | ||
|
|
||
| # [REQUIRED]: GCP project ID for the data warehouse used by the rate limit store. | ||
| # - Example: "your-project-id" | ||
| GCP_PROJECT_ID= | ||
|
|
||
| # ================================ | ||
| # OPTIONAL ENVIRONMENT VARIABLES | ||
| # ================================ | ||
|
|
||
| # [OPTIONAL]: Port to run the external auth server on. | ||
| # - Default: 10001 if not set | ||
| PORT=10001 | ||
|
|
||
| # [OPTIONAL]: Port to run the Prometheus metrics server on. | ||
| # - Default: 9090 if not set | ||
| METRICS_PORT=9090 | ||
|
|
||
| # [OPTIONAL]: Port to run the pprof server on. | ||
| # - Default: 6060 if not set | ||
| PPROF_PORT=6060 | ||
|
|
||
| # [OPTIONAL]: Log level for the external auth server. | ||
| # - Default: "info" if not set | ||
| # - Options: "debug", "info", "warn", "error" | ||
| LOGGER_LEVEL=info | ||
|
|
||
| # [OPTIONAL]: Image tag/version for the application. | ||
| # - Default: "development" if not set | ||
| # - Used in /healthz endpoint response | ||
| IMAGE_TAG=development | ||
|
|
||
| # [OPTIONAL]: Refresh interval for the portal app store. | ||
| # - Default: 30s if not set | ||
| # - Examples: "30s", "1m", "2m30s" | ||
| PORTAL_APP_STORE_REFRESH_INTERVAL=30s | ||
|
|
||
| # [OPTIONAL]: Refresh interval for the rate limit store. | ||
| # - Default: 5m if not set | ||
| # - Examples: "30s", "1m", "2m30s" | ||
| RATE_LIMIT_STORE_REFRESH_INTERVAL=5m |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.