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

Adding ARM Support #10

Merged
merged 3 commits into from
Nov 29, 2024
Merged

Adding ARM Support #10

merged 3 commits into from
Nov 29, 2024

Conversation

fredjoonpark
Copy link

@fredjoonpark fredjoonpark commented Nov 26, 2024

  • Added arm64 support to the build 💪
  • Verified serverless deployment using sam for both amd64 and arm64 architectures
  • Confirmed remote reads and writes from local prometheus server
  • Verified that dashes - can now be used safely in Timestream database/table names

I figured we'll do the version update with the other change we discussed earlier today, so I left it the same for now.

@trevorbonas
Copy link

The LambdaFunction resource in serverless/template.yml also needs to be updated.

This can be done by:

  • Changing the CodeUri Key to "timestream-prometheus-connector/timestream-prometheus-connector-linux-arm64-1.3.0.zip".
  • Adding the property Architectures: [arm64].

The documentation for the AWS::Serverless::Function resource can be found here.

@@ -91,7 +91,7 @@ Resources:
- "logs:CreateLogStream"
- "logs:PutLogEvents"
Resource:
Fn::Sub: "arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/lambda/PrometheusTimestreamConnector-LambdaFunction-*:*"
Fn::Sub: "arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/lambda/${AWS::StackName}-LambdaFunction-*:*"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

had to make this change for the log group to be created and see the logs

@fredjoonpark fredjoonpark marked this pull request as ready for review November 28, 2024 03:10
@fredjoonpark
Copy link
Author

verified I can use the OpenTelemetry collector to send data to timestream. Nice blog post @trevorbonas 💯

@fredjoonpark fredjoonpark merged commit c810f77 into integ-arm-support Nov 29, 2024
8 checks passed
fredjoonpark added a commit that referenced this pull request Dec 17, 2024
Adding ARM support to build script
fredjoonpark added a commit that referenced this pull request Jan 3, 2025
* Adding ARM Support  (#10)

Adding ARM support to build script

* addressing ci
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.

3 participants