Skip to content
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

Add Default Ingestion Configuration Logging and Update Documentation to Reflect Runtime Naming Convention #49

Merged
merged 8 commits into from
Mar 27, 2024
Merged

Add Default Ingestion Configuration Logging and Update Documentation to Reflect Runtime Naming Convention #49

merged 8 commits into from
Mar 27, 2024

Conversation

forestmvey
Copy link
Contributor

Issue #, if available:

N/A

Description of changes:

  • Change all references for pre-compiled binaries to use the new naming convention for having the binary named bootstrap for the provided.al2023 runtime.

    • Documentation contained references to the wrong binary name (timestream-prometheus-connector-linux-amd64-1.0.0) that was used prior to the lambda runtime upgrade which now requires the binary be named bootstrap
  • Update initialization log to include which default database, table, and region the Prometheus Connector has configured for both local and lambda invocation.

    • Now when the connector is initialized, the following log will be produced: Timestream write connection is initialized (Database: database-name, Table: table-name, Region: region-name)
  • Added a check to ensure when executing the binary that the default database and table values must be set.

    • In the event that the user does not set the flags --default-database or --default-table the following error will be raised: timestream-prometheus-connector: error: The default database value must be set through the flag <missing-table-or-database-flag>
  • Added initialization log to notify users that the connector is ready to begin ingestion and query requests.

    • Shown by the log message: The Prometheus Connector is now ready to begin serving ingestion and query requests.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

forestmvey and others added 8 commits March 27, 2024 09:19
…to use the bootstrap naming convention. Add info logging about which database, table, and region are configured for the Prometheus Connector.

Signed-off-by: forestmvey <forestv@bitquilltech.com>
…ambda invocation.

Signed-off-by: forestmvey <forestv@bitquilltech.com>
Signed-off-by: forestmvey <forestv@bitquilltech.com>
Signed-off-by: forestmvey <forestv@bitquilltech.com>
Signed-off-by: forestmvey <forestv@bitquilltech.com>
…s are set.

Signed-off-by: forestmvey <forestv@bitquilltech.com>
Signed-off-by: forestmvey <forestv@bitquilltech.com>
…ntation

Add Default Ingestion Configuration Logging and Update Documentation to Reflect New Naming Convention
@forestmvey forestmvey merged commit 0565dac into awslabs:main Mar 27, 2024
6 checks passed
@forestmvey forestmvey deleted the integ-improve-logging-and-documentation branch March 27, 2024 23:35
forestmvey added a commit to forestmvey/amazon-timestream-connector-prometheus that referenced this pull request May 7, 2024
…to Reflect Runtime Naming Convention (awslabs#49)

* Change all references for pre-compiled binaries in the documentation to use the bootstrap naming convention. Add info logging about which database, table, and region are configured for the Prometheus Connector.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Change configuration default logs to debug level, and added log for lambda invocation.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Updating logs to level info for ingestion configurations.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Fix typo and grammar.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Updated log for query client in lambda handler.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Added check when running binary that default database and table values are set.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Revising initialization log format.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

---------

Signed-off-by: forestmvey <forestv@bitquilltech.com>
forestmvey added a commit to forestmvey/amazon-timestream-connector-prometheus that referenced this pull request May 7, 2024
…to Reflect Runtime Naming Convention (awslabs#49)

* Change all references for pre-compiled binaries in the documentation to use the bootstrap naming convention. Add info logging about which database, table, and region are configured for the Prometheus Connector.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Change configuration default logs to debug level, and added log for lambda invocation.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Updating logs to level info for ingestion configurations.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Fix typo and grammar.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Updated log for query client in lambda handler.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Added check when running binary that default database and table values are set.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Revising initialization log format.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

---------

Signed-off-by: forestmvey <forestv@bitquilltech.com>
forestmvey added a commit to forestmvey/amazon-timestream-connector-prometheus that referenced this pull request May 7, 2024
…to Reflect Runtime Naming Convention (awslabs#49)

* Change all references for pre-compiled binaries in the documentation to use the bootstrap naming convention. Add info logging about which database, table, and region are configured for the Prometheus Connector.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Change configuration default logs to debug level, and added log for lambda invocation.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Updating logs to level info for ingestion configurations.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Fix typo and grammar.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Updated log for query client in lambda handler.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Added check when running binary that default database and table values are set.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Revising initialization log format.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

---------

Signed-off-by: forestmvey <forestv@bitquilltech.com>
forestmvey added a commit to forestmvey/amazon-timestream-connector-prometheus that referenced this pull request May 7, 2024
…to Reflect Runtime Naming Convention (awslabs#49)

* Change all references for pre-compiled binaries in the documentation to use the bootstrap naming convention. Add info logging about which database, table, and region are configured for the Prometheus Connector.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Change configuration default logs to debug level, and added log for lambda invocation.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Updating logs to level info for ingestion configurations.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Fix typo and grammar.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Updated log for query client in lambda handler.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Added check when running binary that default database and table values are set.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

* Revising initialization log format.

Signed-off-by: forestmvey <forestv@bitquilltech.com>

---------

Signed-off-by: forestmvey <forestv@bitquilltech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants