Comments (7)
I've put into our feature request queue. But we don't have plan for it right now.
from amazon-cloudwatch-agent.
Hi, arm32 bit is actually quite diverged and it would be difficult for us to add official support. However, I did a simple test enabling the building specifically for raspberry pi, and you can see my test here:
https://github.com/haojhcwa/amazon-cloudwatch-agent-1/tree/test-armhf-rpi
You should be able to checkout that branch and build your own agent by make release
, and you should be able to find the deb package in build/bin/linux/armhf/
It does run on my rpi 2, though I only did some basic tests.
from amazon-cloudwatch-agent.
@haojhcwa Thanks for the explanation. Iām curious, how has arm32 diverged from arm64? I ask because your branch only includes a Makefile change.
from amazon-cloudwatch-agent.
That's a good question, by diverged, I mean there are many flavors of arm32, I could tweak the make file to build a version of the agent for raspberry pi because its well known and have a rasbian support. However, a general support for arm32 is probably very complicated, for go, there is GOARM variable which supports ARM v5, v6, v7 for 32bit arms, in fact, different version of rpi uses different version of arm, rpi1 uses ARMv6, then rpi2 is ARMv7, and later ones are using 64bit ARMv8.
And for debian packages, a simple search shows there are quite some varieties:
$ dpkg-architecture -L |grep arm
uclibc-linux-armel
uclibc-linux-armeb
uclibc-linux-arm
uclibc-linux-arm64
musl-linux-armhf
musl-linux-armeb
musl-linux-arm
musl-linux-arm64
armhf
armel
arm64ilp32
armeb
arm
arm64
....
And another main issue for us right now is the difficulty to create automated testing for 32bit arm systems.
Please let me know if you can build and run the agent using my branch.
from amazon-cloudwatch-agent.
However, a general support for arm32 is probably very complicated, for go, there is GOARM variable which supports ARM v5, v6, v7 for 32bit arms, in fact, different version of rpi uses different version of arm, rpi1 uses ARMv6, then rpi2 is ARMv7, and later ones are using 64bit ARMv8.
Yep, I did not realize arm32 was that complicated.
Please let me know if you can build and run the agent using my branch.
Sure, I'll try it when I get the chance.
from amazon-cloudwatch-agent.
I've just built it using github actions and created a pre-release so you don't have to build it yourself, you can try download the deb.zip package here: https://github.com/haojhcwa/amazon-cloudwatch-agent-1/releases/tag/v1.247346.1rpi
from amazon-cloudwatch-agent.
Hey, so I was able to validate that your build works. I don't have a raspberry pi readily configured, so I used qemu-system-arm
to simulate that device. Happy to provide more info.
from amazon-cloudwatch-agent.
Related Issues (20)
- amazon/cloudwatch-agent:1.0.3 doesn't start on Fargate HOT 4
- aggregation_dimensions does not work with statsd
- The CloudWatch Agent requires additional configuration to use IAM Roles for Service Accounts (IRSA) or Pod Identity HOT 2
- Unable to reload agent with error message unable to address what is wrong HOT 1
- Rotate amazon-cloudwatch-agent.log HOT 2
- XRay traces sent by cloudwatch-agent are missing cloudwatch_logs data HOT 2
- cannot get pod from kubelet, err: call to /pods endpoint failed: HOT 2
- amazon-cloudwatch-observability fails with open /root/.aws/credentials ignoring the IRSA credentials HOT 12
- Log agent not running as root sometimes fails to tail log files HOT 3
- Example for append_dimensions using a value that depends on Amazon EC2 metadata HOT 1
- Container is stopped. On-premise setup. HOT 2
- X-Ray: how to set index_all_attributes (or provide a list of attributes to index)? HOT 2
- [k8s / EKS] Support for Filtering Metrics by Namespace/Pod Name in CloudWatch Agent HOT 2
- https://github.com/aws/amazon-cloudwatch-agent/releases shows v1.300034.0 but that is not current HOT 1
- CloudWatch metrics collected from prometheus , contains undesired dimensions HOT 1
- Undesired metrics added HOT 1
- [K8E mode] CloudWatch Agent shutting down when configured to collect container insights metric on EC2 K8s setup
- I wish fetch-config would not delete the .json config file HOT 3
- Publish a JSON schema of the config HOT 7
- Add KMS Key to Cloudwatch Log Group HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-cloudwatch-agent.