Questions tagged [kadira]

Performance monitoring tool for Meteor

24 questions
8
votes
1 answer

Long observeChanges call during login

We are seeing very slow login response times on our Meteor app. As load approaches 200 logins/minute the observeChanges calls become quite slow: As loginWith is part of Meteor core, this problem seems difficult to debug. Note that we only…
Max Ferguson
  • 676
  • 1
  • 7
  • 25
6
votes
1 answer

Multiplexers, observeChanges duration and OplogTailingin mongo / meteor

I'm developping an app with Meteor.js. For that, I do have a cluster of mongo instances for oplog tailing. In addition, I'm using Kadira in order to trace my app perfs. Since I've enabled oplog tailing, many of my pub/sub are slower than before.…
David Panart
  • 656
  • 6
  • 20
3
votes
0 answers

use subdomain as username in meteor js

Problem On account creation I want the users to access their profile as username.domain-name.com I also have website features as : username.domain-name.com/feature1 username.domain-name.com/feature2 username.domain-name.com/feature3 Above links…
2
votes
1 answer

Meteor - Create a webhook

I'd like to implement a webhook with Meteor I'm using the kadira/flowrouter Meteor plugin but no way to get POST data. Neither queryParams or params return the body of the message that I want to get. FlowRouter.route('/my_weebhook', { action:…
Giardiv
  • 63
  • 12
2
votes
3 answers

How to pass the data to a template using blaze-layout render?

I tried the following code to pass data to a template and receive it in onCreated() but I cannot access the…
Murali Krishna
  • 167
  • 4
  • 17
2
votes
0 answers

Cleanest way to access / log method arguments when an error is thrown?

Meteor.methods foo: (a, b) -> notDefined.bar() Meteor.call('foo', 1, 2) Right now all I'm getting in the logs and in Kadira is the error object and stack trace. I'd like to know what a and b are (1 and 2). It would be nice to know args to…
Loren
  • 13,903
  • 8
  • 48
  • 79
2
votes
0 answers

Reactive Data Source in METEOR@1.3-modules-beta.6 and React

I am building a Chat app in Meteor 1.3, ES6 and React. I have 3 collections: 1. People: Who has an array of conversations that the person are involved. 2. Conversations: That also have the people that are involved. 3. Messages: That has a…
1
vote
1 answer

slow Meteor fetch after quick find

We are using Kadira to try to determine why our Meteor application is running slow at times. You can see in the picture that the find operation is fast while fetch took almost 7s. I know it's an open question but does any have an idea of what could…
Whiskey
  • 83
  • 1
  • 1
  • 5
1
vote
0 answers

Why are so many documents getting fetched in Meteor?

My application is fetching a huge number of documents from the server in Meteor. I've tried optimizing the Live Query to reduce this, but I'm still getting several thousand documents per hour when the collection.find().count() is just…
Chris
  • 644
  • 1
  • 12
  • 28
1
vote
1 answer

Meteor method waiting for subscriptions that aren't there

I have a Meteor method generateUserHash which just passes an ID to Intercom to get back a user hash: export const generateUserHash = new ValidatedMethod({ name: 'generateUserHash', validate() {}, run() { if (!Meteor.isServer) return; …
ffxsam
  • 26,428
  • 32
  • 94
  • 144
1
vote
1 answer

FlowRouter - Inserting content to HTML template

I'm trying to learn meteor-react, and I have a question about using FlowRouter to insert content into HTML template pages. Let's assume everything is imported correctly, this is the relevant code: routes.jsx FlowRouter.route('/post/:postId', { …
comp_sci5050
  • 145
  • 2
  • 11
1
vote
2 answers

Twitter Cards - No Meta tags found

I've added all the pre-req meta tags to the header, but the validator always gives me. INFO: Page fetched successfully WARN: No metatags found Read one post re: adding content type text/html. Wasn't quite sure how to do that via dochead so I…
1
vote
0 answers

Meteor ROOT_URL variable causing either white screen on iOS/Android deployment or accounts-facebook redirect issues

I'm facing a pretty complicated case with Meteor, mupx and ROOT_URL environment variable. I'm working on meteor-1.2.1 app with React with Facebook login. When setting ROOT_URL global variable inside app code, it works perfectly fine on local…
Ronen
  • 734
  • 1
  • 9
  • 14
1
vote
0 answers

Meteor flow-router Reference Error "class" is not defined

I am using Meteor 1.2.1 and am running into an issue with FlowRouter. I have a '/' route declared in routes.jsx and it renders my Walls component in the MainLayout. I added a second route '/brews' and a Brews component and and I get this error when…
BTBaum
  • 13
  • 4
1
vote
0 answers

Meteor - android much slower than website

Hi I'm developing app on meteor which has got browser version and mobile versions. In brief, browser version works well, transition between views/routes is really short, it is really fast. But when I launch app on android (connected to the same DB)…
Mossar
  • 425
  • 1
  • 5
  • 14
1
2