burni13
November 11, 2020, 12:57am
1
Hi,
We’re looking to self host a APM server but all I could find is >2yo docs and packages.
TL/DR: Get a stable, fully functional, HTTPS enabled Meteor APM server running in less than 30 minutes using lmachens/meteor-apm-server .
After leaving Galaxy hosting for AWS, I went through every forum post trying to find the minimum-pain method of getting APM back up and running.
I tried the NodeChef service, and it was acceptable but did not feature any alerts, and the service pricing wasn’t attractive: (as of 2/26/18) $10/month per host, no pro-rating, only 4 days of data retention.
I trie…
Does it work with the latest mdg:meteor-apm-agent ?
This one seems to be maintained more but it’s dependent on elastic: Meteor-elastic-apm with meteor metrics
What would you suggest to start with ?
Regards,
Burni
1 Like
@burni13 Use https://montiapm.com/ . It’s maintained by, and supports, the dev who built mup
. I’ve tried everything out there (nodechef, galaxy, self-hosting), and monti is by far the best version and has very fair pricing.
1 Like
burni13
November 11, 2020, 7:08pm
3
Hi Avario,
Ok thanks a lot! It was really not what we wanted but your comment made us rethink and we might just go for it. We’ll be trying it out this week.
Regards,
Burni13
2 Likes
burni13
November 11, 2020, 11:28pm
4
I don’t know if the right place to ask but trying Monti, I get a runtime error:
W20201111-17:22:28.813(-5)? (STDERR) /Users/burni13/.meteor/packages/meteor-tool/.1.10.2.1v0nj5k++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
W20201111-17:22:28.814(-5)? (STDERR) throw(ex);
W20201111-17:22:28.814(-5)? (STDERR) ^
W20201111-17:22:28.814(-5)? (STDERR)
W20201111-17:22:28.814(-5)? (STDERR) TypeError: Cannot read property 'use' of undefined
W20201111-17:22:28.814(-5)? (STDERR) at module (imports/startup/server/rest-api.js:1836:1)
W20201111-17:22:28.815(-5)? (STDERR) at fileEvaluate (packages/modules-runtime.js:336:7)
W20201111-17:22:28.815(-5)? (STDERR) at Module.require (packages/modules-runtime.js:238:14)
with this code:
WebApp.connectHandlers.use(bodyParser.urlencoded({extended: true})).use(bodyParser.json({type: "*/*"})).use('/api/function',function (req, res, next) {}
That started when installing the monti:agent package.
Any idea what the problem is?
cunneen
November 13, 2020, 3:37am
5
Monti sounds like the easiest / best solution if you can get it running.
Otherwise we’ve been running a DigitalOcean droplet with this fork of kadira for years now; we also had to add a cron
script as described here ; other than that we’ve had no issues at all, it’s still logging useful data.
burni13
November 13, 2020, 3:37pm
6
Hi cunneen,
Thanks for the answer.
I did send an email to Monti’s support with the problem I had and they released a fixed update in less than 24 hours. I will definitely give them a try. That quality of service makes me lean in that direction.
Thanks for your help
Burni