-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Id Generation Updated, Now Includes Snowflake (#32)
* introduced a Twitter Snowflake-like ID generator dependency * updated existing (core) ID mechanisms to allow longs and strings * bug fix; inverted conditional * allowing for Product ID to be provided or not provided (temp? demoing?) * network names shortened; was repetitive * fix; projection wasn't providing name of enum (status) * updated; draft and draft-with-id changes * fix, added; configs for Prometheus and Grafana were missing 🙃 * added; Grafana and Prometheus added to docker-compose * added; health checks for subscriptions * cleanup; carriage return * feat; moved logging to its own Infrastructure extension method (Seq) * enhance; emojis on headlines, because 😎 * 🗺️ * chore; streamlined logging of non-legacy apps * chore; legacy appsettings tweaks; constr moved to dev
- Loading branch information
1 parent
767dabf
commit 47ad16c
Showing
31 changed files
with
350 additions
and
106 deletions.
There are no files selected for viewing
This file contains 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 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 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,12 @@ | ||
{ | ||
"__inputs": [ | ||
{ | ||
"name": "ECOMM_PROMETHEUS", | ||
"label": "prometheus", | ||
"description": "Default data source", | ||
"type": "datasource", | ||
"pluginId": "prometheus", | ||
"pluginName": "Prometheus" | ||
} | ||
] | ||
} |
This file contains 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,11 @@ | ||
apiVersion: 1 | ||
|
||
datasources: | ||
- name: prometheus | ||
type: prometheus | ||
access: proxy | ||
orgId: 1 | ||
url: http://prometheus:9090 | ||
isDefault: true | ||
version: 1 | ||
editable: false |
This file contains 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,11 @@ | ||
global: | ||
scrape_interval: 5s | ||
|
||
scrape_configs: | ||
- job_name: 'prometheus' | ||
static_configs: | ||
- targets: ['localhost:9090'] | ||
- job_name: 'products' | ||
static_configs: | ||
- targets: | ||
- 'host.docker.internal:5000' |
This file contains 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 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 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 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
Oops, something went wrong.