-
Notifications
You must be signed in to change notification settings - Fork 0
Feature: update client statistics #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
814c8f7
update influxdb2 docker
dtpthao fe97943
add statistics
dtpthao ee384bb
Merge branch 'refs/heads/thao/update_log' into thao/statistics
dtpthao 623c4e1
Remove await from update_statistic call and run in background with to…
dtpthao 9f62eeb
Merge branch 'refs/heads/thao/update_log' into thao/statistics
dtpthao 98fb8eb
remove certs folder copy in Dockerfiles and update influxdb2 tls feat…
dtpthao 416e18d
replace enum with constants
dtpthao 2e5628a
check and update statistics for only valid requests
dtpthao 7674aec
add request correlationId and latency to logs
dtpthao b13f62d
remove log span because not working in cloud
dtpthao d61905a
remove unnecessary debug logs
dtpthao 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 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
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
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 |
|---|---|---|
|
|
@@ -11,7 +11,9 @@ pub struct FPConfig { | |
| #[serde(flatten)] | ||
| pub tls_config: TlsConfig, | ||
| #[serde(flatten)] // This flattens the HandlerConfig fields into this struct | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Interesting... |
||
| pub handler_config: HandlerConfig | ||
| pub handler_config: HandlerConfig, | ||
| #[serde(flatten)] | ||
| pub influxdb_config: InfluxDBConfig, | ||
| } | ||
|
|
||
| #[derive(Debug, Deserialize)] | ||
|
|
@@ -42,4 +44,12 @@ pub struct TlsConfig { | |
| pub ca_cert: String, | ||
| pub cert: String, | ||
| pub key: String, | ||
| } | ||
|
|
||
| #[derive(Debug, Deserialize)] | ||
| pub struct InfluxDBConfig { | ||
| pub influxdb_url: String, | ||
| pub influxdb_org: String, | ||
| pub influxdb_bucket: String, | ||
| pub influxdb_auth_token: String, | ||
| } | ||
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seeing things like this, "ORG=globeandcitizen", always makes me smile.