Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In reports, the selected values in one filter are combined with an 'OR', while selected values in different values are 'ANDed'. For example, to display the number of paying female users, in filter1 the value 'female' should be selected, and in filter2 value 'paid' should be selected.

We recomend recommend to use 'parameter.name=value' format to define filter values.

Counting Metrics

Each SPM plan allows for a different number of metrics and a different number of datapoints per calendar month.  Please see SPM Plans page.

To stay within your plan limits pay attention to the number of distinct metrics.  A metric is a (metric name, filter1, filter2) triple. For example:

  • if you are sending 10 distinct metric names, 5 distinct values for filter1, and 2 distinct values for filter2, you will be using a total of 10*5*2=100 metrics
  • if you are sending 10 distinct metric names, 5 distinct values for filter1, and 10 distinct values for filter2, you will be using a total of 10*5*10=500 metrics

Custom Metrics API

SPM provides REST API for sending data points for custom metrics:

...

Sematex-metrics is a gem for sending custom metrics for Ruby applications.

Limitations

Each SPM plan allows for a different number of metrics and a different number of datapoints per calendar month.  Please see SPM Plans page.

To stay within your plan limits pay attention to the number of distinct metrics.  A metric is a (metric name, filter1, filter2) triple. For example:

  • if you are sending 10 distinct metric names, 5 distinct values for filter1, and 2 distinct values for filter2, you will be using a total of 10*5*2=100 metrics
  • if you are sending 10 distinct metric names, 5 distinct values for filter1, and 10 distinct values for filter2, you will be using a total of 10*5*10=500 metrics