# Edge Data Tag Options

## **Edge Data Tag Options in TilliT**

When configuring **Edge Data Tags** in TilliT, you can supply options as a **JSON string** to modify how data is processed. All options must be formatted as follows:

```json
{"option1": "value1", "option2": "value2"}
```

## **Available Options**

### **Scale**

The `scale` option allows you to adjust the raw value by multiplying or dividing it by a specified factor.

**Examples:**

* Multiply the raw value by 1000:

  ```json
  {"scale": 1000}
  ```
* Divide the raw value by 1000:

  ```json
  {"scale": 0.001}
  ```

### **Rollover**

Use the `rollover` option when the tag you are reading has a **rollover value**. This is particularly useful for the `COUNT_TOTAL` template, ensuring that TilliT correctly calculates the difference when a counter resets to zero.

**Example Scenario:**

* A counter rolls over at **1000**.
* The initial value is **950**, and the next read is **5**.
* Without rollover handling, the difference would appear as **-945**.
* With rollover (`{"rollover": 1000}`), TilliT correctly calculates the difference as **55**.

**Example Configuration:**

```json
{"rollover": 1000}
```

By using these options, you can ensure accurate data interpretation and seamless integration with TilliT’s processing logic.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/edge/data-tags/edge-data-tag-options.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
