Skip to content

Latest commit

 

History

History
95 lines (60 loc) · 6.49 KB

how-to-plan-your-environment.md

File metadata and controls

95 lines (60 loc) · 6.49 KB
title description author ms.author manager ms.reviewer ms.service ms.topic ms.date
Plan your Gen2 environment - Azure Time Series Insights | Microsoft Docs
Best practices to configure, manage, plan, and deploy your Azure Time Series Insights Gen2 environment.
tedvilutis
tvilutis
cnovak
orspodek
time-series-insights
conceptual
09/30/2020

Plan your Azure Time Series Insights Gen2 environment

[!INCLUDE retirement]

This article describes best practices to plan and get started quickly by using Azure Time Series Insights Gen2.

Best practices for planning and preparation

Best practices surrounding planning for and preparing your environment are described further in the following articles:

Azure Time Series Insights employs a pay-as-you-go business model. For more information about charges and capacity, read Azure Time Series Insights pricing.

The Gen2 environment

When you provision an Azure Time Series Insights Gen2 environment, you create two Azure resources:

  • An Azure Time Series Insights Gen2 environment
  • An Azure Storage account

As part of the provisioning process, you specify whether you want to enable a warm store. Warm store provides you with a tiered query experience. When enabled, you must specify a retention period between 7 and 30 days. Queries executed within the warm store retention period generally provide faster response times. When a query spans over the warm store retention period, it's served from cold store.

Queries on warm store are free, while queries on cold store incur costs. It's important to understand your query patterns and plan your warm store configuration accordingly. We recommend that interactive analytics on the most recent data reside in your warm store and pattern analysis and long-term trends reside in cold.

Note

To read more about how to query your warm data, read the API Reference.

To start, you need three additional items:

Review Azure Time Series Insights Gen2 limits

[!INCLUDE Review Azure Time Series Insights Gen2 limits]

Configure Time Series IDs and Timestamp properties

To create a new Azure Time Series Insights environment, select a Time Series ID. Doing so acts as a logical partition for your data. As noted, make sure to have your Time Series IDs ready.

Important

Time Series IDs can't be changed later. Verify each one before final selection and first use.

You can select up to three keys to uniquely differentiate your resources. For more information, read Best practices for choosing a Time Series ID and Ingestion rules.

The Timestamp property is also important. You can designate this property when you add event sources. Each event source has an optional Timestamp property that's used to track event sources over time. Timestamp values are case sensitive and must be formatted to the individual specification of each event source.

When left blank, the time when the event was enqueued into the IoT Hub or Event Hub is used as the event Timestamp. In general, users should opt to customize the Timestamp property and use the time when the sensor or tag generated the reading, rather than the hub enqueued time. For more information and to read about time zone offsets read Event source timestamp.

Understand the Time Series Model

You can now configure your Azure Time Series Insights environment's Time Series Model. The new model makes it easy to find and analyze IoT data. It enables the curation, maintenance, and enrichment of time series data and helps to prepare consumer-ready data sets. The model uses Time Series IDs, which map to an instance that associates the unique resource with variables, known as types, and hierarchies. Read about the Time Series Model overview to learn more.

The model is dynamic, so it can be built at any time. To get started quickly, build and upload it prior to pushing data into Azure Time Series Insights. To build your model, read Use the Time Series Model.

For many customers, the Time Series Model maps to an existing asset model or ERP system already in place. If you don't have an existing model, a prebuilt user experience is provided to get up and running quickly.

Shape your events

You can verify the way that you send events to Azure Time Series Insights. Ideally, your events are denormalized well and efficiently.

A good rule of thumb:

  • Store metadata in your Time Series Model.
  • Ensure that Time Series Mode, instance fields, and events include only necessary information, such as a Time Series ID or Timestamp property.

For more information and to understand how events will be flattened and stored, read the JSON flattening and escaping rules.

[!INCLUDE business-disaster-recover]

Next steps

  • Review Azure Advisor to plan out your business recovery configuration options.
  • Review Azure Advisor to plan out your business recovery configuration options.
  • Read more about data ingestion in Azure Time Series Insights Gen2.
  • Review the article on data storage in Azure Time Series Insights Gen2.
  • Learn about data modeling in Azure Time Series Insights Gen2.