are you able to run the CPU profiler for your kadira setup ?
I did. The problem is the that the CPU profiler configurations are hardcoded. You can find them in file:
./kadira-ui/packages/jobs/lib/server/methods.js approx on line 7:
AWS.config.region = 'us-east-1';
var params = {
Bucket: 'profdata.kadira.io',
ContentType: 'application/json',
ACL: 'public-read'
};
Iāve changed that to be meteor settings:
AWS.config.region = Meteor.settings.s3.region;
// Below is similar to lodash _.pick to pick a subset of the object's property
var params = (({ Bucket, ContentType, ACL }) => ({ Bucket, ContentType, ACL }))(Meteor.settings.s3);
Thanks for putting this up.
And also thanks to the contributors: lampe, vladgolubev, dkoo761
Using this forum guide, Iāve managed to get my own kadira ui, engine and rma up and running nicely!
What is the correct value for the bucket ? What should be passed instead of āprofdata.kadira.ioā ?
How do you trim the Kadira db, eā¦g delete all data before 1 week? Do we have to do this manually using mongo commands on each collection?
You need an aws s3 account for this and create a bucket. The name of that bucket would be the value. The important thing is that this file and method are responsible for signing an url to allow your application to push the file to s3. You can change it into whatever you want.
@lampe Thanks a ton for the tutorials! Sadly, I canāt get past the Nginx step. Running into all sorts of issues when trying to adjust the config files. Since Iāve never had to do these kind of things, I donāt understand what lines should be edited, what is correct, and how to properly modify said lines. Which then lead me to an array of SSL issues, as letās encrypt clashes with the config files (and I donāt know whether these are letās encrypt or nginx-config related).
For future reference, maybe you could add a couple lines on how you set that up?
EDIT: Wasnāt able to fix it, so I put kadira on a subdomain and used my main domainās wildcard certificate instead.
Kadira on Digital Ocean w/ Compose and Cloudflare:
I notice a lot of people here are familar with Kadira internals. Maybe this could be a fun project.
Thanks a lot to @vyvegard. Iāve updated his instructions slightly, and included SSL by lets encrypt. Very easy setup with Docker:
Works perfectly. Thanks to everyone
I used this guide (https://sergiotapia.me/how-to-setup-your-own-kadira-instance-on-a-vps-like-digitalocean-75ef1458adbd) to set up a Kadira instance, but after 3 days of running, it just stops reporting any metrics.
Earlier collected metrics still show up. I did the setup from scratch on AWS once and DO once, and the exact same thing happened both times. I made sure I have enough RAM, disk space, CPU, etc available. Rebooting the instance didnāt help either. Anyone have any ideas what could cause this? It seems extremely bizarre to me.
Starting to pinpoint this a little more. If I delete my old app and create a new one, the new one starts collecting data again. It doesnāt collect data if I just connect to a new app while having the old one hanging around, I have to delete the old one to get it to work. Weird. Any ideas?
We have been running kadira on digital ocean with local instance of mongodb. It was running fine, but as we connected our production environment, we started to see mongodb running hot and also the kadira UI rendering has also become slow.
Did any one see similar issue ? not sure if all the necessary indexes were setup on the collection while setting up the kadira databases. If any one saw similar issue and handled it, please let me know.
Also interested in this. Iāve been running Kadira on EC2 instance and every few days itāll become unresponsive/crash. Any insight from anyone?
@sashko Maybe you can chip in here? Kadira is a very important tool for the community, and Iām sad to see that thereās this feeling of almost complete abandonment associated with it now.
NodeChef provides hosted Meteor APM based on open source Kadira which anyone can use to analyze the performance of their apps.
What is the cost for this service? There doesnāt seem to be any pricing
for accessing the Meteor APM.
wow thanks, there should be an announcement for this!
Pricing can be found on this blog post and also when you log into the add-on section of the dashboard.