Skip to content

Frequently Asked Questions


Why do scheduled report emails sometimes return a 414 error?

The image links in the scheduled reports sent to the target email are generated by concatenating parameters such as view variables corresponding to the charts in the dashboard. If the content of the view variables is too long, it may result in excessively long image links, triggering a 414 error.


Why can't I use JSON format in the explorer search bar?

Using JSON search requires meeting the following three conditions:

  1. The site must be "China Region 1 (Hangzhou)", "China Region 3 (Zhangjiakou)", or "China Region 4 (Guangzhou)".
  2. The workspace must have been created after June 23, 2022.
  3. It can only be used in the Log Explorer.

How can I convert a Grafana dashboard JSON template to a Guance dashboard JSON template using a Node script provided by Guance?

Install via npm:

npm install  @cloudcare/guance-front-tools

Usage:

$ npm install -g @cloudcare/guance-front-tools

# show usage information
$ grafanaCovertToGuance

# run task
$ grafanaCovertToGuance -d examples/grafana.json -o examples/guance.json

Keywords:

none


Explanation of the P99 Peak Calculation Logic

Guance calculates the P99 value by collecting all values of a specific metric over a period of time, sorting these values from smallest to largest, and then determining the position of the P99 value based on number of data points * 99%, returning the value at that position. The term "all values" here refers to the original data points stored in the database.

For percentile queries on metric data, Guance's processing method varies depending on the data engine used. If the database itself does not support percentile queries, Guance pulls the data locally for additional processing through code to achieve this functionality. For non-metric data (such as Logs, APM, RUM, etc.), percentile queries are supported by the database's native capabilities.

Feedback

Is this page helpful? ×