@cryptotaxi247 / netdata-1 / commits / b802f5d5f

feat(go.d): add azure_monitor collector (#21993)

Co-authored-by: Costa Tsaousis <costa@netdata.cloud>

Ilya Mashchenko committed Mar 21, 2026 at 00:50 UTC b802f5d5fdd9eaf5c9e3d93a018a04046be3f0e5
77 files changed +31533 -43
src/go/go.mod
+2
@@ -70,6 +70,8 @@ require (
70 require (
71 github.com/Azure/azure-sdk-for-go/sdk/azcore v1.21.0
72 github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.1
73 + github.com/Azure/azure-sdk-for-go/sdk/monitor/query/azmetrics v1.3.0
74 + github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcegraph/armresourcegraph v0.9.0
75 github.com/alexbrainman/odbc v0.0.0-20250601004241-49e6b2bc0cf0
76 github.com/cespare/xxhash/v2 v2.3.0
77 github.com/docker/go-units v0.5.0
src/go/go.sum
+4
@@ -17,6 +17,10 @@ github.com/Azure/azure-sdk-for-go/sdk/azidentity/cache v0.3.2 h1:yz1bePFlP5Vws5+
17 github.com/Azure/azure-sdk-for-go/sdk/azidentity/cache v0.3.2/go.mod h1:Pa9ZNPuoNu/GztvBSKk9J1cDJW6vk/n0zLtV4mgd8N8=
18 github.com/Azure/azure-sdk-for-go/sdk/internal v1.11.2 h1:9iefClla7iYpfYWdzPCRDozdmndjTm8DXdpCzPajMgA=
19 github.com/Azure/azure-sdk-for-go/sdk/internal v1.11.2/go.mod h1:XtLgD3ZD34DAaVIIAyG3objl5DynM3CQ/vMcbBNJZGI=
20 +github.com/Azure/azure-sdk-for-go/sdk/monitor/query/azmetrics v1.3.0 h1:blbWEpcsg2EFqXe64sRPdWPKnLWm0fPY4iHyo4MoHVM=
21 +github.com/Azure/azure-sdk-for-go/sdk/monitor/query/azmetrics v1.3.0/go.mod h1:jWOswzu+YEJ01Csz2ZUir7KecMjHJNYwxufLqAYi+ls=
22 +github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcegraph/armresourcegraph v0.9.0 h1:zLzoX5+W2l95UJoVwiyNS4dX8vHyQ6x2xRLoBBL9wMk=
23 +github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcegraph/armresourcegraph v0.9.0/go.mod h1:wVEOJfGTj0oPAUGA1JuRAvz/lxXQsWW16axmHPP47Bk=
24 github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.4.0 h1:E4MgwLBGeVB5f2MdcIVD3ELVAWpr+WD6MUe1i+tM/PA=
25 github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.4.0/go.mod h1:Y2b/1clN4zsAoUd/pgNAQHjLDnTis/6ROkUfyob6psM=
26 github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.2.0 h1:nCYfgcSyHZXJI8J0IWE5MsCGlb2xp9fJiXyxWgmOFg4=
src/go/plugin/framework/charttpl/README.md
+19 -1
@@ -18,7 +18,7 @@ It is the input schema consumed by `chartengine`.
18 ## Processing Pipeline
19
20 1. **Decode** — Strict YAML decode (`yaml.UnmarshalStrict`). Unknown fields fail decoding.
21 -2. **Defaults** — `version` defaults to `v1` (top-level only); chart `type` defaults to `line` (applied recursively across groups).
21 +2. **Defaults** — `version` defaults to `v1` (top-level only); chart `type` defaults to `line`; inheritable `group.chart_defaults` are applied recursively using nearest-group-wins replace semantics.
22 3. **Semantic validation** — Field-level checks with path-aware errors (metric scoping, selectors, dimension rules, lifecycle bounds).
23
24 ## Syntax (v1)
@@ -39,6 +39,7 @@ It is the input schema consumed by `chartengine`.
39 | `family` | string | yes | Family segment used for chart family composition |
40 | `context_namespace` | string | no | Context segment appended to inherited context namespace |
41 | `metrics` | array[string] | no | Metrics available for dimension selectors in this group (inherited by nested groups) |
42 +| `chart_defaults` | object | no | Inheritable chart fields for descendant charts in this group subtree |
43 | `charts` | array | no | Chart definitions |
44 | `groups` | array | no | Nested groups |
45
@@ -47,6 +48,22 @@ It is the input schema consumed by `chartengine`.
48 For example, with top-level `context_namespace: netdata.go.plugin`, group `context_namespace: mysql`,
49 and chart `context: queries`, the resulting context is `netdata.go.plugin.mysql.queries`.
50
51 +### `chart_defaults`
52 +
53 +`chart_defaults` applies only to descendant charts of the current group. Supported fields are:
54 +
55 +| Field | Type | Description |
56 +|-------------------|---------------|------------------------------------------|
57 +| `label_promotion` | array[string] | Default chart label promotion policy |
58 +| `instances` | object | Default chart instance identity policy |
59 +
60 +Inheritance rules:
61 +
62 +- nearest group default wins
63 +- chart-local field overrides inherited default
64 +- list/object fields replace the inherited field wholesale
65 +- no deep merge or append semantics
66 +
67 ### `charts[]`
68
69 | Field | Type | Required | Description |
@@ -144,6 +161,7 @@ All rules below produce semantic validation errors unless noted:
161 - `groups[]` must be non-empty
162 - `group.family` must not be empty or whitespace-only
163 - `group.metrics[]` entries must not be empty or whitespace-only; no duplicates within same group
164 +- `group.chart_defaults.instances.by_labels` follows the same validation rules as `chart.instances.by_labels`
165 - `chart.title`, `chart.context`, `chart.units` must be non-empty
166 - `dimension.selector` must include explicit metric name (prefix before `{`)
167 - Selector metric must be visible in current group metric scope
src/go/plugin/framework/charttpl/config_schema.json
+18
@@ -103,6 +103,9 @@
103 "type": "string"
104 }
105 },
106 + "chart_defaults": {
107 + "$ref": "#/$defs/chart_defaults"
108 + },
109 "groups": {
110 "type": "array",
111 "items": {
@@ -185,6 +188,21 @@
188 }
189 }
190 },
191 + "chart_defaults": {
192 + "type": "object",
193 + "additionalProperties": false,
194 + "properties": {
195 + "label_promotion": {
196 + "type": "array",
197 + "items": {
198 + "type": "string"
199 + }
200 + },
201 + "instances": {
202 + "$ref": "#/$defs/instances"
203 + }
204 + }
205 + },
206 "instances": {
207 "type": "object",
208 "additionalProperties": false,
src/go/plugin/framework/charttpl/defaults.go
+54 -3
@@ -15,17 +15,68 @@ func applyDefaults(spec *Spec) {
15 spec.Version = VersionV1
16 }
17 for i := range spec.Groups {
18 - applyGroupDefaults(&spec.Groups[i])
18 + applyGroupDefaults(&spec.Groups[i], nil)
19 }
20 }
21
22 -func applyGroupDefaults(group *Group) {
22 +func applyGroupDefaults(group *Group, inherited *ChartDefaults) {
23 + effective := inheritChartDefaults(inherited, group.ChartDefaults)
24 for i := range group.Charts {
25 + applyChartDefaults(&group.Charts[i], effective)
26 if group.Charts[i].Type == "" {
27 group.Charts[i].Type = defaultChartType
28 }
29 }
30 for i := range group.Groups {
29 - applyGroupDefaults(&group.Groups[i])
31 + applyGroupDefaults(&group.Groups[i], effective)
32 + }
33 +}
34 +
35 +func applyChartDefaults(chart *Chart, defaults *ChartDefaults) {
36 + if chart == nil || defaults == nil {
37 + return
38 + }
39 + if chart.LabelPromoted == nil && defaults.LabelPromoted != nil {
40 + chart.LabelPromoted = append([]string(nil), defaults.LabelPromoted...)
41 + }
42 + if chart.Instances == nil && defaults.Instances != nil {
43 + chart.Instances = cloneInstances(defaults.Instances)
44 + }
45 +}
46 +
47 +func inheritChartDefaults(parent, own *ChartDefaults) *ChartDefaults {
48 + if parent == nil && own == nil {
49 + return nil
50 + }
51 +
52 + out := &ChartDefaults{}
53 + if parent != nil {
54 + if parent.LabelPromoted != nil {
55 + out.LabelPromoted = append([]string(nil), parent.LabelPromoted...)
56 + }
57 + if parent.Instances != nil {
58 + out.Instances = cloneInstances(parent.Instances)
59 + }
60 + }
61 + if own != nil {
62 + if own.LabelPromoted != nil {
63 + out.LabelPromoted = append([]string(nil), own.LabelPromoted...)
64 + }
65 + if own.Instances != nil {
66 + out.Instances = cloneInstances(own.Instances)
67 + }
68 + }
69 + if out.LabelPromoted == nil && out.Instances == nil {
70 + return nil
71 + }
72 + return out
73 +}
74 +
75 +func cloneInstances(in *Instances) *Instances {
76 + if in == nil {
77 + return nil
78 + }
79 + return &Instances{
80 + ByLabels: append([]string(nil), in.ByLabels...),
81 }
82 }
src/go/plugin/framework/charttpl/spec.go
+10 -3
@@ -36,14 +36,21 @@ type EngineAutogen struct {
36
37 // Group is a recursive chart-group container.
38 type Group struct {
39 - Family string `yaml:"family" json:"family"`
40 - ContextNamespace string `yaml:"context_namespace,omitempty" json:"context_namespace,omitempty"`
41 - Metrics []string `yaml:"metrics,omitempty" json:"metrics,omitempty"`
39 + Family string `yaml:"family" json:"family"`
40 + ContextNamespace string `yaml:"context_namespace,omitempty" json:"context_namespace,omitempty"`
41 + Metrics []string `yaml:"metrics,omitempty" json:"metrics,omitempty"`
42 + ChartDefaults *ChartDefaults `yaml:"chart_defaults,omitempty" json:"chart_defaults,omitempty"`
43
44 Groups []Group `yaml:"groups,omitempty" json:"groups,omitempty"`
45 Charts []Chart `yaml:"charts,omitempty" json:"charts,omitempty"`
46 }
47
48 +// ChartDefaults defines inheritable chart fields on a group.
49 +type ChartDefaults struct {
50 + LabelPromoted []string `yaml:"label_promotion,omitempty" json:"label_promotion,omitempty"`
51 + Instances *Instances `yaml:"instances,omitempty" json:"instances,omitempty"`
52 +}
53 +
54 // Chart describes one chart template in compact DSL form.
55 type Chart struct {
56 ID string `yaml:"id,omitempty" json:"id,omitempty"`
src/go/plugin/framework/charttpl/spec_test.go
+54
@@ -68,6 +68,60 @@ groups:
68 assert.Equal(t, uint64(9), spec.Engine.Autogen.ExpireAfterSuccessCycles)
69 },
70 },
71 + "group chart defaults apply recursively with nearest-scope replace semantics": {
72 + input: `
73 +version: v1
74 +groups:
75 + - family: Root
76 + metrics:
77 + - mysql_queries_total
78 + chart_defaults:
79 + label_promotion: [resource_name, region]
80 + instances:
81 + by_labels: [resource_uid]
82 + groups:
83 + - family: Child
84 + chart_defaults:
85 + instances:
86 + by_labels: [resource_uid, region]
87 + charts:
88 + - title: Queries
89 + context: queries
90 + units: queries/s
91 + dimensions:
92 + - selector: mysql_queries_total
93 + name: total
94 + groups:
95 + - family: Leaf
96 + charts:
97 + - title: Overrides
98 + context: overrides
99 + units: queries/s
100 + label_promotion: []
101 + instances:
102 + by_labels: [region]
103 + dimensions:
104 + - selector: mysql_queries_total
105 + name: total
106 +`,
107 + assert: func(t *testing.T, spec *Spec) {
108 + t.Helper()
109 + root := spec.Groups[0]
110 + child := root.Groups[0]
111 + require.Len(t, child.Charts, 1)
112 + assert.Equal(t, "line", child.Charts[0].Type)
113 + assert.Equal(t, []string{"resource_name", "region"}, child.Charts[0].LabelPromoted)
114 + require.NotNil(t, child.Charts[0].Instances)
115 + assert.Equal(t, []string{"resource_uid", "region"}, child.Charts[0].Instances.ByLabels)
116 +
117 + leaf := child.Groups[0]
118 + require.Len(t, leaf.Charts, 1)
119 + assert.Equal(t, "line", leaf.Charts[0].Type)
120 + assert.Empty(t, leaf.Charts[0].LabelPromoted)
121 + require.NotNil(t, leaf.Charts[0].Instances)
122 + assert.Equal(t, []string{"region"}, leaf.Charts[0].Instances.ByLabels)
123 + },
124 + },
125 "rejects unknown yaml field via strict unmarshal": {
126 input: `
127 version: v1
src/go/plugin/framework/charttpl/validate.go
+10
@@ -40,6 +40,9 @@ func validateGroup(group Group, path string, inheritedMetrics map[string]struct{
40 if strings.TrimSpace(group.Family) == "" {
41 return semErr(path+".family", "must not be empty")
42 }
43 + if err := validateChartDefaults(group.ChartDefaults, path); err != nil {
44 + return err
45 + }
46
47 ownMetrics := make(map[string]struct{}, len(group.Metrics))
48 for i, name := range group.Metrics {
@@ -74,6 +77,13 @@ func validateGroup(group Group, path string, inheritedMetrics map[string]struct{
77 return nil
78 }
79
80 +func validateChartDefaults(defaults *ChartDefaults, path string) error {
81 + if defaults == nil {
82 + return nil
83 + }
84 + return validateInstances(defaults.Instances, path+".chart_defaults")
85 +}
86 +
87 func validateChart(chart Chart, path string, effectiveMetrics map[string]struct{}) error {
88 if err := validateChartCore(chart, path); err != nil {
89 return err
src/go/plugin/framework/charttpl/validate_test.go
+28
@@ -110,6 +110,34 @@ func TestSpecValidateScenarios(t *testing.T) {
110 wantErr: true,
111 errLike: "duplicate token",
112 },
113 + "fails on duplicate chart_defaults by_labels tokens": {
114 + spec: Spec{
115 + Version: VersionV1,
116 + Groups: []Group{
117 + {
118 + Family: "Database",
119 + ChartDefaults: &ChartDefaults{
120 + Instances: &Instances{
121 + ByLabels: []string{"*", "*"},
122 + },
123 + },
124 + Metrics: []string{"mysql_queries_total"},
125 + Charts: []Chart{
126 + {
127 + Title: "Queries",
128 + Context: "queries_total",
129 + Units: "queries/s",
130 + Dimensions: []Dimension{
131 + {Selector: "mysql_queries_total", Name: "total"},
132 + },
133 + },
134 + },
135 + },
136 + },
137 + },
138 + wantErr: true,
139 + errLike: "chart_defaults.instances.by_labels",
140 + },
141 "fails on empty metric name": {
142 spec: Spec{
143 Version: VersionV1,
src/go/plugin/go.d/README.md
+1
@@ -37,6 +37,7 @@ All capabilities are set automatically during Netdata installation using the [of
37 | [ap](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/ap) | Wireless AP |
38 | [apache](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/apache) | Apache |
39 | [apcupsd](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/apcupsd) | UPS (APC) |
40 +| [azure_monitor](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/azure_monitor) | Azure Monitor |
41 | [beanstalk](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/beanstalk) | Beanstalk |
42 | [bind](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/bind) | ISC Bind |
43 | [boinc](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/boinc) | BOINC |
src/go/plugin/go.d/collector/azure_monitor/azureprofiles/catalog.go new
+277
@@ -0,0 +1,277 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azureprofiles
4 +
5 +import (
6 + "bytes"
7 + "errors"
8 + "fmt"
9 + "io/fs"
10 + "os"
11 + "path/filepath"
12 + "runtime"
13 + "sort"
14 + "strings"
15 +
16 + "gopkg.in/yaml.v3"
17 +
18 + "github.com/netdata/netdata/go/plugins/pkg/executable"
19 + "github.com/netdata/netdata/go/plugins/pkg/pluginconfig"
20 +)
21 +
22 +const (
23 + profilesDirName = "azure_monitor.profiles"
24 +)
25 +
26 +type Catalog struct {
27 + byID map[string]Profile
28 + stockProfileIDs map[string]struct{}
29 +}
30 +
31 +type catalogEntry struct {
32 + Config Profile
33 + Path string
34 + IsStock bool
35 +}
36 +
37 +type DirSpec struct {
38 + Path string
39 + IsStock bool
40 +}
41 +
42 +func LoadFromDefaultDirs() (Catalog, error) {
43 + specs := defaultDirSpecs()
44 + if len(specs) == 0 {
45 + return Catalog{}, errors.New("no profile search directories configured")
46 + }
47 +
48 + catalog, err := LoadFromDirs(specs)
49 + if err != nil {
50 + return Catalog{}, err
51 + }
52 + if len(catalog.stockProfileIDs) == 0 {
53 + return Catalog{}, fmt.Errorf("no stock profiles found under %q", filepath.Join(pluginconfig.CollectorsStockDir(), profilesDirName, "default"))
54 + }
55 + return catalog, nil
56 +}
57 +
58 +func LoadFromDirs(specs []DirSpec) (Catalog, error) {
59 + catalog := Catalog{
60 + byID: make(map[string]Profile),
61 + stockProfileIDs: make(map[string]struct{}),
62 + }
63 + seen := make(map[string]catalogEntry)
64 +
65 + for _, spec := range specs {
66 + if strings.TrimSpace(spec.Path) == "" {
67 + continue
68 + }
69 + if !isDirExists(spec.Path) {
70 + if spec.IsStock {
71 + return Catalog{}, fmt.Errorf("stock profiles directory does not exist: %s", spec.Path)
72 + }
73 + continue
74 + }
75 +
76 + err := filepath.WalkDir(spec.Path, func(path string, d fs.DirEntry, err error) error {
77 + if err != nil {
78 + return err
79 + }
80 + if d.IsDir() {
81 + return nil
82 + }
83 +
84 + name := d.Name()
85 + ext := strings.ToLower(filepath.Ext(name))
86 + if ext != ".yaml" && ext != ".yml" {
87 + return nil
88 + }
89 + if strings.HasPrefix(name, "_") {
90 + return nil
91 + }
92 +
93 + cfg, err := loadProfileFile(path)
94 + if err != nil {
95 + return err
96 + }
97 +
98 + id := normalizeKey(cfg.ID)
99 + if id == "" {
100 + return fmt.Errorf("profile %q: decoded empty id", path)
101 + }
102 + if spec.IsStock {
103 + catalog.stockProfileIDs[id] = struct{}{}
104 + }
105 +
106 + prev, exists := seen[id]
107 + if !exists {
108 + seen[id] = catalogEntry{Config: cfg, Path: path, IsStock: spec.IsStock}
109 + return nil
110 + }
111 +
112 + switch {
113 + case prev.IsStock == spec.IsStock:
114 + scope := "user"
115 + if spec.IsStock {
116 + scope = "stock"
117 + }
118 + return fmt.Errorf("duplicate %s profile id %q in %q and %q", scope, id, prev.Path, path)
119 + case prev.IsStock && !spec.IsStock:
120 + seen[id] = catalogEntry{Config: cfg, Path: path, IsStock: false}
121 + case !prev.IsStock && spec.IsStock:
122 + // User overrides stock. Keep the existing user profile.
123 + }
124 +
125 + return nil
126 + })
127 + if err != nil {
128 + return Catalog{}, err
129 + }
130 + }
131 +
132 + if len(seen) == 0 {
133 + return Catalog{}, errors.New("no Azure Monitor profiles were loaded")
134 + }
135 +
136 + for id, entry := range seen {
137 + catalog.byID[id] = entry.Config
138 + }
139 +
140 + return catalog, nil
141 +}
142 +
143 +func loadProfileFile(path string) (Profile, error) {
144 + data, err := os.ReadFile(path)
145 + if err != nil {
146 + return Profile{}, err
147 + }
148 +
149 + var cfg Profile
150 + dec := yaml.NewDecoder(bytes.NewReader(data))
151 + dec.KnownFields(true)
152 + if err := dec.Decode(&cfg); err != nil {
153 + return Profile{}, fmt.Errorf("unmarshal profile %q: %w", path, err)
154 + }
155 +
156 + profileID := strings.TrimSpace(cfg.ID)
157 + if profileID == "" {
158 + return Profile{}, fmt.Errorf("validate profile %q: missing required field 'id'", path)
159 + }
160 + if err := cfg.Validate(fmt.Sprintf("profile %q", profileID)); err != nil {
161 + return Profile{}, fmt.Errorf("validate profile %q: %w", path, err)
162 + }
163 +
164 + return cfg, nil
165 +}
166 +
167 +func (c Catalog) DefaultProfileIDs() []string {
168 + if len(c.stockProfileIDs) == 0 {
169 + return nil
170 + }
171 +
172 + ids := make([]string, 0, len(c.stockProfileIDs))
173 + for id := range c.stockProfileIDs {
174 + ids = append(ids, id)
175 + }
176 + sort.Strings(ids)
177 + return ids
178 +}
179 +
180 +func (c Catalog) Resolve(profileIDs []string) ([]Profile, error) {
181 + if len(profileIDs) == 0 {
182 + return nil, errors.New("no Azure Monitor profiles selected")
183 + }
184 +
185 + profiles := make([]Profile, 0, len(profileIDs))
186 + for _, id := range profileIDs {
187 + normalizedID := normalizeKey(id)
188 + prof, ok := c.byID[normalizedID]
189 + if !ok {
190 + return nil, fmt.Errorf("unknown profile %q", id)
191 + }
192 + profiles = append(profiles, prof)
193 + }
194 + return profiles, nil
195 +}
196 +
197 +func (c Catalog) ProfilesForResourceTypes(types map[string]struct{}) []string {
198 + if len(types) == 0 {
199 + return nil
200 + }
201 +
202 + var ids []string
203 + for id, prof := range c.byID {
204 + rt := normalizeKey(prof.ResourceType)
205 + if rt == "" {
206 + continue
207 + }
208 + if _, ok := types[rt]; ok {
209 + ids = append(ids, id)
210 + }
211 + }
212 + sort.Strings(ids)
213 + return ids
214 +}
215 +
216 +func defaultDirSpecs() []DirSpec {
217 + if executable.Name == "test" {
218 + if dir := azureProfilesDirFromThisFile(); dir != "" {
219 + return []DirSpec{{Path: dir, IsStock: true}}
220 + }
221 + return nil
222 + }
223 +
224 + // Keep the adjacent stock-dir fast path for local development runs where the
225 + // built binary lives under src/go/plugin/go.d/bin and should use the source-tree
226 + // stock profiles without depending on installed pluginconfig paths.
227 + if dir := filepath.Join(executable.Directory, "../config/go.d", profilesDirName, "default"); isDirExists(dir) {
228 + return []DirSpec{{Path: dir, IsStock: true}}
229 + }
230 +
231 + specs := make([]DirSpec, 0, len(pluginconfig.CollectorsUserDirs())+1)
232 + for _, dir := range pluginconfig.CollectorsUserDirs() {
233 + specs = append(specs, DirSpec{
234 + Path: filepath.Join(dir, profilesDirName),
235 + IsStock: false,
236 + })
237 + }
238 + specs = append(specs, DirSpec{
239 + Path: filepath.Join(pluginconfig.CollectorsStockDir(), profilesDirName, "default"),
240 + IsStock: true,
241 + })
242 +
243 + return specs
244 +}
245 +
246 +func azureProfilesDirFromThisFile() string {
247 + _, thisFile, _, ok := runtime.Caller(0)
248 + if !ok {
249 + return ""
250 + }
251 +
252 + base := filepath.Dir(thisFile)
253 + candidates := []string{
254 + filepath.Join(base, "..", "..", "..", "config", "go.d", profilesDirName, "default"),
255 + }
256 +
257 + for _, candidate := range candidates {
258 + if !isDirExists(candidate) {
259 + continue
260 + }
261 + abs, _ := filepath.Abs(candidate)
262 + return abs
263 + }
264 + return ""
265 +}
266 +
267 +func isDirExists(dir string) bool {
268 + fi, err := os.Stat(dir)
269 + if err != nil {
270 + return false
271 + }
272 + return fi.Mode().IsDir()
273 +}
274 +
275 +func normalizeKey(v string) string {
276 + return strings.ToLower(strings.TrimSpace(v))
277 +}
src/go/plugin/go.d/collector/azure_monitor/azureprofiles/default_catalog.go new
+40
@@ -0,0 +1,40 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azureprofiles
4 +
5 +import (
6 + "sync"
7 +
8 + "github.com/netdata/netdata/go/plugins/pkg/executable"
9 +)
10 +
11 +var (
12 + defaultCatalogMu sync.Mutex
13 + defaultCatalog Catalog
14 + defaultCatalogLoaded bool
15 + defaultCatalogLoader = LoadFromDefaultDirs
16 + defaultCatalogCacheEnabled = func() bool { return executable.Name != "test" }
17 +)
18 +
19 +func DefaultCatalog() (Catalog, error) {
20 + if !defaultCatalogCacheEnabled() {
21 + return defaultCatalogLoader()
22 + }
23 +
24 + defaultCatalogMu.Lock()
25 + defer defaultCatalogMu.Unlock()
26 +
27 + if defaultCatalogLoaded {
28 + return defaultCatalog, nil
29 + }
30 +
31 + catalog, err := defaultCatalogLoader()
32 + if err != nil {
33 + return Catalog{}, err
34 + }
35 +
36 + defaultCatalog = catalog
37 + defaultCatalogLoaded = true
38 +
39 + return defaultCatalog, nil
40 +}
src/go/plugin/go.d/collector/azure_monitor/azureprofiles/default_catalog_test.go new
+137
@@ -0,0 +1,137 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azureprofiles
4 +
5 +import (
6 + "errors"
7 + "os"
8 + "path/filepath"
9 + "strings"
10 + "testing"
11 +
12 + "github.com/stretchr/testify/assert"
13 + "github.com/stretchr/testify/require"
14 +)
15 +
16 +func TestLoadFromDefaultDirs_LoadsAllStockProfiles(t *testing.T) {
17 + dir := azureProfilesDirFromThisFile()
18 + require.NotEmpty(t, dir)
19 +
20 + entries, err := os.ReadDir(dir)
21 + require.NoError(t, err)
22 +
23 + var want int
24 + for _, entry := range entries {
25 + if entry.IsDir() {
26 + continue
27 + }
28 + name := entry.Name()
29 + ext := strings.ToLower(filepath.Ext(name))
30 + if ext != ".yaml" && ext != ".yml" {
31 + continue
32 + }
33 + want++
34 + }
35 +
36 + catalog, err := LoadFromDefaultDirs()
37 + require.NoError(t, err)
38 +
39 + ids := catalog.DefaultProfileIDs()
40 + require.Len(t, ids, want)
41 +
42 + profiles, err := catalog.Resolve(ids)
43 + require.NoError(t, err)
44 + require.Len(t, profiles, want)
45 +}
46 +
47 +func TestDefaultCatalog_CachesSuccessfulLoads(t *testing.T) {
48 + calls := 0
49 + restore := stubDefaultCatalog(t, func() bool { return true }, func() (Catalog, error) {
50 + calls++
51 + return testCatalog("sql_database"), nil
52 + })
53 + defer restore()
54 +
55 + first, err := DefaultCatalog()
56 + require.NoError(t, err)
57 +
58 + second, err := DefaultCatalog()
59 + require.NoError(t, err)
60 +
61 + assert.Equal(t, 1, calls)
62 + assert.Equal(t, []string{"sql_database"}, first.DefaultProfileIDs())
63 + assert.Equal(t, []string{"sql_database"}, second.DefaultProfileIDs())
64 +}
65 +
66 +func TestDefaultCatalog_RetriesAfterFailure(t *testing.T) {
67 + calls := 0
68 + restore := stubDefaultCatalog(t, func() bool { return true }, func() (Catalog, error) {
69 + calls++
70 + if calls == 1 {
71 + return Catalog{}, errors.New("boom")
72 + }
73 + return testCatalog("postgres_flexible"), nil
74 + })
75 + defer restore()
76 +
77 + _, err := DefaultCatalog()
78 + require.Error(t, err)
79 +
80 + catalog, err := DefaultCatalog()
81 + require.NoError(t, err)
82 +
83 + assert.Equal(t, 2, calls)
84 + assert.Equal(t, []string{"postgres_flexible"}, catalog.DefaultProfileIDs())
85 +}
86 +
87 +func TestDefaultCatalog_DoesNotCacheWhenDisabled(t *testing.T) {
88 + calls := 0
89 + restore := stubDefaultCatalog(t, func() bool { return false }, func() (Catalog, error) {
90 + calls++
91 + return testCatalog("storage_accounts"), nil
92 + })
93 + defer restore()
94 +
95 + _, err := DefaultCatalog()
96 + require.NoError(t, err)
97 + _, err = DefaultCatalog()
98 + require.NoError(t, err)
99 +
100 + assert.Equal(t, 2, calls)
101 +}
102 +
103 +func stubDefaultCatalog(t *testing.T, cacheEnabled func() bool, loader func() (Catalog, error)) func() {
104 + t.Helper()
105 +
106 + defaultCatalogMu.Lock()
107 + prevCatalog := defaultCatalog
108 + prevLoaded := defaultCatalogLoaded
109 + prevLoader := defaultCatalogLoader
110 + prevEnabled := defaultCatalogCacheEnabled
111 +
112 + defaultCatalog = Catalog{}
113 + defaultCatalogLoaded = false
114 + defaultCatalogLoader = loader
115 + defaultCatalogCacheEnabled = cacheEnabled
116 + defaultCatalogMu.Unlock()
117 +
118 + return func() {
119 + defaultCatalogMu.Lock()
120 + defaultCatalog = prevCatalog
121 + defaultCatalogLoaded = prevLoaded
122 + defaultCatalogLoader = prevLoader
123 + defaultCatalogCacheEnabled = prevEnabled
124 + defaultCatalogMu.Unlock()
125 + }
126 +}
127 +
128 +func testCatalog(id string) Catalog {
129 + return Catalog{
130 + byID: map[string]Profile{
131 + id: {ID: id, Name: id},
132 + },
133 + stockProfileIDs: map[string]struct{}{
134 + id: {},
135 + },
136 + }
137 +}
src/go/plugin/go.d/collector/azure_monitor/azureprofiles/profile.go new
+234
@@ -0,0 +1,234 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azureprofiles
4 +
5 +import (
6 + "errors"
7 + "fmt"
8 + "regexp"
9 + "sort"
10 + "strings"
11 + "time"
12 +
13 + "github.com/netdata/netdata/go/plugins/plugin/framework/charttpl"
14 +)
15 +
16 +const (
17 + SeriesKindGauge = "gauge"
18 + SeriesKindCounter = "counter"
19 +)
20 +
21 +var (
22 + reResourceType = regexp.MustCompile(`^[A-Za-z0-9._/-]+$`)
23 + reIdentityID = regexp.MustCompile(`^[a-z][a-z0-9_]*$`)
24 +)
25 +
26 +var SupportedTimeGrains = map[string]time.Duration{
27 + "PT1M": time.Minute,
28 + "PT5M": 5 * time.Minute,
29 + "PT15M": 15 * time.Minute,
30 + "PT30M": 30 * time.Minute,
31 + "PT1H": time.Hour,
32 +}
33 +
34 +type Profile struct {
35 + ID string `yaml:"id" json:"id,omitempty"`
36 + Name string `yaml:"name" json:"name,omitempty"`
37 + ResourceType string `yaml:"resource_type" json:"resource_type,omitempty"`
38 + MetricNamespace string `yaml:"metric_namespace,omitempty" json:"metric_namespace,omitempty"`
39 + Metrics []Metric `yaml:"metrics" json:"metrics,omitempty"`
40 + Template charttpl.Group `yaml:"template" json:"template,omitempty"`
41 +}
42 +
43 +type Metric struct {
44 + ID string `yaml:"id" json:"id,omitempty"`
45 + AzureName string `yaml:"azure_name" json:"azure_name,omitempty"`
46 + TimeGrain string `yaml:"time_grain,omitempty" json:"time_grain,omitempty"`
47 + Series []MetricSeries `yaml:"series" json:"series,omitempty"`
48 +}
49 +
50 +type MetricSeries struct {
51 + Aggregation string `yaml:"aggregation" json:"aggregation,omitempty"`
52 + Kind string `yaml:"kind" json:"kind,omitempty"`
53 +}
54 +
55 +func (p Profile) Validate(prefix string) error {
56 + var errs []error
57 +
58 + if !IsValidIdentityID(p.ID) {
59 + errs = append(errs, fmt.Errorf("%s: 'id' must match %q", prefix, reIdentityID.String()))
60 + }
61 + if strings.TrimSpace(p.Name) == "" {
62 + errs = append(errs, fmt.Errorf("%s: 'name' is required", prefix))
63 + }
64 + if !IsValidResourceType(p.ResourceType) {
65 + errs = append(errs, fmt.Errorf("%s: 'resource_type' is invalid", prefix))
66 + }
67 + if strings.TrimSpace(p.MetricNamespace) != "" && !IsValidResourceType(p.MetricNamespace) {
68 + errs = append(errs, fmt.Errorf("%s: 'metric_namespace' is invalid", prefix))
69 + }
70 + if len(p.Metrics) == 0 {
71 + errs = append(errs, fmt.Errorf("%s: 'metrics' must contain at least one metric", prefix))
72 + }
73 + if len(p.Template.Metrics) > 0 {
74 + errs = append(errs, fmt.Errorf("%s: 'template.metrics' is collector-owned and must not be authored manually", prefix))
75 + }
76 + if countChartsInGroup(p.Template) == 0 {
77 + errs = append(errs, fmt.Errorf("%s: 'template' must contain at least one chart", prefix))
78 + }
79 +
80 + seenMetricIDs := map[string]struct{}{}
81 + seenAzureNames := map[string]struct{}{}
82 + for i, metric := range p.Metrics {
83 + if err := metric.validate(prefix, i); err != nil {
84 + errs = append(errs, err)
85 + }
86 +
87 + id := strings.ToLower(strings.TrimSpace(metric.ID))
88 + if id != "" {
89 + if _, ok := seenMetricIDs[id]; ok {
90 + errs = append(errs, fmt.Errorf("%s: duplicate metric id '%s'", prefix, metric.ID))
91 + }
92 + seenMetricIDs[id] = struct{}{}
93 + }
94 +
95 + azureName := strings.ToLower(strings.TrimSpace(metric.AzureName))
96 + if azureName != "" {
97 + if _, ok := seenAzureNames[azureName]; ok {
98 + errs = append(errs, fmt.Errorf("%s: duplicate azure metric name '%s'", prefix, metric.AzureName))
99 + }
100 + seenAzureNames[azureName] = struct{}{}
101 + }
102 + }
103 +
104 + if len(errs) == 0 {
105 + if err := validateTemplate(prefix, p); err != nil {
106 + errs = append(errs, err)
107 + }
108 + }
109 +
110 + return errors.Join(errs...)
111 +}
112 +
113 +func (m Metric) validate(profilePrefix string, idx int) error {
114 + prefix := fmt.Sprintf("%s.metrics[%d]", profilePrefix, idx)
115 + var errs []error
116 +
117 + if !IsValidIdentityID(m.ID) {
118 + errs = append(errs, fmt.Errorf("%s: 'id' must match %q", prefix, reIdentityID.String()))
119 + }
120 + if strings.TrimSpace(m.AzureName) == "" {
121 + errs = append(errs, fmt.Errorf("%s: 'azure_name' is required", prefix))
122 + }
123 + if strings.TrimSpace(m.TimeGrain) != "" {
124 + if _, ok := SupportedTimeGrains[strings.ToUpper(strings.TrimSpace(m.TimeGrain))]; !ok {
125 + errs = append(errs, fmt.Errorf("%s: unsupported time_grain '%s'", prefix, m.TimeGrain))
126 + }
127 + }
128 + if len(m.Series) == 0 {
129 + errs = append(errs, fmt.Errorf("%s: 'series' must contain at least one series", prefix))
130 + }
131 +
132 + seenAggregations := map[string]struct{}{}
133 + for i, series := range m.Series {
134 + if err := series.validate(prefix, i); err != nil {
135 + errs = append(errs, err)
136 + }
137 + aggregation := NormalizeAggregation(series.Aggregation)
138 + if aggregation == "" {
139 + continue
140 + }
141 + if _, ok := seenAggregations[aggregation]; ok {
142 + errs = append(errs, fmt.Errorf("%s: duplicate series aggregation '%s'", prefix, aggregation))
143 + continue
144 + }
145 + seenAggregations[aggregation] = struct{}{}
146 + }
147 +
148 + return errors.Join(errs...)
149 +}
150 +
151 +func (s MetricSeries) validate(metricPrefix string, idx int) error {
152 + prefix := fmt.Sprintf("%s.series[%d]", metricPrefix, idx)
153 + var errs []error
154 +
155 + if NormalizeAggregation(s.Aggregation) == "" {
156 + errs = append(errs, fmt.Errorf("%s: 'aggregation' must be one of average, minimum, maximum, total, count", prefix))
157 + }
158 + if NormalizeSeriesKind(s.Kind) == "" {
159 + errs = append(errs, fmt.Errorf("%s: 'kind' must be one of %q or %q", prefix, SeriesKindGauge, SeriesKindCounter))
160 + }
161 +
162 + return errors.Join(errs...)
163 +}
164 +
165 +func ExportedSeriesName(profileID, metricID, aggregation string) string {
166 + return strings.TrimSpace(profileID) + "." + strings.TrimSpace(metricID) + "_" + NormalizeAggregation(aggregation)
167 +}
168 +
169 +func NormalizeAggregation(v string) string {
170 + switch strings.ToLower(strings.TrimSpace(v)) {
171 + case "average":
172 + return "average"
173 + case "minimum", "min":
174 + return "minimum"
175 + case "maximum", "max":
176 + return "maximum"
177 + case "total", "sum":
178 + return "total"
179 + case "count":
180 + return "count"
181 + default:
182 + return ""
183 + }
184 +}
185 +
186 +func NormalizeSeriesKind(v string) string {
187 + switch strings.ToLower(strings.TrimSpace(v)) {
188 + case SeriesKindGauge:
189 + return SeriesKindGauge
190 + case SeriesKindCounter:
191 + return SeriesKindCounter
192 + default:
193 + return ""
194 + }
195 +}
196 +
197 +func IsValidIdentityID(v string) bool {
198 + return reIdentityID.MatchString(strings.TrimSpace(v))
199 +}
200 +
201 +func IsValidResourceType(v string) bool {
202 + return reResourceType.MatchString(strings.TrimSpace(v))
203 +}
204 +
205 +func validateTemplate(prefix string, profile Profile) error {
206 + visibleMetrics := make([]string, 0)
207 + for _, metric := range profile.Metrics {
208 + for _, series := range metric.Series {
209 + visibleMetrics = append(visibleMetrics, ExportedSeriesName(profile.ID, metric.ID, series.Aggregation))
210 + }
211 + }
212 + sort.Strings(visibleMetrics)
213 +
214 + root := profile.Template
215 + root.Metrics = visibleMetrics
216 +
217 + spec := charttpl.Spec{
218 + Version: charttpl.VersionV1,
219 + ContextNamespace: "azure_monitor",
220 + Groups: []charttpl.Group{root},
221 + }
222 + if err := spec.Validate(); err != nil {
223 + return fmt.Errorf("%s.template: %w", prefix, err)
224 + }
225 + return nil
226 +}
227 +
228 +func countChartsInGroup(group charttpl.Group) int {
229 + total := len(group.Charts)
230 + for _, child := range group.Groups {
231 + total += countChartsInGroup(child)
232 + }
233 + return total
234 +}
src/go/plugin/go.d/collector/azure_monitor/clients.go new
+43
@@ -0,0 +1,43 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azure_monitor
4 +
5 +import (
6 + "context"
7 + "fmt"
8 +
9 + "github.com/Azure/azure-sdk-for-go/sdk/azcore"
10 + "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
11 + azcloud "github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud"
12 + "github.com/Azure/azure-sdk-for-go/sdk/monitor/query/azmetrics"
13 + "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcegraph/armresourcegraph"
14 +)
15 +
16 +type resourceGraphClient interface {
17 + Resources(ctx context.Context, query armresourcegraph.QueryRequest, options *armresourcegraph.ClientResourcesOptions) (armresourcegraph.ClientResourcesResponse, error)
18 +}
19 +
20 +type metricsQueryClient interface {
21 + QueryResources(ctx context.Context, subscriptionID string, metricNamespace string, metricNames []string, resourceIDs azmetrics.ResourceIDList, options *azmetrics.QueryResourcesOptions) (azmetrics.QueryResourcesResponse, error)
22 +}
23 +
24 +type armClientOptions struct {
25 + Cloud azcloud.Configuration
26 +}
27 +
28 +func (a armClientOptions) toARM() *arm.ClientOptions {
29 + return &arm.ClientOptions{ClientOptions: azcore.ClientOptions{Cloud: a.Cloud}}
30 +}
31 +
32 +func cloudConfigFromName(name string) (azcloud.Configuration, error) {
33 + switch stringsLowerTrim(name) {
34 + case cloudPublic, "":
35 + return azcloud.AzurePublic, nil
36 + case cloudGovernment:
37 + return azcloud.AzureGovernment, nil
38 + case cloudChina:
39 + return azcloud.AzureChina, nil
40 + default:
41 + return azcloud.Configuration{}, fmt.Errorf("unsupported cloud %q", name)
42 + }
43 +}
src/go/plugin/go.d/collector/azure_monitor/collect.go new
+81
@@ -0,0 +1,81 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azure_monitor
4 +
5 +import (
6 + "context"
7 + "errors"
8 + "fmt"
9 + "time"
10 +)
11 +
12 +func (c *Collector) collect(ctx context.Context) error {
13 + resources, err := c.refreshCollectResources(ctx)
14 + if err != nil {
15 + return err
16 + }
17 + if len(resources) == 0 {
18 + return nil
19 + }
20 +
21 + now := c.now()
22 + queryBatches := c.buildQueryBatches(resources, now)
23 +
24 + dueInstruments := dueInstrumentsForBatches(queryBatches)
25 + samples, err := c.collectQuerySamples(ctx, queryBatches, queryEndForCollect(now, c.QueryOffset))
26 + if err != nil {
27 + return err
28 + }
29 +
30 + observedThisCycle := c.observations.observeSamples(samples)
31 + c.observations.reobserveCachedObservations(dueInstruments, observedThisCycle)
32 +
33 + return nil
34 +}
35 +
36 +func (c *Collector) refreshCollectResources(ctx context.Context) ([]resourceInfo, error) {
37 + prevFetchCounter := c.discovery.FetchCounter
38 + resources, err := c.refreshDiscovery(ctx, false)
39 + if err != nil {
40 + return nil, fmt.Errorf("resource discovery: %w", err)
41 + }
42 + if c.discovery.FetchCounter != prevFetchCounter {
43 + c.observations.pruneStaleResources(resources)
44 + }
45 + return resources, nil
46 +}
47 +
48 +func (c *Collector) collectQuerySamples(ctx context.Context, batches []queryBatch, queryEnd time.Time) ([]metricSample, error) {
49 + if len(batches) == 0 {
50 + return nil, nil
51 + }
52 +
53 + results := c.queryExecutor.runQueryBatches(ctx, batches, queryEnd)
54 +
55 + var (
56 + allSamples []metricSample
57 + errCount int
58 + )
59 + for _, res := range results {
60 + if res.Err != nil {
61 + errCount++
62 + c.Warningf("collection batch failed: %v", res.Err)
63 + continue
64 + }
65 + allSamples = append(allSamples, res.Samples...)
66 + }
67 +
68 + if errCount == len(results) {
69 + return nil, errors.New("all Azure Monitor batch queries failed")
70 + }
71 +
72 + return allSamples, nil
73 +}
74 +
75 +func queryEndForCollect(now time.Time, queryOffsetSeconds int) time.Time {
76 + queryEnd := now.Add(-secondsToDuration(queryOffsetSeconds))
77 + if queryEnd.IsZero() {
78 + return now
79 + }
80 + return queryEnd
81 +}
src/go/plugin/go.d/collector/azure_monitor/collector.go new
+131
@@ -0,0 +1,131 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azure_monitor
4 +
5 +import (
6 + "context"
7 + _ "embed"
8 + "errors"
9 + "time"
10 +
11 + "github.com/Azure/azure-sdk-for-go/sdk/azcore"
12 + azcloud "github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud"
13 +
14 + "github.com/netdata/netdata/go/plugins/pkg/metrix"
15 + "github.com/netdata/netdata/go/plugins/plugin/framework/collectorapi"
16 + "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/azure_monitor/azureprofiles"
17 +)
18 +
19 +//go:embed "config_schema.json"
20 +var configSchema string
21 +
22 +func init() {
23 + collectorapi.Register("azure_monitor", collectorapi.Creator{
24 + JobConfigSchema: configSchema,
25 + Defaults: collectorapi.Defaults{
26 + UpdateEvery: defaultUpdateEvery,
27 + AutoDetectionRetry: defaultAutoDetectRetry,
28 + },
29 + CreateV2: func() collectorapi.CollectorV2 { return New() },
30 + Config: func() any { return &Config{} },
31 + })
32 +}
33 +
34 +func New() *Collector {
35 + store := metrix.NewCollectorStore()
36 + c := &Collector{
37 + Config: Config{
38 + UpdateEvery: defaultUpdateEvery,
39 + AutoDetectionRetry: defaultAutoDetectRetry,
40 + Cloud: defaultCloud,
41 + DiscoveryEvery: defaultDiscoveryEvery,
42 + QueryOffset: defaultQueryOffset,
43 + Timeout: defaultTimeout,
44 + MaxConcurrency: defaultMaxConcurrency,
45 + MaxBatchResources: defaultMaxBatchResource,
46 + MaxMetricsPerQuery: defaultMaxMetricsQuery,
47 + },
48 + store: store,
49 + now: time.Now,
50 + newResourceGraph: defaultNewResourceGraphClient,
51 + newMetricsClient: defaultNewMetricsClient,
52 + loadProfileCatalog: azureprofiles.DefaultCatalog,
53 + nextCollectByGrain: make(map[string]time.Time),
54 + }
55 + return c
56 +}
57 +
58 +type Collector struct {
59 + collectorapi.Base
60 + Config `yaml:",inline" json:""`
61 +
62 + store metrix.CollectorStore
63 +
64 + resourceGraph resourceGraphClient
65 + queryExecutor *queryExecutor
66 + observations *observationState
67 +
68 + runtime *collectorRuntime
69 +
70 + discovery discoveryState
71 +
72 + now func() time.Time
73 +
74 + newResourceGraph func(subscriptionID string, cred azcore.TokenCredential, cloud azcloud.Configuration) (resourceGraphClient, error)
75 + newMetricsClient func(endpoint string, cred azcore.TokenCredential, cloud azcloud.Configuration) (metricsQueryClient, error)
76 + loadProfileCatalog func() (azureprofiles.Catalog, error)
77 +
78 + nextCollectByGrain map[string]time.Time
79 +}
80 +
81 +func (c *Collector) Init(ctx context.Context) error {
82 + result, err := c.prepareInitResult(ctx)
83 + if err != nil {
84 + return err
85 + }
86 +
87 + if err := c.initInstruments(result.runtime); err != nil {
88 + return err
89 + }
90 +
91 + c.Config = result.config
92 + c.resourceGraph = result.resourceGraph
93 + c.queryExecutor = result.queryExecutor
94 + c.observations = newObservationState(result.runtime.Instruments)
95 + c.runtime = result.runtime
96 +
97 + return nil
98 +}
99 +
100 +func (c *Collector) Configuration() any { return c.Config }
101 +
102 +func (c *Collector) Check(ctx context.Context) error {
103 + resources, err := c.refreshDiscovery(ctx, true)
104 + if err != nil {
105 + return err
106 + }
107 + if len(resources) == 0 {
108 + return errors.New("no Azure resources discovered for the configured profiles")
109 + }
110 + return nil
111 +}
112 +
113 +func (c *Collector) Collect(ctx context.Context) error { return c.collect(ctx) }
114 +
115 +func (c *Collector) Cleanup(context.Context) {
116 + if c.queryExecutor != nil {
117 + c.queryExecutor.reset()
118 + }
119 + if c.observations != nil {
120 + c.observations.reset()
121 + }
122 +}
123 +
124 +func (c *Collector) MetricStore() metrix.CollectorStore { return c.store }
125 +
126 +func (c *Collector) ChartTemplateYAML() string {
127 + if c.runtime == nil {
128 + return ""
129 + }
130 + return c.runtime.ChartTemplateYAML
131 +}
src/go/plugin/go.d/collector/azure_monitor/collector_runtime.go new
+104
@@ -0,0 +1,104 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azure_monitor
4 +
5 +import (
6 + "time"
7 +
8 + "github.com/netdata/netdata/go/plugins/pkg/metrix"
9 + "github.com/netdata/netdata/go/plugins/plugin/framework/charttpl"
10 + "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/azure_monitor/azureprofiles"
11 +)
12 +
13 +type collectorRuntime struct {
14 + Profiles []*profileRuntime
15 + ChartTemplateYAML string
16 + Instruments map[string]*instrumentRuntime
17 +}
18 +
19 +type profileRuntime struct {
20 + ID string
21 + Name string
22 + ResourceType string
23 + MetricNamespace string
24 + Metrics []*metricRuntime
25 + Template charttpl.Group
26 +}
27 +
28 +type metricRuntime struct {
29 + ID string
30 + AzureName string
31 + TimeGrain string
32 + TimeGrainEvery time.Duration
33 + Series []*seriesRuntime
34 +}
35 +
36 +type seriesRuntime struct {
37 + Aggregation string
38 + Kind string
39 + Instrument string
40 +}
41 +
42 +type instrumentRuntime struct {
43 + Kind string
44 + Gauge metrix.SnapshotGaugeVec
45 + Counter metrix.SnapshotCounterVec
46 +}
47 +
48 +func (i *instrumentRuntime) observe(labelValues []string, value float64) {
49 + if i == nil {
50 + return
51 + }
52 + switch i.Kind {
53 + case azureprofiles.SeriesKindCounter:
54 + i.Counter.WithLabelValues(labelValues...).ObserveTotal(value)
55 + default:
56 + i.Gauge.WithLabelValues(labelValues...).Observe(value)
57 + }
58 +}
59 +
60 +type discoveryState struct {
61 + Resources []resourceInfo
62 + ByType map[string][]resourceInfo
63 + ExpiresAt time.Time
64 + FetchedAt time.Time
65 + FetchCounter uint64
66 +}
67 +
68 +type resourceInfo struct {
69 + ID string
70 + UID string
71 + Name string
72 + Type string
73 + ResourceGroup string
74 + Region string
75 +}
76 +
77 +type queryBatch struct {
78 + Profile *profileRuntime
79 + Metrics []*metricRuntime
80 + MetricNames []string
81 + Aggregations []string
82 + TimeGrain string
83 + TimeGrainEvery time.Duration
84 + Region string
85 + Resources []resourceInfo
86 +}
87 +
88 +type metricSample struct {
89 + Instrument string
90 + Kind string
91 + Labels metrix.Labels
92 + Value float64
93 +}
94 +
95 +type queryBatchResult struct {
96 + Samples []metricSample
97 + Err error
98 +}
99 +
100 +type lastObservation struct {
101 + instrument string
102 + labelValues []string
103 + value float64
104 +}
src/go/plugin/go.d/collector/azure_monitor/collector_test.go new
+761
@@ -0,0 +1,761 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azure_monitor
4 +
5 +import (
6 + "context"
7 + "os"
8 + "path/filepath"
9 + "sync"
10 + "testing"
11 + "time"
12 +
13 + "github.com/Azure/azure-sdk-for-go/sdk/azcore"
14 + azcloud "github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud"
15 + "github.com/Azure/azure-sdk-for-go/sdk/monitor/query/azmetrics"
16 + "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcegraph/armresourcegraph"
17 + "github.com/netdata/netdata/go/plugins/pkg/confopt"
18 + "github.com/netdata/netdata/go/plugins/pkg/metrix"
19 + "github.com/netdata/netdata/go/plugins/plugin/framework/chartengine"
20 + "github.com/netdata/netdata/go/plugins/plugin/framework/charttpl"
21 + "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/azure_monitor/azureprofiles"
22 + "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/cloudauth"
23 + "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/collecttest"
24 + "github.com/stretchr/testify/assert"
25 + "github.com/stretchr/testify/require"
26 +)
27 +
28 +var (
29 + dataConfigJSON, _ = os.ReadFile("testdata/config.json")
30 + dataConfigYAML, _ = os.ReadFile("testdata/config.yaml")
31 +)
32 +
33 +func Test_testDataIsValid(t *testing.T) {
34 + for name, data := range map[string][]byte{
35 + "dataConfigJSON": dataConfigJSON,
36 + "dataConfigYAML": dataConfigYAML,
37 + } {
38 + require.NotNil(t, data, name)
39 + }
40 +}
41 +
42 +func TestCollector_ConfigurationSerialize(t *testing.T) {
43 + collecttest.TestConfigurationSerialize(t, &Collector{}, dataConfigJSON, dataConfigYAML)
44 +}
45 +
46 +func TestCollector_Init(t *testing.T) {
47 + tests := map[string]struct {
48 + cfg Config
49 + wantFail bool
50 + }{
51 + "fails on invalid config": {
52 + cfg: Config{
53 + UpdateEvery: 1,
54 + },
55 + wantFail: true,
56 + },
57 + "success on valid config": {
58 + cfg: testConfig(),
59 + wantFail: false,
60 + },
61 + "fails on negative timeout": {
62 + cfg: Config{
63 + SubscriptionID: "sub-1",
64 + Timeout: confopt.Duration(-time.Second),
65 + Profiles: []string{"postgres_flexible"},
66 + Auth: cloudauth.AzureADAuthConfig{
67 + Mode: cloudauth.AzureADAuthModeDefault,
68 + },
69 + },
70 + wantFail: true,
71 + },
72 + }
73 +
74 + for name, tc := range tests {
75 + t.Run(name, func(t *testing.T) {
76 + rg := &mockResourceGraph{}
77 + mx := &mockMetricsClient{}
78 +
79 + c := New()
80 + c.Config = tc.cfg
81 + c.newResourceGraph = func(string, azcore.TokenCredential, azcloud.Configuration) (resourceGraphClient, error) {
82 + return rg, nil
83 + }
84 + c.newMetricsClient = func(string, azcore.TokenCredential, azcloud.Configuration) (metricsQueryClient, error) {
85 + return mx, nil
86 + }
87 +
88 + err := c.Init(context.Background())
89 + if tc.wantFail {
90 + assert.Error(t, err)
91 + return
92 + }
93 + require.NoError(t, err)
94 + })
95 + }
96 +}
97 +
98 +func TestCollector_InitAuthValidation(t *testing.T) {
99 + tests := map[string]struct {
100 + auth cloudauth.AzureADAuthConfig
101 + wantErrContain string
102 + }{
103 + "missing mode": {
104 + auth: cloudauth.AzureADAuthConfig{},
105 + wantErrContain: "auth.mode is required",
106 + },
107 + "missing service principal secret": {
108 + auth: cloudauth.AzureADAuthConfig{
109 + Mode: cloudauth.AzureADAuthModeServicePrincipal,
110 + ModeServicePrincipal: &cloudauth.AzureADModeServicePrincipalConfig{
111 + TenantID: "tenant",
112 + ClientID: "client",
113 + },
114 + },
115 + wantErrContain: "auth.mode_service_principal.client_secret is required",
116 + },
117 + }
118 +
119 + for name, tc := range tests {
120 + t.Run(name, func(t *testing.T) {
121 + c := New()
122 + c.Config = testConfig()
123 + c.Config.Auth = tc.auth
124 + c.newResourceGraph = func(string, azcore.TokenCredential, azcloud.Configuration) (resourceGraphClient, error) {
125 + return &mockResourceGraph{}, nil
126 + }
127 + c.newMetricsClient = func(string, azcore.TokenCredential, azcloud.Configuration) (metricsQueryClient, error) {
128 + return &mockMetricsClient{}, nil
129 + }
130 +
131 + err := c.Init(context.Background())
132 + require.Error(t, err)
133 + assert.ErrorContains(t, err, tc.wantErrContain)
134 + assert.NotContains(t, err.Error(), "cloud_auth.azure_ad")
135 + })
136 + }
137 +}
138 +
139 +func TestCollector_UsesConfiguredTimeout(t *testing.T) {
140 + const timeout = 7 * time.Second
141 +
142 + now := time.Date(2026, 3, 7, 12, 0, 0, 0, time.UTC)
143 +
144 + tests := map[string]struct {
145 + setup func(*Collector, *mockResourceGraph, *mockMetricsClient)
146 + act func(context.Context, *Collector) error
147 + deadline func(*mockResourceGraph, *mockMetricsClient) (time.Duration, bool)
148 + }{
149 + "init auto-discovery": {
150 + setup: func(c *Collector, rg *mockResourceGraph, mx *mockMetricsClient) {
151 + c.Config = testConfig()
152 + c.Config.Timeout = confopt.Duration(timeout)
153 + c.Config.Profiles = []string{"auto"}
154 + rg.resources = []map[string]any{
155 + {"type": "microsoft.dbforpostgresql/flexibleservers", "count_": int64(1)},
156 + }
157 + },
158 + act: func(ctx context.Context, c *Collector) error {
159 + return c.Init(ctx)
160 + },
161 + deadline: func(rg *mockResourceGraph, _ *mockMetricsClient) (time.Duration, bool) {
162 + return rg.lastTimeout()
163 + },
164 + },
165 + "resource discovery refresh": {
166 + setup: func(c *Collector, rg *mockResourceGraph, mx *mockMetricsClient) {
167 + c.Config = testConfig()
168 + c.Config.Timeout = confopt.Duration(timeout)
169 + rg.resources = []map[string]any{
170 + {
171 + "id": "/subscriptions/sub-1/resourceGroups/rg-a/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-a",
172 + "name": "pg-a",
173 + "type": "Microsoft.DBforPostgreSQL/flexibleServers",
174 + "resourceGroup": "rg-a",
175 + "location": "eastus",
176 + },
177 + }
178 + },
179 + act: func(ctx context.Context, c *Collector) error {
180 + if err := c.Init(ctx); err != nil {
181 + return err
182 + }
183 + _, err := c.refreshDiscovery(ctx, true)
184 + return err
185 + },
186 + deadline: func(rg *mockResourceGraph, _ *mockMetricsClient) (time.Duration, bool) {
187 + return rg.lastTimeout()
188 + },
189 + },
190 + "metrics query": {
191 + setup: func(c *Collector, rg *mockResourceGraph, mx *mockMetricsClient) {
192 + c.Config = testConfig()
193 + c.Config.Timeout = confopt.Duration(timeout)
194 + c.now = func() time.Time { return now }
195 + rg.resources = []map[string]any{
196 + {
197 + "id": "/subscriptions/sub-1/resourceGroups/rg-a/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-a",
198 + "name": "pg-a",
199 + "type": "Microsoft.DBforPostgreSQL/flexibleServers",
200 + "resourceGroup": "rg-a",
201 + "location": "eastus",
202 + },
203 + }
204 + mx.queryResponse = azmetrics.QueryResourcesResponse{MetricResults: azmetrics.MetricResults{Values: []azmetrics.MetricData{
205 + {
206 + ResourceID: ptrString("/subscriptions/sub-1/resourcegroups/rg-a/providers/microsoft.dbforpostgresql/flexibleservers/pg-a"),
207 + Values: []azmetrics.Metric{
208 + metricWithAvg("cpu_percent", now, 21.5),
209 + },
210 + },
211 + }}}
212 + },
213 + act: func(ctx context.Context, c *Collector) error {
214 + if err := c.Init(ctx); err != nil {
215 + return err
216 + }
217 + _, err := collecttest.CollectScalarSeries(c, metrix.ReadRaw())
218 + return err
219 + },
220 + deadline: func(_ *mockResourceGraph, mx *mockMetricsClient) (time.Duration, bool) {
221 + return mx.lastTimeout()
222 + },
223 + },
224 + }
225 +
226 + for name, tc := range tests {
227 + t.Run(name, func(t *testing.T) {
228 + rg := &mockResourceGraph{}
229 + mx := &mockMetricsClient{}
230 +
231 + c := New()
232 + tc.setup(c, rg, mx)
233 + c.newResourceGraph = func(string, azcore.TokenCredential, azcloud.Configuration) (resourceGraphClient, error) {
234 + return rg, nil
235 + }
236 + c.newMetricsClient = func(string, azcore.TokenCredential, azcloud.Configuration) (metricsQueryClient, error) {
237 + return mx, nil
238 + }
239 +
240 + require.NoError(t, tc.act(context.Background(), c))
241 +
242 + got, ok := tc.deadline(rg, mx)
243 + require.True(t, ok)
244 + assertTimeoutClose(t, got, timeout)
245 + })
246 + }
247 +}
248 +
249 +func TestCollector_ChartTemplateYAML(t *testing.T) {
250 + c := New()
251 + c.Config = testConfig()
252 + c.newResourceGraph = func(string, azcore.TokenCredential, azcloud.Configuration) (resourceGraphClient, error) {
253 + return &mockResourceGraph{}, nil
254 + }
255 + c.newMetricsClient = func(string, azcore.TokenCredential, azcloud.Configuration) (metricsQueryClient, error) {
256 + return &mockMetricsClient{}, nil
257 + }
258 +
259 + require.NoError(t, c.Init(context.Background()))
260 +
261 + tpl := c.ChartTemplateYAML()
262 + collecttest.AssertChartTemplateSchema(t, tpl)
263 +
264 + spec, err := charttpl.DecodeYAML([]byte(tpl))
265 + require.NoError(t, err)
266 + require.NoError(t, spec.Validate())
267 +
268 + _, err = chartengine.Compile(spec, 1)
269 + require.NoError(t, err)
270 +}
271 +
272 +func TestCollector_Collect(t *testing.T) {
273 + now := time.Date(2026, 3, 7, 12, 0, 0, 0, time.UTC)
274 +
275 + rg := &mockResourceGraph{
276 + resources: []map[string]any{
277 + {
278 + "id": "/subscriptions/sub-1/resourceGroups/rg-a/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-a",
279 + "name": "pg-a",
280 + "type": "Microsoft.DBforPostgreSQL/flexibleServers",
281 + "resourceGroup": "rg-a",
282 + "location": "eastus",
283 + },
284 + {
285 + "id": "/subscriptions/sub-1/resourceGroups/rg-b/providers/Microsoft.DBforPostgreSQL/flexibleServers/pg-b",
286 + "name": "pg-b",
287 + "type": "Microsoft.DBforPostgreSQL/flexibleServers",
288 + "resourceGroup": "rg-b",
289 + "location": "eastus",
290 + },
291 + },
292 + }
293 +
294 + mx := &mockMetricsClient{
295 + queryResponse: azmetrics.QueryResourcesResponse{MetricResults: azmetrics.MetricResults{Values: []azmetrics.MetricData{
296 + {
297 + ResourceID: ptrString("/subscriptions/sub-1/resourcegroups/rg-a/providers/microsoft.dbforpostgresql/flexibleservers/pg-a"),
298 + Values: []azmetrics.Metric{
299 + metricWithAvg("cpu_percent", now, 21.5),
300 + metricWithAvg("storage_percent", now, 61.2),
301 + },
302 + },
303 + {
304 + ResourceID: ptrString("/subscriptions/sub-1/resourcegroups/rg-b/providers/microsoft.dbforpostgresql/flexibleservers/pg-b"),
305 + Values: []azmetrics.Metric{
306 + metricWithAvg("cpu_percent", now, 33.1),
307 + metricWithAvg("storage_percent", now, 72.8),
308 + },
309 + },
310 + }}},
311 + }
312 +
313 + c := New()
314 + c.Config = testConfig()
315 + c.now = func() time.Time { return now }
316 + c.newResourceGraph = func(string, azcore.TokenCredential, azcloud.Configuration) (resourceGraphClient, error) {
317 + return rg, nil
318 + }
319 + c.newMetricsClient = func(string, azcore.TokenCredential, azcloud.Configuration) (metricsQueryClient, error) {
320 + return mx, nil
321 + }
322 +
323 + require.NoError(t, c.Init(context.Background()))
324 +
325 + series, err := collecttest.CollectScalarSeries(c, metrix.ReadRaw())
326 + require.NoError(t, err)
327 +
328 + assert.GreaterOrEqual(t, len(series), 4)
329 + assert.GreaterOrEqual(t, rg.calls(), 1)
330 + assert.GreaterOrEqual(t, mx.calls(), 1)
331 +}
332 +
333 +func TestCollector_TimeGrainScheduling(t *testing.T) {
334 + now := time.Date(2026, 3, 7, 12, 0, 0, 0, time.UTC)
335 +
336 + rg := &mockResourceGraph{
337 + resources: []map[string]any{
338 + {
339 + "id": "/subscriptions/sub-1/resourceGroups/rg-a/providers/Microsoft.Storage/storageAccounts/st-a",
340 + "name": "st-a",
341 + "type": "Microsoft.Storage/storageAccounts",
342 + "resourceGroup": "rg-a",
343 + "location": "eastus",
344 + },
345 + },
346 + }
347 +
348 + mx := &mockMetricsClient{
349 + queryResponse: azmetrics.QueryResourcesResponse{MetricResults: azmetrics.MetricResults{Values: []azmetrics.MetricData{
350 + {
351 + ResourceID: ptrString("/subscriptions/sub-1/resourcegroups/rg-a/providers/microsoft.storage/storageaccounts/st-a"),
352 + Values: []azmetrics.Metric{
353 + metricWithAvg("UsedCapacity", now, 100),
354 + },
355 + },
356 + }}},
357 + }
358 +
359 + cfg := testConfig()
360 + cfg.Profiles = []string{"storage_slow"}
361 +
362 + catalog := mustLoadStockCatalog(t, map[string]string{
363 + "storage_slow.yaml": `
364 +id: storage_slow
365 +name: Azure Storage Slow
366 +resource_type: Microsoft.Storage/storageAccounts
367 +metrics:
368 + - id: used_capacity
369 + azure_name: UsedCapacity
370 + time_grain: PT5M
371 + series:
372 + - aggregation: average
373 + kind: gauge
374 +template:
375 + family: Azure Storage Slow
376 + context_namespace: storage_slow
377 + charts:
378 + - id: am_storage_slow_used_capacity
379 + title: Azure Storage Slow Used Capacity
380 + context: used_capacity
381 + family: Capacity
382 + type: line
383 + units: bytes
384 + algorithm: absolute
385 + label_promotion: [resource_name, resource_group, region, resource_type, profile]
386 + instances:
387 + by_labels: [resource_uid]
388 + dimensions:
389 + - selector: ` + azureprofiles.ExportedSeriesName("storage_slow", "used_capacity", "average") + `
390 + name: average
391 +`,
392 + })
393 +
394 + c := New()
395 + c.Config = cfg
396 + c.now = func() time.Time { return now }
397 + c.loadProfileCatalog = func() (azureprofiles.Catalog, error) {
398 + return catalog, nil
399 + }
400 + c.newResourceGraph = func(string, azcore.TokenCredential, azcloud.Configuration) (resourceGraphClient, error) {
401 + return rg, nil
402 + }
403 + c.newMetricsClient = func(string, azcore.TokenCredential, azcloud.Configuration) (metricsQueryClient, error) {
404 + return mx, nil
405 + }
406 +
407 + require.NoError(t, c.Init(context.Background()))
408 +
409 + _, err := collecttest.CollectScalarSeries(c, metrix.ReadRaw())
410 + require.NoError(t, err)
411 +
412 + _, err = collecttest.CollectScalarSeries(c, metrix.ReadRaw())
413 + require.NoError(t, err)
414 +
415 + assert.Equal(t, 1, mx.calls())
416 +}
417 +
418 +func TestCollector_InitAutoDiscover(t *testing.T) {
419 + rg := &mockResourceGraph{
420 + resources: []map[string]any{
421 + {"type": "microsoft.dbforpostgresql/flexibleservers", "count_": int64(2)},
422 + },
423 + }
424 +
425 + c := New()
426 + c.Config = testConfig()
427 + c.Config.Profiles = []string{"auto"}
428 + c.newResourceGraph = func(string, azcore.TokenCredential, azcloud.Configuration) (resourceGraphClient, error) {
429 + return rg, nil
430 + }
431 + c.newMetricsClient = func(string, azcore.TokenCredential, azcloud.Configuration) (metricsQueryClient, error) {
432 + return &mockMetricsClient{}, nil
433 + }
434 +
435 + require.NoError(t, c.Init(context.Background()))
436 + assert.Contains(t, c.Config.Profiles, "postgres_flexible")
437 +}
438 +
439 +func TestCollector_InitAutoDiscoverWithExplicit(t *testing.T) {
440 + rg := &mockResourceGraph{
441 + resources: []map[string]any{
442 + {"type": "microsoft.dbforpostgresql/flexibleservers", "count_": int64(2)},
443 + },
444 + }
445 +
446 + c := New()
447 + c.Config = testConfig()
448 + c.Config.Profiles = []string{"auto", "cosmos_db"}
449 + c.newResourceGraph = func(string, azcore.TokenCredential, azcloud.Configuration) (resourceGraphClient, error) {
450 + return rg, nil
451 + }
452 + c.newMetricsClient = func(string, azcore.TokenCredential, azcloud.Configuration) (metricsQueryClient, error) {
453 + return &mockMetricsClient{}, nil
454 + }
455 +
456 + require.NoError(t, c.Init(context.Background()))
457 + assert.Contains(t, c.Config.Profiles, "cosmos_db")
458 + assert.Contains(t, c.Config.Profiles, "postgres_flexible")
459 +}
460 +
461 +func TestCollector_InitEmptyProfilesDefaultsToAuto(t *testing.T) {
462 + c := New()
463 + c.Config = testConfig()
464 + c.Config.Profiles = []string{}
465 + c.newResourceGraph = func(string, azcore.TokenCredential, azcloud.Configuration) (resourceGraphClient, error) {
466 + return &mockResourceGraph{}, nil
467 + }
468 + c.newMetricsClient = func(string, azcore.TokenCredential, azcloud.Configuration) (metricsQueryClient, error) {
469 + return &mockMetricsClient{}, nil
470 + }
471 +
472 + err := c.Init(context.Background())
473 + assert.Error(t, err)
474 + assert.Contains(t, err.Error(), "auto-discovery found no Azure resources")
475 +}
476 +
477 +func TestCollector_InitAutoDiscoverNoMatchFails(t *testing.T) {
478 + rg := &mockResourceGraph{
479 + resources: []map[string]any{
480 + {"type": "microsoft.fakeservice/fakeresources", "count_": int64(3)},
481 + },
482 + }
483 +
484 + c := New()
485 + c.Config = testConfig()
486 + c.Config.Profiles = []string{"auto"}
487 + c.newResourceGraph = func(string, azcore.TokenCredential, azcloud.Configuration) (resourceGraphClient, error) {
488 + return rg, nil
489 + }
490 + c.newMetricsClient = func(string, azcore.TokenCredential, azcloud.Configuration) (metricsQueryClient, error) {
491 + return &mockMetricsClient{}, nil
492 + }
493 +
494 + err := c.Init(context.Background())
495 + assert.Error(t, err)
496 + assert.Contains(t, err.Error(), "auto-discovery found no Azure resources")
497 +}
498 +
499 +func TestExtractAutoKeyword(t *testing.T) {
500 + tests := map[string]struct {
501 + input []string
502 + wantAuto bool
503 + wantRemain []string
504 + }{
505 + "auto only": {
506 + input: []string{"auto"},
507 + wantAuto: true,
508 + wantRemain: []string{},
509 + },
510 + "auto with explicit": {
511 + input: []string{"auto", "vm", "sql"},
512 + wantAuto: true,
513 + wantRemain: []string{"vm", "sql"},
514 + },
515 + "no auto": {
516 + input: []string{"vm", "sql"},
517 + wantAuto: false,
518 + wantRemain: []string{"vm", "sql"},
519 + },
520 + "empty": {
521 + input: []string{},
522 + wantAuto: false,
523 + wantRemain: []string{},
524 + },
525 + "auto case insensitive": {
526 + input: []string{"AUTO"},
527 + wantAuto: true,
528 + wantRemain: []string{},
529 + },
530 + }
531 +
532 + for name, tc := range tests {
533 + t.Run(name, func(t *testing.T) {
534 + gotAuto, gotRemain := extractAutoKeyword(tc.input)
535 + assert.Equal(t, tc.wantAuto, gotAuto)
536 + assert.Equal(t, tc.wantRemain, gotRemain)
537 + })
538 + }
539 +}
540 +
541 +func TestMergeProfileIDs(t *testing.T) {
542 + tests := map[string]struct {
543 + explicit []string
544 + discovered []string
545 + want []string
546 + }{
547 + "no overlap": {
548 + explicit: []string{"vm"},
549 + discovered: []string{"sql"},
550 + want: []string{"vm", "sql"},
551 + },
552 + "overlap deduplicated": {
553 + explicit: []string{"vm", "sql"},
554 + discovered: []string{"sql", "redis"},
555 + want: []string{"vm", "sql", "redis"},
556 + },
557 + "both empty": {
558 + explicit: []string{},
559 + discovered: []string{},
560 + want: []string{},
561 + },
562 + }
563 +
564 + for name, tc := range tests {
565 + t.Run(name, func(t *testing.T) {
566 + got := mergeProfileIDs(tc.explicit, tc.discovered)
567 + assert.Equal(t, tc.want, got)
568 + })
569 + }
570 +}
571 +
572 +func TestBuildCollectorRuntime_DetectsChartIDCollision(t *testing.T) {
573 + cfg := testConfig()
574 + cfg.Profiles = []string{"redis_upper", "redis_lower"}
575 +
576 + catalog := mustLoadStockCatalog(t, map[string]string{
577 + "redis_upper.yaml": `
578 +id: redis_upper
579 +name: Azure Redis Cache
580 +resource_type: Microsoft.Cache/Redis
581 +metrics:
582 + - id: connectedclients
583 + azure_name: connectedclients
584 + time_grain: PT1M
585 + series:
586 + - aggregation: average
587 + kind: gauge
588 +template:
589 + family: Azure Redis Cache
590 + context_namespace: redis_upper
591 + charts:
592 + - id: am_collision_chart
593 + title: Azure Redis Cache Connected Clients
594 + context: connected_clients_upper
595 + family: Connections
596 + type: line
597 + units: connections
598 + algorithm: absolute
599 + dimensions:
600 + - selector: ` + azureprofiles.ExportedSeriesName("redis_upper", "connectedclients", "average") + `
601 + name: average
602 +`,
603 + "redis_lower.yaml": `
604 +id: redis_lower
605 +name: azure redis cache
606 +resource_type: Microsoft.Cache/Redis
607 +metrics:
608 + - id: cachehits
609 + azure_name: cachehits
610 + time_grain: PT1M
611 + series:
612 + - aggregation: average
613 + kind: gauge
614 +template:
615 + family: azure redis cache
616 + context_namespace: redis_lower
617 + charts:
618 + - id: am_collision_chart
619 + title: Azure Redis Cache Hits
620 + context: cache_hits_lower
621 + family: Throughput
622 + type: line
623 + units: hits/s
624 + algorithm: absolute
625 + dimensions:
626 + - selector: ` + azureprofiles.ExportedSeriesName("redis_lower", "cachehits", "average") + `
627 + name: average
628 +`,
629 + })
630 +
631 + _, err := buildCollectorRuntimeFromConfig(cfg, catalog)
632 + require.Error(t, err)
633 +}
634 +
635 +func testConfig() Config {
636 + return Config{
637 + UpdateEvery: 60,
638 + AutoDetectionRetry: 0,
639 + SubscriptionID: "sub-1",
640 + Cloud: "public",
641 + DiscoveryEvery: 300,
642 + QueryOffset: 180,
643 + Timeout: defaultTimeout,
644 + MaxConcurrency: 4,
645 + MaxBatchResources: 50,
646 + MaxMetricsPerQuery: 20,
647 + Profiles: []string{"postgres_flexible"},
648 + Auth: cloudauth.AzureADAuthConfig{
649 + Mode: cloudauth.AzureADAuthModeDefault,
650 + },
651 + }
652 +}
653 +
654 +func mustLoadStockCatalog(t *testing.T, files map[string]string) azureprofiles.Catalog {
655 + t.Helper()
656 +
657 + dir := t.TempDir()
658 + stockDir := filepath.Join(dir, "stock")
659 +
660 + for name, data := range files {
661 + require.NoError(t, writeProfileFile(filepath.Join(stockDir, name), data))
662 + }
663 +
664 + catalog, err := azureprofiles.LoadFromDirs([]azureprofiles.DirSpec{{Path: stockDir, IsStock: true}})
665 + require.NoError(t, err)
666 + return catalog
667 +}
668 +
669 +type mockResourceGraph struct {
670 + mu sync.Mutex
671 + resources []map[string]any
672 + count int
673 + timeout time.Duration
674 + hasDL bool
675 +}
676 +
677 +func (m *mockResourceGraph) Resources(ctx context.Context, _ armresourcegraph.QueryRequest, _ *armresourcegraph.ClientResourcesOptions) (armresourcegraph.ClientResourcesResponse, error) {
678 + m.mu.Lock()
679 + defer m.mu.Unlock()
680 +
681 + m.count++
682 + deadline, ok := ctx.Deadline()
683 + m.hasDL = ok
684 + if ok {
685 + m.timeout = time.Until(deadline)
686 + } else {
687 + m.timeout = 0
688 + }
689 +
690 + rows := make([]any, 0, len(m.resources))
691 + for _, r := range m.resources {
692 + rows = append(rows, r)
693 + }
694 + return armresourcegraph.ClientResourcesResponse{QueryResponse: armresourcegraph.QueryResponse{Data: rows}}, nil
695 +}
696 +
697 +func (m *mockResourceGraph) calls() int {
698 + m.mu.Lock()
699 + defer m.mu.Unlock()
700 + return m.count
701 +}
702 +
703 +func (m *mockResourceGraph) lastTimeout() (time.Duration, bool) {
704 + m.mu.Lock()
705 + defer m.mu.Unlock()
706 + return m.timeout, m.hasDL
707 +}
708 +
709 +type mockMetricsClient struct {
710 + mu sync.Mutex
711 + queryResponse azmetrics.QueryResourcesResponse
712 + queryErr error
713 + count int
714 + timeout time.Duration
715 + hasDL bool
716 +}
717 +
718 +func (m *mockMetricsClient) QueryResources(ctx context.Context, _ string, _ string, _ []string, _ azmetrics.ResourceIDList, _ *azmetrics.QueryResourcesOptions) (azmetrics.QueryResourcesResponse, error) {
719 + m.mu.Lock()
720 + defer m.mu.Unlock()
721 + m.count++
722 + deadline, ok := ctx.Deadline()
723 + m.hasDL = ok
724 + if ok {
725 + m.timeout = time.Until(deadline)
726 + } else {
727 + m.timeout = 0
728 + }
729 + if m.queryErr != nil {
730 + return azmetrics.QueryResourcesResponse{}, m.queryErr
731 + }
732 + return m.queryResponse, nil
733 +}
734 +
735 +func (m *mockMetricsClient) calls() int {
736 + m.mu.Lock()
737 + defer m.mu.Unlock()
738 + return m.count
739 +}
740 +
741 +func (m *mockMetricsClient) lastTimeout() (time.Duration, bool) {
742 + m.mu.Lock()
743 + defer m.mu.Unlock()
744 + return m.timeout, m.hasDL
745 +}
746 +
747 +func metricWithAvg(name string, ts time.Time, value float64) azmetrics.Metric {
748 + return azmetrics.Metric{
749 + Name: &azmetrics.LocalizableString{Value: ptrString(name)},
750 + TimeSeries: []azmetrics.TimeSeriesElement{
751 + {Data: []azmetrics.MetricValue{{TimeStamp: &ts, Average: &value}}},
752 + },
753 + }
754 +}
755 +
756 +func ptrString(v string) *string { return &v }
757 +
758 +func assertTimeoutClose(t *testing.T, got, want time.Duration) {
759 + t.Helper()
760 + assert.InDelta(t, want.Seconds(), got.Seconds(), 1.0)
761 +}
src/go/plugin/go.d/collector/azure_monitor/config.go new
+138
@@ -0,0 +1,138 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azure_monitor
4 +
5 +import (
6 + "errors"
7 + "fmt"
8 + "strings"
9 + "time"
10 +
11 + "github.com/netdata/netdata/go/plugins/pkg/confopt"
12 + "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/cloudauth"
13 +)
14 +
15 +const (
16 + defaultUpdateEvery = 60
17 + defaultAutoDetectRetry = 0
18 + defaultCloud = cloudPublic
19 + defaultDiscoveryEvery = 300
20 + defaultQueryOffset = 180
21 + defaultTimeout = confopt.Duration(30 * time.Second)
22 + defaultMaxConcurrency = 4
23 + defaultMaxBatchResource = 50
24 + defaultMaxMetricsQuery = 20
25 +)
26 +
27 +const profileAutoKeyword = "auto"
28 +
29 +const (
30 + cloudPublic = "public"
31 + cloudGovernment = "government"
32 + cloudChina = "china"
33 +)
34 +
35 +type Config struct {
36 + Vnode string `yaml:"vnode,omitempty" json:"vnode"`
37 + UpdateEvery int `yaml:"update_every,omitempty" json:"update_every"`
38 + AutoDetectionRetry int `yaml:"autodetection_retry,omitempty" json:"autodetection_retry"`
39 + SubscriptionID string `yaml:"subscription_id" json:"subscription_id"`
40 + Cloud string `yaml:"cloud,omitempty" json:"cloud"`
41 + DiscoveryEvery int `yaml:"discovery_every,omitempty" json:"discovery_every"`
42 + QueryOffset int `yaml:"query_offset,omitempty" json:"query_offset"`
43 + Timeout confopt.Duration `yaml:"timeout,omitempty" json:"timeout"`
44 + MaxConcurrency int `yaml:"max_concurrency,omitempty" json:"max_concurrency"`
45 + MaxBatchResources int `yaml:"max_batch_resources,omitempty" json:"max_batch_resources"`
46 + MaxMetricsPerQuery int `yaml:"max_metrics_per_query,omitempty" json:"max_metrics_per_query"`
47 + ResourceGroups []string `yaml:"resource_groups,omitempty" json:"resource_groups"`
48 + Profiles []string `yaml:"profiles,omitempty" json:"profiles"`
49 + Auth cloudauth.AzureADAuthConfig `yaml:"auth" json:"auth"`
50 +}
51 +
52 +func (c *Config) applyDefaults() {
53 + if c.UpdateEvery <= 0 {
54 + c.UpdateEvery = defaultUpdateEvery
55 + }
56 + if c.AutoDetectionRetry < 0 {
57 + c.AutoDetectionRetry = defaultAutoDetectRetry
58 + }
59 + if strings.TrimSpace(c.Cloud) == "" {
60 + c.Cloud = defaultCloud
61 + }
62 + if c.DiscoveryEvery <= 0 {
63 + c.DiscoveryEvery = defaultDiscoveryEvery
64 + }
65 + if c.QueryOffset <= 0 {
66 + c.QueryOffset = defaultQueryOffset
67 + }
68 + if c.Timeout.Duration() == 0 {
69 + c.Timeout = defaultTimeout
70 + }
71 + if c.MaxConcurrency <= 0 {
72 + c.MaxConcurrency = defaultMaxConcurrency
73 + }
74 + if c.MaxBatchResources <= 0 {
75 + c.MaxBatchResources = defaultMaxBatchResource
76 + }
77 + if c.MaxMetricsPerQuery <= 0 {
78 + c.MaxMetricsPerQuery = defaultMaxMetricsQuery
79 + }
80 + if len(c.Profiles) == 0 {
81 + c.Profiles = []string{"auto"}
82 + }
83 +}
84 +
85 +func (c Config) validate() error {
86 + var errs []error
87 +
88 + if strings.TrimSpace(c.SubscriptionID) == "" {
89 + errs = append(errs, errors.New("'subscription_id' is required"))
90 + }
91 + if c.UpdateEvery < 60 {
92 + errs = append(errs, errors.New("'update_every' must be >= 60 seconds"))
93 + }
94 + if c.DiscoveryEvery < 60 {
95 + errs = append(errs, errors.New("'discovery_every' must be >= 60 seconds"))
96 + }
97 + if c.QueryOffset < 60 {
98 + errs = append(errs, errors.New("'query_offset' must be >= 60 seconds"))
99 + }
100 + if c.Timeout.Duration() < 0 {
101 + errs = append(errs, errors.New("'timeout' cannot be negative"))
102 + }
103 + if c.MaxConcurrency < 1 || c.MaxConcurrency > 64 {
104 + errs = append(errs, errors.New("'max_concurrency' must be between 1 and 64"))
105 + }
106 + if c.MaxBatchResources < 1 || c.MaxBatchResources > 50 {
107 + errs = append(errs, errors.New("'max_batch_resources' must be between 1 and 50"))
108 + }
109 + if c.MaxMetricsPerQuery < 1 || c.MaxMetricsPerQuery > 20 {
110 + errs = append(errs, errors.New("'max_metrics_per_query' must be between 1 and 20"))
111 + }
112 +
113 + switch strings.ToLower(strings.TrimSpace(c.Cloud)) {
114 + case cloudPublic, cloudGovernment, cloudChina:
115 + default:
116 + errs = append(errs, fmt.Errorf("'cloud' must be one of: %s, %s, %s", cloudPublic, cloudGovernment, cloudChina))
117 + }
118 +
119 + if err := c.Auth.ValidateWithPath("auth"); err != nil {
120 + errs = append(errs, err)
121 + }
122 +
123 + seenProfiles := map[string]struct{}{}
124 + for _, name := range c.Profiles {
125 + n := strings.TrimSpace(name)
126 + if n == "" {
127 + errs = append(errs, errors.New("'profiles' contains an empty value"))
128 + continue
129 + }
130 + norm := stringsLowerTrim(n)
131 + if _, ok := seenProfiles[norm]; ok {
132 + errs = append(errs, fmt.Errorf("'profiles' contains duplicate value '%s'", n))
133 + }
134 + seenProfiles[norm] = struct{}{}
135 + }
136 +
137 + return errors.Join(errs...)
138 +}
src/go/plugin/go.d/collector/azure_monitor/config_schema.json new
+288
@@ -0,0 +1,288 @@
1 +{
2 + "jsonSchema": {
3 + "$schema": "http://json-schema.org/draft-07/schema#",
4 + "title": "Azure Monitor collector configuration.",
5 + "type": "object",
6 + "properties": {
7 + "update_every": {
8 + "title": "Update every",
9 + "description": "Data collection interval, in seconds.",
10 + "type": "integer",
11 + "minimum": 60,
12 + "default": 60
13 + },
14 + "timeout": {
15 + "title": "Timeout",
16 + "description": "Timeout for Azure Resource Graph and Azure Monitor API requests, in seconds.",
17 + "type": "number",
18 + "minimum": 0,
19 + "default": 30
20 + },
21 + "autodetection_retry": {
22 + "title": "Detection retry",
23 + "description": "Recheck interval in seconds. Zero disables retries.",
24 + "type": "integer",
25 + "minimum": 0,
26 + "default": 0
27 + },
28 + "subscription_id": {
29 + "title": "Subscription ID",
30 + "description": "Azure subscription ID.",
31 + "type": "string",
32 + "default": ""
33 + },
34 + "cloud": {
35 + "title": "Azure cloud",
36 + "description": "Azure cloud environment.",
37 + "type": "string",
38 + "enum": [
39 + "public",
40 + "government",
41 + "china"
42 + ],
43 + "default": "public"
44 + },
45 + "discovery_every": {
46 + "title": "Discovery every",
47 + "description": "Resource discovery refresh interval, in seconds.",
48 + "type": "integer",
49 + "minimum": 60,
50 + "default": 300
51 + },
52 + "query_offset": {
53 + "title": "Query offset",
54 + "description": "How many seconds to shift queries into the past to avoid partial Azure Monitor windows.",
55 + "type": "integer",
56 + "minimum": 60,
57 + "default": 180
58 + },
59 + "max_concurrency": {
60 + "title": "Max concurrency",
61 + "description": "Maximum concurrent Azure Monitor batch requests.",
62 + "type": "integer",
63 + "minimum": 1,
64 + "maximum": 64,
65 + "default": 4
66 + },
67 + "max_batch_resources": {
68 + "title": "Max resources per batch",
69 + "description": "Maximum resource IDs per batch API call.",
70 + "type": "integer",
71 + "minimum": 1,
72 + "maximum": 50,
73 + "default": 50
74 + },
75 + "max_metrics_per_query": {
76 + "title": "Max metrics per query",
77 + "description": "Maximum metric names per batch API call.",
78 + "type": "integer",
79 + "minimum": 1,
80 + "maximum": 20,
81 + "default": 20
82 + },
83 + "resource_groups": {
84 + "title": "Resource groups",
85 + "description": "Optional list of Azure resource groups to include.",
86 + "type": [
87 + "array",
88 + "null"
89 + ],
90 + "items": {
91 + "type": "string"
92 + }
93 + },
94 + "profiles": {
95 + "title": "Profiles",
96 + "description": "Profile ids to enable. Use 'auto' for automatic discovery based on resource types in the subscription. Combine with explicit ids: ['auto', 'custom_profile']. Empty list disables collection.",
97 + "type": [
98 + "array",
99 + "null"
100 + ],
101 + "items": {
102 + "type": "string"
103 + },
104 + "default": [
105 + "auto"
106 + ]
107 + },
108 + "auth": {
109 + "title": "Authentication",
110 + "description": "Azure authentication mode and credentials.",
111 + "type": "object",
112 + "properties": {
113 + "mode": {
114 + "title": "Mode",
115 + "description": "Azure AD credential mode.",
116 + "type": "string",
117 + "enum": [
118 + "service_principal",
119 + "managed_identity",
120 + "default"
121 + ],
122 + "default": "default"
123 + }
124 + },
125 + "dependencies": {
126 + "mode": {
127 + "oneOf": [
128 + {
129 + "properties": {
130 + "mode": {
131 + "const": "service_principal"
132 + },
133 + "mode_service_principal": {
134 + "title": "Service Principal",
135 + "description": "Service principal settings used when mode is `service_principal`.",
136 + "type": "object",
137 + "properties": {
138 + "tenant_id": {
139 + "title": "Tenant ID",
140 + "description": "Azure tenant ID.",
141 + "type": "string"
142 + },
143 + "client_id": {
144 + "title": "Client ID",
145 + "description": "Service principal client ID.",
146 + "type": "string"
147 + },
148 + "client_secret": {
149 + "title": "Client Secret",
150 + "description": "Service principal client secret.",
151 + "type": "string",
152 + "sensitive": true
153 + }
154 + },
155 + "required": [
156 + "tenant_id",
157 + "client_id",
158 + "client_secret"
159 + ]
160 + }
161 + },
162 + "required": [
163 + "mode_service_principal"
164 + ]
165 + },
166 + {
167 + "properties": {
168 + "mode": {
169 + "const": "managed_identity"
170 + },
171 + "mode_managed_identity": {
172 + "title": "Managed Identity",
173 + "description": "Managed identity settings used when mode is `managed_identity`.",
174 + "type": "object",
175 + "properties": {
176 + "client_id": {
177 + "title": "Client ID",
178 + "description": "Optional client ID of a user-assigned managed identity.",
179 + "type": "string"
180 + }
181 + }
182 + }
183 + }
184 + },
185 + {
186 + "properties": {
187 + "mode": {
188 + "const": "default"
189 + }
190 + }
191 + }
192 + ]
193 + }
194 + },
195 + "required": [
196 + "mode"
197 + ]
198 + },
199 + "vnode": {
200 + "title": "Virtual Node",
201 + "description": "Associates this data collection job with a Virtual Node.",
202 + "type": "string"
203 + }
204 + },
205 + "required": [
206 + "subscription_id",
207 + "auth"
208 + ]
209 + },
210 + "uiSchema": {
211 + "uiOptions": {
212 + "fullPage": true
213 + },
214 + "resource_groups": {
215 + "ui:listFlavour": "list"
216 + },
217 + "profiles": {
218 + "ui:listFlavour": "list"
219 + },
220 + "timeout": {
221 + "ui:help": "Accepts decimals for sub-second granularity (for example, `0.5` for 500ms)."
222 + },
223 + "cloud": {
224 + "ui:widget": "radio",
225 + "ui:options": {
226 + "inline": true
227 + }
228 + },
229 + "auth": {
230 + "mode": {
231 + "ui:widget": "radio",
232 + "ui:options": {
233 + "inline": true
234 + },
235 + "ui:help": "Choose how Netdata gets Azure credentials.\n\n- `service_principal`: Use an Azure app / service principal. Requires `tenant_id`, `client_id`, and `client_secret` in `mode_service_principal`.\n- `managed_identity`: Use the managed identity attached to the Azure resource running Netdata. Set `mode_managed_identity.client_id` only for a user-assigned identity.\n- `default`: Use the Azure SDK `DefaultAzureCredential` chain. This automatically tries available Azure credential sources, such as environment-based credentials, managed identity, and local developer credentials.\n\nUse `service_principal` for explicit app credentials. Use `managed_identity` when Netdata runs on an Azure resource with an attached identity. Use `default` when you want Azure SDK auto-discovery or local development convenience."
236 + },
237 + "mode_service_principal": {
238 + "client_secret": {
239 + "ui:widget": "password"
240 + }
241 + }
242 + },
243 + "ui:flavour": "tabs",
244 + "ui:options": {
245 + "tabs": [
246 + {
247 + "title": "Target",
248 + "fields": [
249 + "subscription_id",
250 + "cloud",
251 + "vnode"
252 + ]
253 + },
254 + {
255 + "title": "Collection",
256 + "fields": [
257 + "update_every",
258 + "timeout",
259 + "autodetection_retry",
260 + "discovery_every",
261 + "query_offset"
262 + ]
263 + },
264 + {
265 + "title": "Auth",
266 + "fields": [
267 + "auth"
268 + ]
269 + },
270 + {
271 + "title": "Profiles",
272 + "fields": [
273 + "profiles",
274 + "resource_groups"
275 + ]
276 + },
277 + {
278 + "title": "Limits",
279 + "fields": [
280 + "max_concurrency",
281 + "max_batch_resources",
282 + "max_metrics_per_query"
283 + ]
284 + }
285 + ]
286 + }
287 + }
288 +}
src/go/plugin/go.d/collector/azure_monitor/discover.go new
+246
@@ -0,0 +1,246 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azure_monitor
4 +
5 +import (
6 + "context"
7 + "fmt"
8 + "strings"
9 + "time"
10 +
11 + "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcegraph/armresourcegraph"
12 + "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/azure_monitor/azureprofiles"
13 +)
14 +
15 +func (c *Collector) refreshDiscovery(ctx context.Context, force bool) ([]resourceInfo, error) {
16 + now := c.now()
17 + if !force && !c.discovery.FetchedAt.IsZero() && now.Before(c.discovery.ExpiresAt) {
18 + return c.discovery.Resources, nil
19 + }
20 +
21 + resources, byType, err := c.discoverResources(ctx)
22 + if err != nil {
23 + return nil, err
24 + }
25 +
26 + c.discovery = discoveryState{
27 + Resources: resources,
28 + ByType: byType,
29 + FetchedAt: now,
30 + ExpiresAt: now.Add(secondsToDuration(c.DiscoveryEvery)),
31 + FetchCounter: c.discovery.FetchCounter + 1,
32 + }
33 +
34 + return resources, nil
35 +}
36 +
37 +// discoverResourceTypes queries Azure Resource Graph to find all resource types
38 +// present in the subscription. Used by auto-discovery to determine which profiles to activate.
39 +func discoverResourceTypes(ctx context.Context, subscriptionID string, timeout time.Duration, resourceGraph resourceGraphClient) (map[string]struct{}, error) {
40 + query := "resources | summarize count() by type"
41 + types := make(map[string]struct{})
42 +
43 + var skipToken *string
44 + for {
45 + req := armResourceGraphQuery(subscriptionID, query, skipToken)
46 + reqCtx, cancel := withOptionalTimeout(ctx, timeout)
47 + resp, err := resourceGraph.Resources(reqCtx, req, nil)
48 + cancel()
49 + if err != nil {
50 + return nil, fmt.Errorf("resource graph query: %w", err)
51 + }
52 +
53 + rows, err := parseResourceGraphObjectArray(resp.Data)
54 + if err != nil {
55 + return nil, err
56 + }
57 +
58 + for _, row := range rows {
59 + t := stringsLowerTrim(asString(row["type"]))
60 + if t != "" {
61 + types[t] = struct{}{}
62 + }
63 + }
64 +
65 + if resp.SkipToken == nil || stringsTrim(*resp.SkipToken) == "" {
66 + break
67 + }
68 + token := stringsTrim(*resp.SkipToken)
69 + skipToken = &token
70 + }
71 +
72 + return types, nil
73 +}
74 +
75 +func (c *Collector) discoverResources(ctx context.Context) ([]resourceInfo, map[string][]resourceInfo, error) {
76 + resourceTypes := make([]string, 0, len(c.runtime.Profiles))
77 + seenTypes := map[string]struct{}{}
78 + for _, p := range c.runtime.Profiles {
79 + t := stringsTrim(p.ResourceType)
80 + if t == "" {
81 + continue
82 + }
83 + tLower := stringsLowerTrim(t)
84 + if _, ok := seenTypes[tLower]; ok {
85 + continue
86 + }
87 + seenTypes[tLower] = struct{}{}
88 + resourceTypes = append(resourceTypes, t)
89 + }
90 +
91 + if len(resourceTypes) == 0 {
92 + return nil, map[string][]resourceInfo{}, nil
93 + }
94 +
95 + query := buildDiscoveryQuery(resourceTypes)
96 + if query == "" {
97 + return nil, nil, fmt.Errorf("failed to build resource discovery query")
98 + }
99 +
100 + resourceGroupsFilter := make(map[string]struct{}, len(c.ResourceGroups))
101 + for _, rg := range c.ResourceGroups {
102 + n := stringsLowerTrim(rg)
103 + if n == "" {
104 + continue
105 + }
106 + resourceGroupsFilter[n] = struct{}{}
107 + }
108 +
109 + result := make([]resourceInfo, 0, 256)
110 + seenIDs := make(map[string]struct{})
111 +
112 + var skipToken *string
113 + for {
114 + req := armResourceGraphQuery(c.SubscriptionID, query, skipToken)
115 + reqCtx, cancel := withOptionalTimeout(ctx, c.Timeout.Duration())
116 + resp, err := c.resourceGraph.Resources(reqCtx, req, nil)
117 + cancel()
118 + if err != nil {
119 + return nil, nil, err
120 + }
121 +
122 + rows, err := parseResourceGraphObjectArray(resp.Data)
123 + if err != nil {
124 + return nil, nil, err
125 + }
126 +
127 + for _, row := range rows {
128 + id := stringsTrim(asString(row["id"]))
129 + if id == "" {
130 + continue
131 + }
132 + if _, ok := seenIDs[id]; ok {
133 + continue
134 + }
135 + seenIDs[id] = struct{}{}
136 +
137 + rg := stringsTrim(asString(row["resourceGroup"]))
138 + rgLower := stringsLowerTrim(rg)
139 + if len(resourceGroupsFilter) > 0 {
140 + if _, ok := resourceGroupsFilter[rgLower]; !ok {
141 + continue
142 + }
143 + }
144 +
145 + resourceType := stringsTrim(asString(row["type"]))
146 + if resourceType == "" {
147 + continue
148 + }
149 + region := stringsLowerTrim(asString(row["location"]))
150 + if region == "" {
151 + region = "global"
152 + }
153 +
154 + result = append(result, resourceInfo{
155 + ID: id,
156 + UID: hashShort(id),
157 + Name: stringsTrim(asString(row["name"])),
158 + Type: resourceType,
159 + ResourceGroup: rg,
160 + Region: region,
161 + })
162 + }
163 +
164 + if resp.SkipToken == nil || stringsTrim(*resp.SkipToken) == "" {
165 + break
166 + }
167 + token := stringsTrim(*resp.SkipToken)
168 + skipToken = &token
169 + }
170 +
171 + byType := make(map[string][]resourceInfo)
172 + for _, r := range result {
173 + key := stringsLowerTrim(r.Type)
174 + byType[key] = append(byType[key], r)
175 + }
176 +
177 + return result, byType, nil
178 +}
179 +
180 +func armResourceGraphQuery(subscriptionID, query string, skipToken *string) armresourcegraph.QueryRequest {
181 + resultFormat := armresourcegraph.ResultFormatObjectArray
182 + top := int32(1000)
183 + options := &armresourcegraph.QueryRequestOptions{
184 + ResultFormat: &resultFormat,
185 + Top: &top,
186 + }
187 + if skipToken != nil && stringsTrim(*skipToken) != "" {
188 + token := stringsTrim(*skipToken)
189 + options.SkipToken = &token
190 + }
191 +
192 + subID := stringsTrim(subscriptionID)
193 + return armresourcegraph.QueryRequest{
194 + Query: &query,
195 + Subscriptions: []*string{&subID},
196 + Options: options,
197 + }
198 +}
199 +
200 +func buildDiscoveryQuery(resourceTypes []string) string {
201 + if len(resourceTypes) == 0 {
202 + return ""
203 + }
204 + quoted := make([]string, 0, len(resourceTypes))
205 + for _, rt := range resourceTypes {
206 + rt = stringsTrim(rt)
207 + if rt == "" {
208 + continue
209 + }
210 + if !azureprofiles.IsValidResourceType(rt) {
211 + continue
212 + }
213 + quoted = append(quoted, "'"+strings.ReplaceAll(rt, "'", "''")+"'")
214 + }
215 + if len(quoted) == 0 {
216 + return ""
217 + }
218 + return "resources | where type in~ (" + strings.Join(quoted, ",") + ") | project id, name, type, resourceGroup, location"
219 +}
220 +
221 +func parseResourceGraphObjectArray(v any) ([]map[string]any, error) {
222 + rows, ok := v.([]any)
223 + if !ok {
224 + return nil, fmt.Errorf("unexpected resource graph result format: %T", v)
225 + }
226 + out := make([]map[string]any, 0, len(rows))
227 + for _, row := range rows {
228 + m, ok := row.(map[string]any)
229 + if !ok {
230 + continue
231 + }
232 + out = append(out, m)
233 + }
234 + return out, nil
235 +}
236 +
237 +func asString(v any) string {
238 + switch x := v.(type) {
239 + case string:
240 + return x
241 + case fmt.Stringer:
242 + return x.String()
243 + default:
244 + return ""
245 + }
246 +}
src/go/plugin/go.d/collector/azure_monitor/helpers.go new
+31
@@ -0,0 +1,31 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azure_monitor
4 +
5 +import (
6 + "context"
7 + "crypto/sha1"
8 + "encoding/hex"
9 + "strings"
10 + "time"
11 +)
12 +
13 +func stringsLowerTrim(v string) string {
14 + return strings.ToLower(strings.TrimSpace(v))
15 +}
16 +
17 +func stringsTrim(v string) string {
18 + return strings.TrimSpace(v)
19 +}
20 +
21 +func hashShort(v string) string {
22 + sum := sha1.Sum([]byte(strings.ToLower(strings.TrimSpace(v))))
23 + return hex.EncodeToString(sum[:6])
24 +}
25 +
26 +func withOptionalTimeout(ctx context.Context, timeout time.Duration) (context.Context, context.CancelFunc) {
27 + if timeout <= 0 {
28 + return ctx, func() {}
29 + }
30 + return context.WithTimeout(ctx, timeout)
31 +}
src/go/plugin/go.d/collector/azure_monitor/init.go new
+206
@@ -0,0 +1,206 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azure_monitor
4 +
5 +import (
6 + "context"
7 + "errors"
8 + "fmt"
9 + "time"
10 +
11 + "github.com/Azure/azure-sdk-for-go/sdk/azcore"
12 + azcloud "github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud"
13 + "github.com/Azure/azure-sdk-for-go/sdk/monitor/query/azmetrics"
14 + "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcegraph/armresourcegraph"
15 + "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/azure_monitor/azureprofiles"
16 + "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/cloudauth"
17 +)
18 +
19 +type initResult struct {
20 + config Config
21 + resourceGraph resourceGraphClient
22 + queryExecutor *queryExecutor
23 + runtime *collectorRuntime
24 +}
25 +
26 +func (c *Collector) initInstruments(runtime *collectorRuntime) error {
27 + if runtime == nil {
28 + return errors.New("nil collector runtime")
29 + }
30 +
31 + var labelKeys = []string{"resource_uid", "resource_name", "resource_group", "region", "resource_type", "profile"}
32 +
33 + vec := c.store.Write().SnapshotMeter("").Vec(labelKeys...)
34 + if runtime.Instruments == nil {
35 + runtime.Instruments = make(map[string]*instrumentRuntime)
36 + }
37 +
38 + for _, p := range runtime.Profiles {
39 + for _, m := range p.Metrics {
40 + for _, series := range m.Series {
41 + name := series.Instrument
42 + if _, ok := runtime.Instruments[name]; ok {
43 + continue
44 + }
45 + inst := &instrumentRuntime{Kind: series.Kind}
46 + if series.Kind == azureprofiles.SeriesKindCounter {
47 + inst.Counter = vec.Counter(name)
48 + } else {
49 + inst.Gauge = vec.Gauge(name)
50 + }
51 + runtime.Instruments[name] = inst
52 + }
53 + }
54 + }
55 +
56 + return nil
57 +}
58 +
59 +func (c *Collector) prepareInitResult(ctx context.Context) (*initResult, error) {
60 + cfg, catalog, autoDiscover, err := c.prepareInitConfig()
61 + if err != nil {
62 + return nil, err
63 + }
64 +
65 + resourceGraph, queryExecutor, err := c.prepareInitClients(cfg)
66 + if err != nil {
67 + return nil, err
68 + }
69 +
70 + if autoDiscover {
71 + profiles, err := resolveAutoProfiles(ctx, cfg.SubscriptionID, cfg.Timeout.Duration(), resourceGraph, catalog, cfg.Profiles)
72 + if err != nil {
73 + return nil, fmt.Errorf("auto-discover resource types: %w", err)
74 + }
75 + cfg.Profiles = profiles
76 + if len(cfg.Profiles) == 0 {
77 + return nil, errors.New("auto-discovery found no Azure resources matching any known profile")
78 + }
79 + c.Infof("auto-discovery resolved profiles: %v", cfg.Profiles)
80 + }
81 +
82 + runtime, err := buildCollectorRuntimeFromConfig(cfg, catalog)
83 + if err != nil {
84 + return nil, fmt.Errorf("build collector runtime: %w", err)
85 + }
86 +
87 + return &initResult{
88 + config: cfg,
89 + resourceGraph: resourceGraph,
90 + queryExecutor: queryExecutor,
91 + runtime: runtime,
92 + }, nil
93 +}
94 +
95 +func (c *Collector) prepareInitConfig() (Config, azureprofiles.Catalog, bool, error) {
96 + cfg := c.Config
97 + cfg.applyDefaults()
98 +
99 + catalog, err := c.loadProfileCatalog()
100 + if err != nil {
101 + return Config{}, azureprofiles.Catalog{}, false, fmt.Errorf("load profiles catalog: %w", err)
102 + }
103 +
104 + autoDiscover, explicitProfiles := extractAutoKeyword(cfg.Profiles)
105 + cfg.Profiles = explicitProfiles
106 +
107 + if !autoDiscover && len(cfg.Profiles) == 0 {
108 + return Config{}, azureprofiles.Catalog{}, false, errors.New("no profiles configured; use 'auto' for auto-discovery or specify profile ids")
109 + }
110 +
111 + if err := cfg.validate(); err != nil {
112 + return Config{}, azureprofiles.Catalog{}, false, fmt.Errorf("config validation: %w", err)
113 + }
114 +
115 + return cfg, catalog, autoDiscover, nil
116 +}
117 +
118 +func (c *Collector) prepareInitClients(cfg Config) (resourceGraphClient, *queryExecutor, error) {
119 + cloudCfg, err := cloudConfigFromName(cfg.Cloud)
120 + if err != nil {
121 + return nil, nil, err
122 + }
123 +
124 + credential, err := createCredential(cfg.Auth, cloudCfg)
125 + if err != nil {
126 + return nil, nil, fmt.Errorf("create azure credential: %w", err)
127 + }
128 +
129 + resourceGraph, err := c.newResourceGraph(cfg.SubscriptionID, credential, cloudCfg)
130 + if err != nil {
131 + return nil, nil, fmt.Errorf("create resource graph client: %w", err)
132 + }
133 +
134 + return resourceGraph, newQueryExecutor(cfg.SubscriptionID, cfg.MaxConcurrency, cfg.Timeout.Duration(), credential, cloudCfg, c.newMetricsClient), nil
135 +}
136 +
137 +func resolveAutoProfiles(ctx context.Context, subscriptionID string, timeout time.Duration, resourceGraph resourceGraphClient, catalog azureprofiles.Catalog, explicitProfiles []string) ([]string, error) {
138 + types, err := discoverResourceTypes(ctx, subscriptionID, timeout, resourceGraph)
139 + if err != nil {
140 + return nil, err
141 + }
142 + matched := catalog.ProfilesForResourceTypes(types)
143 + return mergeProfileIDs(explicitProfiles, matched), nil
144 +}
145 +
146 +func createCredential(auth cloudauth.AzureADAuthConfig, cloudCfg azcloud.Configuration) (azcore.TokenCredential, error) {
147 + if err := auth.ValidateWithPath("auth"); err != nil {
148 + return nil, err
149 + }
150 +
151 + return auth.NewCredentialWithOptions(&cloudauth.AzureADCredentialOptions{
152 + ClientOptions: azcore.ClientOptions{Cloud: cloudCfg},
153 + })
154 +}
155 +
156 +func extractAutoKeyword(profiles []string) (bool, []string) {
157 + auto := false
158 + filtered := make([]string, 0, len(profiles))
159 + for _, p := range profiles {
160 + if stringsLowerTrim(p) == profileAutoKeyword {
161 + auto = true
162 + continue
163 + }
164 + filtered = append(filtered, p)
165 + }
166 + return auto, filtered
167 +}
168 +
169 +func mergeProfileIDs(explicit, discovered []string) []string {
170 + seen := make(map[string]struct{}, len(explicit)+len(discovered))
171 + merged := make([]string, 0, len(explicit)+len(discovered))
172 + for _, id := range explicit {
173 + key := stringsLowerTrim(id)
174 + if _, ok := seen[key]; ok {
175 + continue
176 + }
177 + seen[key] = struct{}{}
178 + merged = append(merged, id)
179 + }
180 + for _, id := range discovered {
181 + key := stringsLowerTrim(id)
182 + if _, ok := seen[key]; ok {
183 + continue
184 + }
185 + seen[key] = struct{}{}
186 + merged = append(merged, id)
187 + }
188 + return merged
189 +}
190 +
191 +func defaultNewResourceGraphClient(subscriptionID string, cred azcore.TokenCredential, cloudCfg azcloud.Configuration) (resourceGraphClient, error) {
192 + _ = subscriptionID
193 + client, err := armresourcegraph.NewClient(cred, armClientOptions{Cloud: cloudCfg}.toARM())
194 + if err != nil {
195 + return nil, err
196 + }
197 + return client, nil
198 +}
199 +
200 +func defaultNewMetricsClient(endpoint string, cred azcore.TokenCredential, cloudCfg azcloud.Configuration) (metricsQueryClient, error) {
201 + client, err := azmetrics.NewClient(endpoint, cred, &azmetrics.ClientOptions{ClientOptions: azcore.ClientOptions{Cloud: cloudCfg}})
202 + if err != nil {
203 + return nil, err
204 + }
205 + return client, nil
206 +}
src/go/plugin/go.d/collector/azure_monitor/integrations/azure_monitor.md new
+20
@@ -0,0 +1,20 @@
1 +<!--startmeta
2 +custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/go/plugin/go.d/collector/azure_monitor/README.md"
3 +meta_yaml: "https://github.com/netdata/netdata/edit/master/src/go/plugin/go.d/collector/azure_monitor/metadata.yaml"
4 +sidebar_label: "Azure Monitor"
5 +learn_status: "Published"
6 +learn_rel_path: "Collecting Metrics/Cloud"
7 +keywords: ["azure", "monitor", "cloud"]
8 +message: "DO NOT EDIT THIS FILE DIRECTLY, IT IS GENERATED BY THE COLLECTOR'S metadata.yaml FILE"
9 +endmeta-->
10 +
11 +# Azure Monitor
12 +
13 +<img src="https://netdata.cloud/img/azure.svg" width="150"/>
14 +
15 +Plugin: go.d.plugin
16 +Module: azure_monitor
17 +
18 +This collector discovers Azure resources with Resource Graph and collects service metrics using the Azure Monitor Metrics batch API.
19 +
20 +See [collector README](https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/azure_monitor) for complete setup and configuration details.
src/go/plugin/go.d/collector/azure_monitor/metadata.yaml new
+9469
@@ -0,0 +1,9469 @@
1 +plugin_name: go.d.plugin
2 +modules:
3 + - &module
4 + meta: &meta
5 + id: collector-go.d.plugin-azure_monitor
6 + plugin_name: go.d.plugin
7 + module_name: azure_monitor
8 + monitored_instance:
9 + name: Azure Monitor
10 + link: https://learn.microsoft.com/azure/azure-monitor/
11 + icon_filename: azure.svg
12 + categories:
13 + - data-collection.cloud-and-devops
14 + keywords:
15 + - azure
16 + - monitor
17 + - cloud
18 + related_resources:
19 + integrations:
20 + list: []
21 + info_provided_to_referring_integrations:
22 + description: ""
23 + overview: &overview
24 + data_collection:
25 + metrics_description: |
26 + This collector monitors Azure resources through the Azure Monitor Metrics API. It automatically discovers
27 + resources in your subscription and collects platform metrics based on configurable profiles, providing
28 + visibility into the health and performance of over 35 Azure service types.
29 + method_description: &method_description |
30 + The collector uses Azure SDK clients for:
31 + - Authentication via Entra ID (service principal, managed identity, or default credentials)
32 + - Resource discovery via Azure Resource Graph queries
33 + - Metrics collection via Azure Monitor Metrics batch API, grouped by region and time grain
34 + supported_platforms:
35 + include: []
36 + exclude: []
37 + multi_instance: true
38 + additional_permissions:
39 + description: |
40 + The monitoring principal needs read access to Azure Resource Graph and Azure Monitor metrics for target resources.
41 + default_behavior:
42 + auto_detection:
43 + description: |
44 + When `profiles` includes `auto` (the default), the collector queries Azure Resource Graph
45 + to discover which resource types exist in the subscription and enables matching built-in profiles automatically.
46 + limits:
47 + description: |
48 + Azure Monitor metrics granularity is typically 1 minute.
49 + The collector enforces a minimum collection interval of 60 seconds.
50 + performance_impact:
51 + description: |
52 + The collector uses bounded request concurrency and batches resources and metrics to minimize API calls.
53 + Default limits: 4 concurrent queries, 50 resources per batch, 20 metrics per query.
54 + setup: &setup
55 + prerequisites:
56 + list:
57 + - title: Create an Azure monitoring principal
58 + description: |
59 + Create a service principal or use a managed identity with the following permissions:
60 +
61 + 1. **Monitoring Reader** role on the target subscription or resource groups (for Azure Monitor metrics access)
62 + 2. **Reader** role for Azure Resource Graph queries (for resource discovery)
63 +
64 + For service principal authentication:
65 + ```bash
66 + # Create the service principal
67 + az ad sp create-for-rbac --name "netdata-monitor" --role "Monitoring Reader" \
68 + --scopes /subscriptions/<subscription-id>
69 +
70 + # Note the appId (client_id), password (client_secret), and tenant
71 + ```
72 +
73 + For managed identity (on Azure VMs, VMSS, or AKS):
74 + ```bash
75 + # Assign Monitoring Reader role to the VM's managed identity
76 + az role assignment create --assignee <managed-identity-principal-id> \
77 + --role "Monitoring Reader" --scope /subscriptions/<subscription-id>
78 + ```
79 + configuration:
80 + file:
81 + name: go.d/azure_monitor.conf
82 + options:
83 + description: |
84 + The following options can be defined globally: update_every, autodetection_retry.
85 +
86 + Profile files are loaded from:
87 + - Stock: `/usr/lib/netdata/conf.d/go.d/azure_monitor.profiles/default/`
88 + - User: `/etc/netdata/go.d/azure_monitor.profiles/`
89 +
90 + User profile files with the same filename override stock profiles.
91 + folding:
92 + title: Config options
93 + enabled: true
94 + list:
95 + - name: update_every
96 + description: Data collection interval (seconds). Must be at least 60.
97 + default_value: 60
98 + required: false
99 + group: Collection
100 + - name: autodetection_retry
101 + description: Autodetection retry interval (seconds). Set 0 to disable.
102 + default_value: 0
103 + required: false
104 + group: Collection
105 + - name: subscription_id
106 + description: Azure subscription ID.
107 + default_value: ""
108 + required: true
109 + group: Target
110 + - name: cloud
111 + description: "Azure cloud environment: `public`, `government`, or `china`."
112 + default_value: public
113 + required: false
114 + group: Target
115 + - name: discovery_every
116 + description: Resource discovery interval in seconds.
117 + default_value: 300
118 + required: false
119 + group: Collection
120 + - name: query_offset
121 + description: Offset in seconds for metric query windows. Increase if metrics appear incomplete.
122 + default_value: 180
123 + required: false
124 + group: Collection
125 + - name: timeout
126 + description: Timeout for Azure Resource Graph and Azure Monitor API requests, in seconds.
127 + default_value: 30
128 + required: false
129 + group: Collection
130 + - name: max_concurrency
131 + description: Maximum concurrent batch queries to Azure Monitor.
132 + default_value: 4
133 + required: false
134 + group: Limits
135 + - name: max_batch_resources
136 + description: Maximum resources per Azure Monitor batch request.
137 + default_value: 50
138 + required: false
139 + group: Limits
140 + - name: max_metrics_per_query
141 + description: Maximum metrics per Azure Monitor batch request.
142 + default_value: 20
143 + required: false
144 + group: Limits
145 + - name: profiles
146 + description: "Profile ids to enable. Use `auto` to discover resource types via Azure Resource Graph and enable matching profiles. Combine with explicit ids: `[auto, custom_profile]`."
147 + default_value: "[auto]"
148 + required: false
149 + group: Profiles
150 + - name: resource_groups
151 + description: Optional list of resource group names to restrict monitoring scope.
152 + default_value: "[]"
153 + required: false
154 + group: Filters
155 + - name: auth.mode
156 + description: "Authentication mode: `service_principal`, `managed_identity`, or `default`."
157 + default_value: ""
158 + required: true
159 + group: Authentication
160 + - name: auth.mode_service_principal.tenant_id
161 + description: Entra ID tenant ID (required for `service_principal` mode).
162 + default_value: ""
163 + required: false
164 + group: Authentication
165 + - name: auth.mode_service_principal.client_id
166 + description: Entra ID application (client) ID (required for `service_principal` mode).
167 + default_value: ""
168 + required: false
169 + group: Authentication
170 + - name: auth.mode_service_principal.client_secret
171 + description: Entra ID client secret (required for `service_principal` mode).
172 + default_value: ""
173 + required: false
174 + group: Authentication
175 + - name: auth.mode_managed_identity.client_id
176 + description: Client ID for user-assigned managed identity. Leave empty for system-assigned.
177 + default_value: ""
178 + required: false
179 + group: Authentication
180 + - name: vnode
181 + description: Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).
182 + default_value: ""
183 + required: false
184 + group: Virtual Node
185 + examples:
186 + folding:
187 + title: Config
188 + enabled: true
189 + list:
190 + - name: Service principal (auto-discover all resources)
191 + description: Authenticate with a service principal and auto-discover all supported Azure resource types in the subscription.
192 + folding:
193 + enabled: false
194 + config: |
195 + jobs:
196 + - name: prod
197 + subscription_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
198 + auth:
199 + mode: service_principal
200 + mode_service_principal:
201 + tenant_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
202 + client_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
203 + client_secret: "your-client-secret"
204 + - name: Managed identity (Azure VM/VMSS/AKS)
205 + description: Use the managed identity of the Azure VM, VMSS, or AKS node where Netdata is running.
206 + config: |
207 + jobs:
208 + - name: prod
209 + subscription_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
210 + auth:
211 + mode: managed_identity
212 + - name: Specific profiles only
213 + description: Monitor only specific Azure services instead of auto-discovering all resource types.
214 + config: |
215 + jobs:
216 + - name: databases
217 + subscription_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
218 + profiles:
219 + - sql_database
220 + - postgres_flexible
221 + - redis_cache
222 + auth:
223 + mode: service_principal
224 + mode_service_principal:
225 + tenant_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
226 + client_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
227 + client_secret: "your-client-secret"
228 + - name: Filter by resource group
229 + description: Only monitor resources in specific resource groups.
230 + config: |
231 + jobs:
232 + - name: prod-rg
233 + subscription_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
234 + resource_groups:
235 + - production-rg
236 + - staging-rg
237 + auth:
238 + mode: default
239 + - name: Azure Government cloud
240 + description: Connect to Azure Government cloud environment.
241 + config: |
242 + jobs:
243 + - name: gov
244 + subscription_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
245 + cloud: government
246 + auth:
247 + mode: service_principal
248 + mode_service_principal:
249 + tenant_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
250 + client_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
251 + client_secret: "your-client-secret"
252 + troubleshooting: &troubleshooting
253 + problems:
254 + list:
255 + - name: No metrics are collected
256 + description: |
257 + Verify the following:
258 + 1. The service principal or managed identity has **Monitoring Reader** role on the subscription or resource group.
259 + 2. The `subscription_id` in the configuration matches the subscription containing the target resources.
260 + 3. Target resources are running and producing metrics (check Azure Portal > Metrics for the resource).
261 + 4. Check the Netdata error log for authentication or API errors: `grep azure_monitor /var/log/netdata/error.log`.
262 + - name: Missing metrics for some resource types
263 + description: |
264 + Azure Monitor profiles are matched by resource type. If a resource type exists but no metrics appear:
265 + 1. Ensure `profiles: [auto]` (default) is set, or the specific profile id is listed.
266 + 2. Verify the resource type matches a built-in profile. Run `ls /usr/lib/netdata/conf.d/go.d/azure_monitor.profiles/default/` to see available profiles.
267 + 3. Some metrics require the resource to be actively processing data (e.g., IoT Hub telemetry metrics only appear when devices send messages).
268 + - name: Metrics appear delayed
269 + description: |
270 + Azure Monitor metrics have a built-in reporting delay of 1-3 minutes. The collector uses a `query_offset` (default: 180 seconds) to account for this.
271 + If metrics are missing or incomplete, try increasing `query_offset` to 240 or 300 seconds.
272 + Some metrics with longer time grains (e.g., PT5M) may take up to 5 minutes to appear.
273 + - name: Authentication errors in sovereign clouds
274 + description: |
275 + For Azure Government or Azure China clouds, set the `cloud` parameter:
276 + - Azure Government: `cloud: government`
277 + - Azure China (21Vianet): `cloud: china`
278 +
279 + Ensure the service principal is registered in the correct cloud tenant.
280 + alerts: &alerts []
281 + metrics: &metrics
282 + folding:
283 + title: Metrics
284 + enabled: false
285 + description: |
286 + Metrics depend on which Azure Monitor profiles are enabled. Each profile corresponds to an Azure
287 + service type and defines the specific metrics collected. With the default `profiles: [auto]` setting,
288 + profiles are automatically enabled for resource types found in your subscription.
289 +
290 + See the service-specific integrations below for detailed metrics lists.
291 + availability: []
292 + scopes: []
293 + - <<: *module
294 + meta:
295 + <<: *meta
296 + id: collector-go.d.plugin-azure_monitor-sql_managed_instance
297 + monitored_instance:
298 + name: Azure SQL Managed Instance
299 + link: https://learn.microsoft.com/azure/azure-sql/managed-instance/
300 + icon_filename: azure.svg
301 + categories:
302 + - data-collection.cloud-and-devops
303 + keywords:
304 + - azure
305 + - sql
306 + - managed
307 + - instance
308 + - database
309 + - mssql
310 + overview:
311 + <<: *overview
312 + data_collection:
313 + metrics_description: |
314 + Monitor SQL Managed Instance performance including virtual core CPU utilization, storage consumption, IO throughput, and average request wait times.
315 + method_description: *method_description
316 + alerts:
317 + - name: am_sql_managed_instance_cpu
318 + metric: azure_monitor.sql_managed_instance.cpu
319 + info: "SQL MI CPU utilization on ${label:resource_name}"
320 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_managed_instance.conf
321 + - name: am_sql_managed_instance_storage_utilization
322 + metric: azure_monitor.sql_managed_instance.storage
323 + info: "SQL MI storage utilization on ${label:resource_name}"
324 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_managed_instance.conf
325 + - name: am_sql_managed_instance_io_requests
326 + metric: azure_monitor.sql_managed_instance.io_requests
327 + info: "SQL MI I/O requests on ${label:resource_name}"
328 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_managed_instance.conf
329 + metrics:
330 + folding:
331 + title: Metrics
332 + enabled: false
333 + description: ""
334 + availability: []
335 + scopes:
336 + - name: resource
337 + description: "These metrics refer to each monitored Azure resource."
338 + labels:
339 + - name: resource_name
340 + description: "The Azure resource name."
341 + - name: resource_group
342 + description: "The Azure resource group."
343 + - name: region
344 + description: "The Azure region where the resource is deployed."
345 + - name: resource_type
346 + description: "The Azure resource type identifier."
347 + - name: profile
348 + description: "The Azure Monitor profile id."
349 + - name: resource_uid
350 + description: "The unique Azure resource identifier."
351 + metrics:
352 + - name: azure_monitor.sql_managed_instance.cpu
353 + description: Azure SQL Managed Instance CPU Utilization
354 + unit: percentage
355 + chart_type: line
356 + dimensions:
357 + - name: average
358 + - name: maximum
359 + - name: azure_monitor.sql_managed_instance.io_throughput
360 + description: Azure SQL Managed Instance I/O Throughput
361 + unit: bytes/s
362 + chart_type: line
363 + dimensions:
364 + - name: read
365 + - name: written
366 + - name: azure_monitor.sql_managed_instance.io_requests
367 + description: Azure SQL Managed Instance I/O Requests
368 + unit: requests/s
369 + chart_type: line
370 + dimensions:
371 + - name: average
372 + - name: azure_monitor.sql_managed_instance.storage
373 + description: Azure SQL Managed Instance Storage
374 + unit: MiB
375 + chart_type: line
376 + dimensions:
377 + - name: reserved
378 + - name: used
379 + - name: azure_monitor.sql_managed_instance.virtual_core_count
380 + description: Azure SQL Managed Instance Virtual Core Count
381 + unit: cores
382 + chart_type: line
383 + dimensions:
384 + - name: average
385 + - <<: *module
386 + meta:
387 + <<: *meta
388 + id: collector-go.d.plugin-azure_monitor-sql_database
389 + monitored_instance:
390 + name: Azure SQL Database
391 + link: https://learn.microsoft.com/azure/azure-sql/database/
392 + icon_filename: azure.svg
393 + categories:
394 + - data-collection.cloud-and-devops
395 + keywords:
396 + - azure
397 + - sql
398 + - database
399 + - mssql
400 + - dtu
401 + overview:
402 + <<: *overview
403 + data_collection:
404 + metrics_description: |
405 + Monitor SQL Database performance including CPU and DTU utilization, storage consumption, active sessions and workers, deadlocks, IO rates, tempdb usage, in-memory OLTP storage, and serverless auto-pause and billing metrics.
406 + method_description: *method_description
407 + alerts:
408 + - name: am_sql_database_availability
409 + metric: azure_monitor.sql_database.availability
410 + info: "SQL Database availability on ${label:resource_name}"
411 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
412 + - name: am_sql_database_cpu
413 + metric: azure_monitor.sql_database.cpu
414 + info: "SQL Database CPU on ${label:resource_name}"
415 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
416 + - name: am_sql_database_instance_cpu
417 + metric: azure_monitor.sql_database.instance_cpu
418 + info: "SQL Database instance CPU on ${label:resource_name}"
419 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
420 + - name: am_sql_database_instance_memory
421 + metric: azure_monitor.sql_database.instance_memory
422 + info: "SQL Database instance memory on ${label:resource_name}"
423 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
424 + - name: am_sql_database_dtu_consumption
425 + metric: azure_monitor.sql_database.dtu_consumption
426 + info: "SQL Database DTU consumption on ${label:resource_name}"
427 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
428 + - name: am_sql_database_data_io
429 + metric: azure_monitor.sql_database.io_utilization
430 + info: "SQL Database data I/O on ${label:resource_name}"
431 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
432 + - name: am_sql_database_log_write
433 + metric: azure_monitor.sql_database.io_utilization
434 + info: "SQL Database log write I/O on ${label:resource_name}"
435 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
436 + - name: am_sql_database_workers
437 + metric: azure_monitor.sql_database.resource_utilization
438 + info: "SQL Database worker utilization on ${label:resource_name}"
439 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
440 + - name: am_sql_database_sessions
441 + metric: azure_monitor.sql_database.resource_utilization
442 + info: "SQL Database session utilization on ${label:resource_name}"
443 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
444 + - name: am_sql_database_connection_failures
445 + metric: azure_monitor.sql_database.connections
446 + info: "SQL Database system connection failures on ${label:resource_name}"
447 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
448 + - name: am_sql_database_firewall_blocks
449 + metric: azure_monitor.sql_database.connections
450 + info: "SQL Database firewall blocks on ${label:resource_name}"
451 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
452 + - name: am_sql_database_deadlocks
453 + metric: azure_monitor.sql_database.deadlocks
454 + info: "SQL Database deadlocks on ${label:resource_name}"
455 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
456 + - name: am_sql_database_storage_utilization
457 + metric: azure_monitor.sql_database.storage_utilization
458 + info: "SQL Database storage utilization on ${label:resource_name}"
459 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
460 + - name: am_sql_database_xtp_storage
461 + metric: azure_monitor.sql_database.xtp_storage
462 + info: "SQL Database In-Memory OLTP storage on ${label:resource_name}"
463 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
464 + - name: am_sql_database_tempdb_log_utilization
465 + metric: azure_monitor.sql_database.tempdb_log_utilization
466 + info: "SQL Database tempdb log utilization on ${label:resource_name}"
467 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
468 + - name: am_sql_database_replication_lag
469 + metric: azure_monitor.sql_database.replication_lag
470 + info: "SQL Database replication lag on ${label:resource_name}"
471 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
472 + - name: am_sql_database_serverless_cpu
473 + metric: azure_monitor.sql_database.serverless_utilization
474 + info: "SQL Database serverless CPU on ${label:resource_name}"
475 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
476 + - name: am_sql_database_serverless_memory
477 + metric: azure_monitor.sql_database.serverless_utilization
478 + info: "SQL Database serverless memory on ${label:resource_name}"
479 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
480 + - name: am_sql_database_ledger_digest_failures
481 + metric: azure_monitor.sql_database.ledger_digest
482 + info: "SQL Database ledger digest failures on ${label:resource_name}"
483 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_database.conf
484 + metrics:
485 + folding:
486 + title: Metrics
487 + enabled: false
488 + description: ""
489 + availability: []
490 + scopes:
491 + - name: resource
492 + description: "These metrics refer to each monitored Azure resource."
493 + labels:
494 + - name: resource_name
495 + description: "The Azure resource name."
496 + - name: resource_group
497 + description: "The Azure resource group."
498 + - name: region
499 + description: "The Azure region where the resource is deployed."
500 + - name: resource_type
501 + description: "The Azure resource type identifier."
502 + - name: profile
503 + description: "The Azure Monitor profile id."
504 + - name: resource_uid
505 + description: "The unique Azure resource identifier."
506 + metrics:
507 + - name: azure_monitor.sql_database.cpu
508 + description: Azure SQL Database CPU Utilization
509 + unit: percentage
510 + chart_type: line
511 + dimensions:
512 + - name: average
513 + - name: maximum
514 + - name: azure_monitor.sql_database.instance_cpu
515 + description: Azure SQL Database Instance CPU Utilization
516 + unit: percentage
517 + chart_type: line
518 + dimensions:
519 + - name: average
520 + - name: azure_monitor.sql_database.instance_memory
521 + description: Azure SQL Database Instance Memory Utilization
522 + unit: percentage
523 + chart_type: line
524 + dimensions:
525 + - name: average
526 + - name: azure_monitor.sql_database.dtu_consumption
527 + description: Azure SQL Database DTU Consumption
528 + unit: percentage
529 + chart_type: line
530 + dimensions:
531 + - name: average
532 + - name: azure_monitor.sql_database.io_utilization
533 + description: Azure SQL Database I/O Utilization
534 + unit: percentage
535 + chart_type: line
536 + dimensions:
537 + - name: data_read
538 + - name: log_write
539 + - name: azure_monitor.sql_database.resource_utilization
540 + description: Azure SQL Database Resource Utilization
541 + unit: percentage
542 + chart_type: line
543 + dimensions:
544 + - name: workers
545 + - name: sessions
546 + - name: azure_monitor.sql_database.availability
547 + description: Azure SQL Database Availability
548 + unit: percentage
549 + chart_type: line
550 + dimensions:
551 + - name: average
552 + - name: azure_monitor.sql_database.connections
553 + description: Azure SQL Database Connection Events
554 + unit: connections/s
555 + chart_type: line
556 + dimensions:
557 + - name: successful
558 + - name: failed_system
559 + - name: failed_user
560 + - name: firewall_blocked
561 + - name: azure_monitor.sql_database.deadlocks
562 + description: Azure SQL Database Deadlocks
563 + unit: deadlocks/s
564 + chart_type: line
565 + dimensions:
566 + - name: total
567 + - name: azure_monitor.sql_database.storage
568 + description: Azure SQL Database Storage
569 + unit: bytes
570 + chart_type: line
571 + dimensions:
572 + - name: used
573 + - name: allocated
574 + - name: azure_monitor.sql_database.storage_utilization
575 + description: Azure SQL Database Storage Utilization
576 + unit: percentage
577 + chart_type: line
578 + dimensions:
579 + - name: average
580 + - name: azure_monitor.sql_database.tempdb_size
581 + description: Azure SQL Database Tempdb Size
582 + unit: KiB
583 + chart_type: line
584 + dimensions:
585 + - name: data
586 + - name: log
587 + - name: azure_monitor.sql_database.tempdb_log_utilization
588 + description: Azure SQL Database Tempdb Log Utilization
589 + unit: percentage
590 + chart_type: line
591 + dimensions:
592 + - name: average
593 + - name: azure_monitor.sql_database.vcore_usage
594 + description: Azure SQL Database vCore Usage
595 + unit: vCores
596 + chart_type: line
597 + dimensions:
598 + - name: used
599 + - name: limit
600 + - name: azure_monitor.sql_database.dtu_usage
601 + description: Azure SQL Database DTU Usage
602 + unit: DTU
603 + chart_type: line
604 + dimensions:
605 + - name: used
606 + - name: limit
607 + - name: azure_monitor.sql_database.sessions_count
608 + description: Azure SQL Database Sessions Count
609 + unit: sessions
610 + chart_type: line
611 + dimensions:
612 + - name: average
613 + - name: azure_monitor.sql_database.replication_lag
614 + description: Azure SQL Database Replication Lag
615 + unit: seconds
616 + chart_type: line
617 + dimensions:
618 + - name: average
619 + - name: azure_monitor.sql_database.xtp_storage
620 + description: Azure SQL Database In-Memory OLTP Storage
621 + unit: percentage
622 + chart_type: line
623 + dimensions:
624 + - name: average
625 + - name: azure_monitor.sql_database.serverless_utilization
626 + description: Azure SQL Database Serverless Utilization
627 + unit: percentage
628 + chart_type: line
629 + dimensions:
630 + - name: cpu
631 + - name: memory
632 + - name: azure_monitor.sql_database.serverless_billing
633 + description: Azure SQL Database Serverless Billing
634 + unit: vCore-seconds/s
635 + chart_type: line
636 + dimensions:
637 + - name: total
638 + - name: ha_replicas
639 + - name: azure_monitor.sql_database.free_tier_usage
640 + description: Azure SQL Database Free Tier Usage
641 + unit: vCore-seconds
642 + chart_type: line
643 + dimensions:
644 + - name: consumed
645 + - name: remaining
646 + - name: azure_monitor.sql_database.ledger_digest
647 + description: Azure SQL Database Ledger Digest Uploads
648 + unit: events/s
649 + chart_type: line
650 + dimensions:
651 + - name: success
652 + - name: failed
653 + - <<: *module
654 + meta:
655 + <<: *meta
656 + id: collector-go.d.plugin-azure_monitor-postgres_flexible
657 + monitored_instance:
658 + name: Azure PostgreSQL Flexible Server
659 + link: https://learn.microsoft.com/azure/postgresql/flexible-server/
660 + icon_filename: azure.svg
661 + categories:
662 + - data-collection.cloud-and-devops
663 + keywords:
664 + - azure
665 + - postgresql
666 + - postgres
667 + - database
668 + - flexible
669 + overview:
670 + <<: *overview
671 + data_collection:
672 + metrics_description: |
673 + Monitor PostgreSQL Flexible Server including active connections, transaction rates, replication lag, storage and backup utilization, CPU and memory usage, IO throughput, autovacuum activity, PgBouncer connection pooling, database sessions, and burstable instance CPU credits.
674 + method_description: *method_description
675 + alerts:
676 + - name: am_postgres_flexible_availability
677 + metric: azure_monitor.postgres_flexible.availability
678 + info: "PostgreSQL Flexible Server down on ${label:resource_name}"
679 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
680 + - name: am_postgres_flexible_cpu
681 + metric: azure_monitor.postgres_flexible.cpu
682 + info: "PostgreSQL Flexible CPU on ${label:resource_name}"
683 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
684 + - name: am_postgres_flexible_memory
685 + metric: azure_monitor.postgres_flexible.memory
686 + info: "PostgreSQL Flexible memory on ${label:resource_name}"
687 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
688 + - name: am_postgres_flexible_storage_utilization
689 + metric: azure_monitor.postgres_flexible.storage_utilization
690 + info: "PostgreSQL Flexible storage on ${label:resource_name}"
691 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
692 + - name: am_postgres_flexible_disk_bandwidth_saturation
693 + metric: azure_monitor.postgres_flexible.disk_saturation
694 + info: "PostgreSQL Flexible disk bandwidth saturation on ${label:resource_name}"
695 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
696 + - name: am_postgres_flexible_disk_iops_saturation
697 + metric: azure_monitor.postgres_flexible.disk_saturation
698 + info: "PostgreSQL Flexible disk IOPS saturation on ${label:resource_name}"
699 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
700 + - name: am_postgres_flexible_disk_queue_depth
701 + metric: azure_monitor.postgres_flexible.disk_queue_depth
702 + info: "PostgreSQL Flexible disk queue depth on ${label:resource_name}"
703 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
704 + - name: am_postgres_flexible_failed_connections
705 + metric: azure_monitor.postgres_flexible.connection_rate
706 + info: "PostgreSQL Flexible failed connections on ${label:resource_name}"
707 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
708 + - name: am_postgres_flexible_tcp_connection_backlog
709 + metric: azure_monitor.postgres_flexible.tcp_connection_backlog
710 + info: "PostgreSQL Flexible TCP connection backlog on ${label:resource_name}"
711 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
712 + - name: am_postgres_flexible_deadlocks
713 + metric: azure_monitor.postgres_flexible.deadlocks
714 + info: "PostgreSQL Flexible deadlocks on ${label:resource_name}"
715 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
716 + - name: am_postgres_flexible_rollback_ratio
717 + metric: azure_monitor.postgres_flexible.transactions
718 + info: "PostgreSQL Flexible rollback ratio on ${label:resource_name}"
719 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
720 + - name: am_postgres_flexible_longest_query
721 + metric: azure_monitor.postgres_flexible.long_running
722 + info: "PostgreSQL Flexible long running query on ${label:resource_name}"
723 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
724 + - name: am_postgres_flexible_longest_transaction
725 + metric: azure_monitor.postgres_flexible.long_running
726 + info: "PostgreSQL Flexible long running transaction on ${label:resource_name}"
727 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
728 + - name: am_postgres_flexible_xid_usage
729 + metric: azure_monitor.postgres_flexible.xid_usage
730 + info: "PostgreSQL Flexible transaction ID usage on ${label:resource_name}"
731 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
732 + - name: am_postgres_flexible_xmin_age
733 + metric: azure_monitor.postgres_flexible.xmin_age
734 + info: "PostgreSQL Flexible backend xmin age on ${label:resource_name}"
735 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
736 + - name: am_postgres_flexible_bloat
737 + metric: azure_monitor.postgres_flexible.bloat
738 + info: "PostgreSQL Flexible table bloat on ${label:resource_name}"
739 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
740 + - name: am_postgres_flexible_replication_lag
741 + metric: azure_monitor.postgres_flexible.replication_lag_time
742 + info: "PostgreSQL Flexible replication lag on ${label:resource_name}"
743 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
744 + - name: am_postgres_flexible_cpu_credits_remaining
745 + metric: azure_monitor.postgres_flexible.cpu_credits
746 + info: "PostgreSQL Flexible CPU credits low on ${label:resource_name}"
747 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
748 + - name: am_postgres_flexible_temp_bytes
749 + metric: azure_monitor.postgres_flexible.temp_bytes
750 + info: "PostgreSQL Flexible temp file I/O on ${label:resource_name}"
751 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_postgres_flexible.conf
752 + metrics:
753 + folding:
754 + title: Metrics
755 + enabled: false
756 + description: ""
757 + availability: []
758 + scopes:
759 + - name: resource
760 + description: "These metrics refer to each monitored Azure resource."
761 + labels:
762 + - name: resource_name
763 + description: "The Azure resource name."
764 + - name: resource_group
765 + description: "The Azure resource group."
766 + - name: region
767 + description: "The Azure region where the resource is deployed."
768 + - name: resource_type
769 + description: "The Azure resource type identifier."
770 + - name: profile
771 + description: "The Azure Monitor profile id."
772 + - name: resource_uid
773 + description: "The unique Azure resource identifier."
774 + metrics:
775 + - name: azure_monitor.postgres_flexible.cpu
776 + description: Azure PostgreSQL Flexible Server CPU Utilization
777 + unit: percentage
778 + chart_type: line
779 + dimensions:
780 + - name: average
781 + - name: azure_monitor.postgres_flexible.memory
782 + description: Azure PostgreSQL Flexible Server Memory Utilization
783 + unit: percentage
784 + chart_type: line
785 + dimensions:
786 + - name: average
787 + - name: azure_monitor.postgres_flexible.availability
788 + description: Azure PostgreSQL Flexible Server Database Alive
789 + unit: state
790 + chart_type: line
791 + dimensions:
792 + - name: maximum
793 + - name: azure_monitor.postgres_flexible.iops
794 + description: Azure PostgreSQL Flexible Server IOPS
795 + unit: operations/s
796 + chart_type: line
797 + dimensions:
798 + - name: total
799 + - name: read
800 + - name: write
801 + - name: azure_monitor.postgres_flexible.disk_throughput
802 + description: Azure PostgreSQL Flexible Server Disk Throughput
803 + unit: bytes/s
804 + chart_type: line
805 + dimensions:
806 + - name: read
807 + - name: write
808 + - name: azure_monitor.postgres_flexible.disk_saturation
809 + description: Azure PostgreSQL Flexible Server Disk Saturation
810 + unit: percentage
811 + chart_type: line
812 + dimensions:
813 + - name: bandwidth
814 + - name: iops
815 + - name: azure_monitor.postgres_flexible.disk_queue_depth
816 + description: Azure PostgreSQL Flexible Server Disk Queue Depth
817 + unit: operations
818 + chart_type: line
819 + dimensions:
820 + - name: average
821 + - name: azure_monitor.postgres_flexible.buffer_cache
822 + description: Azure PostgreSQL Flexible Server Buffer Cache
823 + unit: blocks/s
824 + chart_type: line
825 + dimensions:
826 + - name: hits
827 + - name: reads
828 + - name: azure_monitor.postgres_flexible.active_connections
829 + description: Azure PostgreSQL Flexible Server Active Connections
830 + unit: connections
831 + chart_type: line
832 + dimensions:
833 + - name: average
834 + - name: azure_monitor.postgres_flexible.connection_rate
835 + description: Azure PostgreSQL Flexible Server Connection Rate
836 + unit: connections/s
837 + chart_type: line
838 + dimensions:
839 + - name: succeeded
840 + - name: failed
841 + - name: azure_monitor.postgres_flexible.transactions
842 + description: Azure PostgreSQL Flexible Server Transactions
843 + unit: transactions/s
844 + chart_type: line
845 + dimensions:
846 + - name: committed
847 + - name: rolled_back
848 + - name: azure_monitor.postgres_flexible.transaction_rate
849 + description: Azure PostgreSQL Flexible Server Transaction Rate
850 + unit: transactions/s
851 + chart_type: line
852 + dimensions:
853 + - name: total
854 + - name: xact_total
855 + - name: azure_monitor.postgres_flexible.deadlocks
856 + description: Azure PostgreSQL Flexible Server Deadlocks
857 + unit: deadlocks/s
858 + chart_type: line
859 + dimensions:
860 + - name: total
861 + - name: azure_monitor.postgres_flexible.tuple_reads
862 + description: Azure PostgreSQL Flexible Server Tuple Reads
863 + unit: tuples/s
864 + chart_type: line
865 + dimensions:
866 + - name: returned
867 + - name: fetched
868 + - name: azure_monitor.postgres_flexible.tuple_writes
869 + description: Azure PostgreSQL Flexible Server Tuple Writes
870 + unit: tuples/s
871 + chart_type: line
872 + dimensions:
873 + - name: inserted
874 + - name: updated
875 + - name: deleted
876 + - name: azure_monitor.postgres_flexible.temp_files
877 + description: Azure PostgreSQL Flexible Server Temp Files Created
878 + unit: files/s
879 + chart_type: line
880 + dimensions:
881 + - name: total
882 + - name: azure_monitor.postgres_flexible.temp_bytes
883 + description: Azure PostgreSQL Flexible Server Temp Bytes Written
884 + unit: bytes/s
885 + chart_type: line
886 + dimensions:
887 + - name: total
888 + - name: azure_monitor.postgres_flexible.long_running
889 + description: Azure PostgreSQL Flexible Server Long Running Operations
890 + unit: seconds
891 + chart_type: line
892 + dimensions:
893 + - name: query
894 + - name: transaction
895 + - name: azure_monitor.postgres_flexible.xid_usage
896 + description: Azure PostgreSQL Flexible Server Transaction ID Usage
897 + unit: transactions
898 + chart_type: line
899 + dimensions:
900 + - name: max_used
901 + - name: oldest_xmin
902 + - name: azure_monitor.postgres_flexible.xmin_age
903 + description: Azure PostgreSQL Flexible Server Backend XID Age
904 + unit: transactions
905 + chart_type: line
906 + dimensions:
907 + - name: maximum
908 + - name: azure_monitor.postgres_flexible.network
909 + description: Azure PostgreSQL Flexible Server Network Traffic
910 + unit: bytes/s
911 + chart_type: line
912 + dimensions:
913 + - name: in
914 + - name: out
915 + - name: azure_monitor.postgres_flexible.storage
916 + description: Azure PostgreSQL Flexible Server Storage
917 + unit: bytes
918 + chart_type: line
919 + dimensions:
920 + - name: used
921 + - name: free
922 + - name: azure_monitor.postgres_flexible.storage_utilization
923 + description: Azure PostgreSQL Flexible Server Storage Utilization
924 + unit: percentage
925 + chart_type: line
926 + dimensions:
927 + - name: average
928 + - name: azure_monitor.postgres_flexible.wal_storage
929 + description: Azure PostgreSQL Flexible Server WAL Storage
930 + unit: bytes
931 + chart_type: line
932 + dimensions:
933 + - name: used
934 + - name: azure_monitor.postgres_flexible.database_size
935 + description: Azure PostgreSQL Flexible Server Database Size
936 + unit: bytes
937 + chart_type: line
938 + dimensions:
939 + - name: average
940 + - name: azure_monitor.postgres_flexible.backup_storage
941 + description: Azure PostgreSQL Flexible Server Backup Storage
942 + unit: bytes
943 + chart_type: line
944 + dimensions:
945 + - name: used
946 + - name: azure_monitor.postgres_flexible.replication_lag_time
947 + description: Azure PostgreSQL Flexible Server Replication Lag
948 + unit: seconds
949 + chart_type: line
950 + dimensions:
951 + - name: average
952 + - name: azure_monitor.postgres_flexible.replication_lag_bytes
953 + description: Azure PostgreSQL Flexible Server Replication Lag Bytes
954 + unit: bytes
955 + chart_type: line
956 + dimensions:
957 + - name: physical
958 + - name: logical
959 + - name: azure_monitor.postgres_flexible.sessions_by_state
960 + description: Azure PostgreSQL Flexible Server Sessions by State
961 + unit: sessions
962 + chart_type: line
963 + dimensions:
964 + - name: maximum
965 + - name: azure_monitor.postgres_flexible.sessions_by_wait_event_type
966 + description: Azure PostgreSQL Flexible Server Sessions by Wait Event Type
967 + unit: sessions
968 + chart_type: line
969 + dimensions:
970 + - name: maximum
971 + - name: azure_monitor.postgres_flexible.autovacuum_operations
972 + description: Azure PostgreSQL Flexible Server Autovacuum Operations
973 + unit: operations
974 + chart_type: line
975 + dimensions:
976 + - name: vacuum
977 + - name: autovacuum
978 + - name: analyze
979 + - name: autoanalyze
980 + - name: azure_monitor.postgres_flexible.autovacuum_table_coverage
981 + description: Azure PostgreSQL Flexible Server Autovacuum Table Coverage
982 + unit: tables
983 + chart_type: line
984 + dimensions:
985 + - name: vacuumed
986 + - name: autovacuumed
987 + - name: analyzed
988 + - name: autoanalyzed
989 + - name: total
990 + - name: azure_monitor.postgres_flexible.tuple_liveness
991 + description: Azure PostgreSQL Flexible Server Tuple Liveness
992 + unit: tuples
993 + chart_type: line
994 + dimensions:
995 + - name: live
996 + - name: dead
997 + - name: modified_since_analyze
998 + - name: azure_monitor.postgres_flexible.bloat
999 + description: Azure PostgreSQL Flexible Server Table Bloat
1000 + unit: percentage
1001 + chart_type: line
1002 + dimensions:
1003 + - name: maximum
1004 + - name: azure_monitor.postgres_flexible.backend_count
1005 + description: Azure PostgreSQL Flexible Server Backend Count
1006 + unit: connections
1007 + chart_type: line
1008 + dimensions:
1009 + - name: maximum
1010 + - name: azure_monitor.postgres_flexible.pgbouncer_client_connections
1011 + description: Azure PostgreSQL Flexible Server PgBouncer Client Connections
1012 + unit: connections
1013 + chart_type: line
1014 + dimensions:
1015 + - name: active
1016 + - name: waiting
1017 + - name: azure_monitor.postgres_flexible.pgbouncer_server_connections
1018 + description: Azure PostgreSQL Flexible Server PgBouncer Server Connections
1019 + unit: connections
1020 + chart_type: line
1021 + dimensions:
1022 + - name: active
1023 + - name: idle
1024 + - name: azure_monitor.postgres_flexible.pgbouncer_pool_count
1025 + description: Azure PostgreSQL Flexible Server PgBouncer Pool Count
1026 + unit: pools
1027 + chart_type: line
1028 + dimensions:
1029 + - name: pools
1030 + - name: azure_monitor.postgres_flexible.pgbouncer_pooled_connections
1031 + description: Azure PostgreSQL Flexible Server PgBouncer Pooled Connections
1032 + unit: connections
1033 + chart_type: line
1034 + dimensions:
1035 + - name: pooled_connections
1036 + - name: azure_monitor.postgres_flexible.cpu_credits
1037 + description: Azure PostgreSQL Flexible Server CPU Credits
1038 + unit: credits
1039 + chart_type: line
1040 + dimensions:
1041 + - name: consumed
1042 + - name: remaining
1043 + - name: azure_monitor.postgres_flexible.postmaster_cpu
1044 + description: Azure PostgreSQL Flexible Server Postmaster CPU Usage
1045 + unit: percentage
1046 + chart_type: line
1047 + dimensions:
1048 + - name: average
1049 + - name: azure_monitor.postgres_flexible.max_connections
1050 + description: Azure PostgreSQL Flexible Server Max Connections
1051 + unit: connections
1052 + chart_type: line
1053 + dimensions:
1054 + - name: maximum
1055 + - name: azure_monitor.postgres_flexible.tcp_connection_backlog
1056 + description: Azure PostgreSQL Flexible Server TCP Connection Backlog
1057 + unit: connections
1058 + chart_type: line
1059 + dimensions:
1060 + - name: maximum
1061 + - <<: *module
1062 + meta:
1063 + <<: *meta
1064 + id: collector-go.d.plugin-azure_monitor-cosmos_db
1065 + monitored_instance:
1066 + name: Azure Cosmos DB Account
1067 + link: https://learn.microsoft.com/azure/cosmos-db/
1068 + icon_filename: azure.svg
1069 + categories:
1070 + - data-collection.cloud-and-devops
1071 + keywords:
1072 + - azure
1073 + - cosmos
1074 + - cosmosdb
1075 + - nosql
1076 + - database
1077 + - documentdb
1078 + overview:
1079 + <<: *overview
1080 + data_collection:
1081 + metrics_description: |
1082 + Monitor Cosmos DB accounts including request unit consumption and throttling, document counts and storage, data and index sizes, replication latency, availability percentages, provisioned throughput utilization, and normalized RU consumption per partition.
1083 + method_description: *method_description
1084 + alerts:
1085 + - name: am_cosmos_db_availability
1086 + metric: azure_monitor.cosmos_db.availability
1087 + info: "Cosmos DB availability on ${label:resource_name}"
1088 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_cosmos_db.conf
1089 + - name: am_cosmos_db_normalized_ru_consumption
1090 + metric: azure_monitor.cosmos_db.normalized_ru_consumption
1091 + info: "Cosmos DB RU consumption on ${label:resource_name}"
1092 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_cosmos_db.conf
1093 + - name: am_cosmos_db_storage_utilization
1094 + metric: azure_monitor.cosmos_db.storage
1095 + info: "Cosmos DB storage utilization on ${label:resource_name}"
1096 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_cosmos_db.conf
1097 + - name: am_cosmos_db_server_side_latency_direct
1098 + metric: azure_monitor.cosmos_db.server_side_latency
1099 + info: "Cosmos DB direct latency on ${label:resource_name}"
1100 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_cosmos_db.conf
1101 + - name: am_cosmos_db_server_side_latency_gateway
1102 + metric: azure_monitor.cosmos_db.server_side_latency
1103 + info: "Cosmos DB gateway latency on ${label:resource_name}"
1104 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_cosmos_db.conf
1105 + - name: am_cosmos_db_replication_latency
1106 + metric: azure_monitor.cosmos_db.replication_latency
1107 + info: "Cosmos DB replication latency on ${label:resource_name}"
1108 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_cosmos_db.conf
1109 + - name: am_cosmos_db_dedicated_gateway_cpu
1110 + metric: azure_monitor.cosmos_db.dedicated_gateway_cpu
1111 + info: "Cosmos DB dedicated gateway CPU on ${label:resource_name}"
1112 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_cosmos_db.conf
1113 + - name: am_cosmos_db_integrated_cache_item_hit_rate
1114 + metric: azure_monitor.cosmos_db.integrated_cache_hit_rate
1115 + info: "Cosmos DB cache item hit rate on ${label:resource_name}"
1116 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_cosmos_db.conf
1117 + - name: am_cosmos_db_integrated_cache_query_hit_rate
1118 + metric: azure_monitor.cosmos_db.integrated_cache_hit_rate
1119 + info: "Cosmos DB cache query hit rate on ${label:resource_name}"
1120 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_cosmos_db.conf
1121 + - name: am_cosmos_db_cassandra_connection_closures
1122 + metric: azure_monitor.cosmos_db.cassandra_connections
1123 + info: "Cosmos DB Cassandra connection closures on ${label:resource_name}"
1124 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_cosmos_db.conf
1125 + metrics:
1126 + folding:
1127 + title: Metrics
1128 + enabled: false
1129 + description: ""
1130 + availability: []
1131 + scopes:
1132 + - name: resource
1133 + description: "These metrics refer to each monitored Azure resource."
1134 + labels:
1135 + - name: resource_name
1136 + description: "The Azure resource name."
1137 + - name: resource_group
1138 + description: "The Azure resource group."
1139 + - name: region
1140 + description: "The Azure region where the resource is deployed."
1141 + - name: resource_type
1142 + description: "The Azure resource type identifier."
1143 + - name: profile
1144 + description: "The Azure Monitor profile id."
1145 + - name: resource_uid
1146 + description: "The unique Azure resource identifier."
1147 + metrics:
1148 + - name: azure_monitor.cosmos_db.total_requests
1149 + description: Azure Cosmos DB Total Requests
1150 + unit: requests/s
1151 + chart_type: line
1152 + dimensions:
1153 + - name: count
1154 + - name: azure_monitor.cosmos_db.request_units
1155 + description: Azure Cosmos DB Request Units Consumed
1156 + unit: RU/s
1157 + chart_type: line
1158 + dimensions:
1159 + - name: total
1160 + - name: azure_monitor.cosmos_db.normalized_ru_consumption
1161 + description: Azure Cosmos DB Normalized RU Consumption
1162 + unit: percentage
1163 + chart_type: line
1164 + dimensions:
1165 + - name: maximum
1166 + - name: azure_monitor.cosmos_db.server_side_latency
1167 + description: Azure Cosmos DB Server-Side Latency
1168 + unit: milliseconds
1169 + chart_type: line
1170 + dimensions:
1171 + - name: direct
1172 + - name: gateway
1173 + - name: azure_monitor.cosmos_db.replication_latency
1174 + description: Azure Cosmos DB Replication Latency
1175 + unit: milliseconds
1176 + chart_type: line
1177 + dimensions:
1178 + - name: average
1179 + - name: azure_monitor.cosmos_db.storage
1180 + description: Azure Cosmos DB Storage
1181 + unit: bytes
1182 + chart_type: line
1183 + dimensions:
1184 + - name: data
1185 + - name: index
1186 + - name: quota
1187 + - name: azure_monitor.cosmos_db.document_count
1188 + description: Azure Cosmos DB Document Count
1189 + unit: documents
1190 + chart_type: line
1191 + dimensions:
1192 + - name: average
1193 + - name: azure_monitor.cosmos_db.partition_size
1194 + description: Azure Cosmos DB Physical Partition Size
1195 + unit: bytes
1196 + chart_type: line
1197 + dimensions:
1198 + - name: maximum
1199 + - name: azure_monitor.cosmos_db.partition_count
1200 + description: Azure Cosmos DB Physical Partition Count
1201 + unit: partitions
1202 + chart_type: line
1203 + dimensions:
1204 + - name: maximum
1205 + - name: azure_monitor.cosmos_db.provisioned_throughput
1206 + description: Azure Cosmos DB Provisioned Throughput
1207 + unit: RU/s
1208 + chart_type: line
1209 + dimensions:
1210 + - name: provisioned
1211 + - name: autoscale_max
1212 + - name: autoscaled
1213 + - name: azure_monitor.cosmos_db.partition_throughput
1214 + description: Azure Cosmos DB Physical Partition Throughput
1215 + unit: RU/s
1216 + chart_type: line
1217 + dimensions:
1218 + - name: maximum
1219 + - name: azure_monitor.cosmos_db.availability
1220 + description: Azure Cosmos DB Service Availability
1221 + unit: percentage
1222 + chart_type: line
1223 + dimensions:
1224 + - name: average
1225 + - name: azure_monitor.cosmos_db.metadata_requests
1226 + description: Azure Cosmos DB Metadata Requests
1227 + unit: requests/s
1228 + chart_type: line
1229 + dimensions:
1230 + - name: count
1231 + - name: azure_monitor.cosmos_db.api_requests
1232 + description: Azure Cosmos DB API Requests
1233 + unit: requests/s
1234 + chart_type: line
1235 + dimensions:
1236 + - name: mongo
1237 + - name: cassandra
1238 + - name: gremlin
1239 + - name: azure_monitor.cosmos_db.api_request_charges
1240 + description: Azure Cosmos DB API Request Charges
1241 + unit: RU/s
1242 + chart_type: line
1243 + dimensions:
1244 + - name: mongo
1245 + - name: cassandra
1246 + - name: gremlin
1247 + - name: azure_monitor.cosmos_db.cassandra_connections
1248 + description: Azure Cosmos DB Cassandra Connection Closures
1249 + unit: connections/s
1250 + chart_type: line
1251 + dimensions:
1252 + - name: total
1253 + - name: azure_monitor.cosmos_db.dedicated_gateway_cpu
1254 + description: Azure Cosmos DB Dedicated Gateway CPU Usage
1255 + unit: percentage
1256 + chart_type: line
1257 + dimensions:
1258 + - name: average
1259 + - name: azure_monitor.cosmos_db.dedicated_gateway_memory
1260 + description: Azure Cosmos DB Dedicated Gateway Memory Usage
1261 + unit: bytes
1262 + chart_type: line
1263 + dimensions:
1264 + - name: average
1265 + - name: azure_monitor.cosmos_db.dedicated_gateway_requests
1266 + description: Azure Cosmos DB Dedicated Gateway Requests
1267 + unit: requests/s
1268 + chart_type: line
1269 + dimensions:
1270 + - name: count
1271 + - name: azure_monitor.cosmos_db.integrated_cache_hit_rate
1272 + description: Azure Cosmos DB Integrated Cache Hit Rate
1273 + unit: percentage
1274 + chart_type: line
1275 + dimensions:
1276 + - name: item
1277 + - name: query
1278 + - <<: *module
1279 + meta:
1280 + <<: *meta
1281 + id: collector-go.d.plugin-azure_monitor-logic_apps
1282 + monitored_instance:
1283 + name: Azure Logic Apps Workflow
1284 + link: https://learn.microsoft.com/azure/logic-apps/
1285 + icon_filename: azure.svg
1286 + categories:
1287 + - data-collection.cloud-and-devops
1288 + keywords:
1289 + - azure
1290 + - logic
1291 + - apps
1292 + - workflow
1293 + - integration
1294 + - automation
1295 + overview:
1296 + <<: *overview
1297 + data_collection:
1298 + metrics_description: |
1299 + Monitor Logic Apps workflow execution including run completions and failures, action execution counts, trigger firing rates, run and action latency, billable executions, and action-level success and failure breakdowns.
1300 + method_description: *method_description
1301 + alerts:
1302 + - name: am_logic_apps_run_failure_rate
1303 + metric: azure_monitor.logic_apps.run_failure_rate
1304 + info: "Logic Apps run failure rate on ${label:resource_name}"
1305 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_logic_apps.conf
1306 + - name: am_logic_apps_runs_failed
1307 + metric: azure_monitor.logic_apps.run_lifecycle
1308 + info: "Logic Apps failed runs on ${label:resource_name}"
1309 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_logic_apps.conf
1310 + - name: am_logic_apps_run_latency
1311 + metric: azure_monitor.logic_apps.run_latency
1312 + info: "Logic Apps run latency on ${label:resource_name}"
1313 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_logic_apps.conf
1314 + - name: am_logic_apps_run_throttled
1315 + metric: azure_monitor.logic_apps.run_throttling
1316 + info: "Logic Apps run throttling on ${label:resource_name}"
1317 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_logic_apps.conf
1318 + - name: am_logic_apps_actions_failed
1319 + metric: azure_monitor.logic_apps.action_lifecycle
1320 + info: "Logic Apps failed actions on ${label:resource_name}"
1321 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_logic_apps.conf
1322 + - name: am_logic_apps_action_latency
1323 + metric: azure_monitor.logic_apps.action_latency
1324 + info: "Logic Apps action latency on ${label:resource_name}"
1325 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_logic_apps.conf
1326 + - name: am_logic_apps_action_throttled
1327 + metric: azure_monitor.logic_apps.action_throttling
1328 + info: "Logic Apps action throttling on ${label:resource_name}"
1329 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_logic_apps.conf
1330 + - name: am_logic_apps_triggers_failed
1331 + metric: azure_monitor.logic_apps.trigger_lifecycle
1332 + info: "Logic Apps failed triggers on ${label:resource_name}"
1333 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_logic_apps.conf
1334 + - name: am_logic_apps_trigger_latency
1335 + metric: azure_monitor.logic_apps.trigger_latency
1336 + info: "Logic Apps trigger latency on ${label:resource_name}"
1337 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_logic_apps.conf
1338 + - name: am_logic_apps_trigger_throttled
1339 + metric: azure_monitor.logic_apps.trigger_throttling
1340 + info: "Logic Apps trigger throttling on ${label:resource_name}"
1341 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_logic_apps.conf
1342 + - name: am_logic_apps_completion_token_overflow
1343 + metric: azure_monitor.logic_apps.agent
1344 + info: "Logic Apps completion token overflow on ${label:resource_name}"
1345 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_logic_apps.conf
1346 + - name: am_logic_apps_prompt_token_overflow
1347 + metric: azure_monitor.logic_apps.agent
1348 + info: "Logic Apps prompt token overflow on ${label:resource_name}"
1349 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_logic_apps.conf
1350 + metrics:
1351 + folding:
1352 + title: Metrics
1353 + enabled: false
1354 + description: ""
1355 + availability: []
1356 + scopes:
1357 + - name: resource
1358 + description: "These metrics refer to each monitored Azure resource."
1359 + labels:
1360 + - name: resource_name
1361 + description: "The Azure resource name."
1362 + - name: resource_group
1363 + description: "The Azure resource group."
1364 + - name: region
1365 + description: "The Azure region where the resource is deployed."
1366 + - name: resource_type
1367 + description: "The Azure resource type identifier."
1368 + - name: profile
1369 + description: "The Azure Monitor profile id."
1370 + - name: resource_uid
1371 + description: "The unique Azure resource identifier."
1372 + metrics:
1373 + - name: azure_monitor.logic_apps.run_lifecycle
1374 + description: Azure Logic Apps Run Lifecycle
1375 + unit: runs/s
1376 + chart_type: line
1377 + dimensions:
1378 + - name: started
1379 + - name: completed
1380 + - name: succeeded
1381 + - name: failed
1382 + - name: cancelled
1383 + - name: azure_monitor.logic_apps.run_latency
1384 + description: Azure Logic Apps Run Latency
1385 + unit: seconds
1386 + chart_type: line
1387 + dimensions:
1388 + - name: all
1389 + - name: success
1390 + - name: azure_monitor.logic_apps.run_failure_rate
1391 + description: Azure Logic Apps Run Failure Rate
1392 + unit: percentage
1393 + chart_type: line
1394 + dimensions:
1395 + - name: failure_rate
1396 + - name: azure_monitor.logic_apps.run_throttling
1397 + description: Azure Logic Apps Run Throttling
1398 + unit: events/s
1399 + chart_type: line
1400 + dimensions:
1401 + - name: during_run
1402 + - name: at_start
1403 + - name: azure_monitor.logic_apps.action_lifecycle
1404 + description: Azure Logic Apps Action Lifecycle
1405 + unit: actions/s
1406 + chart_type: line
1407 + dimensions:
1408 + - name: started
1409 + - name: completed
1410 + - name: succeeded
1411 + - name: failed
1412 + - name: skipped
1413 + - name: azure_monitor.logic_apps.action_latency
1414 + description: Azure Logic Apps Action Latency
1415 + unit: seconds
1416 + chart_type: line
1417 + dimensions:
1418 + - name: all
1419 + - name: success
1420 + - name: azure_monitor.logic_apps.action_throttling
1421 + description: Azure Logic Apps Action Throttling
1422 + unit: events/s
1423 + chart_type: line
1424 + dimensions:
1425 + - name: total
1426 + - name: azure_monitor.logic_apps.trigger_lifecycle
1427 + description: Azure Logic Apps Trigger Lifecycle
1428 + unit: triggers/s
1429 + chart_type: line
1430 + dimensions:
1431 + - name: started
1432 + - name: completed
1433 + - name: succeeded
1434 + - name: fired
1435 + - name: failed
1436 + - name: skipped
1437 + - name: azure_monitor.logic_apps.trigger_latency
1438 + description: Azure Logic Apps Trigger Latency
1439 + unit: seconds
1440 + chart_type: line
1441 + dimensions:
1442 + - name: all
1443 + - name: fire
1444 + - name: success
1445 + - name: azure_monitor.logic_apps.trigger_throttling
1446 + description: Azure Logic Apps Trigger Throttling
1447 + unit: events/s
1448 + chart_type: line
1449 + dimensions:
1450 + - name: total
1451 + - name: azure_monitor.logic_apps.billable_executions
1452 + description: Azure Logic Apps Billable Executions
1453 + unit: executions/s
1454 + chart_type: line
1455 + dimensions:
1456 + - name: total
1457 + - name: actions
1458 + - name: triggers
1459 + - name: azure_monitor.logic_apps.billing_by_type
1460 + description: Azure Logic Apps Billing by Type
1461 + unit: operations/s
1462 + chart_type: line
1463 + dimensions:
1464 + - name: native
1465 + - name: standard_connector
1466 + - name: storage
1467 + - name: azure_monitor.logic_apps.agent
1468 + description: Azure Logic Apps AI Agent Activity
1469 + unit: events/s
1470 + chart_type: line
1471 + dimensions:
1472 + - name: loop_executions
1473 + - name: completion_overflow
1474 + - name: prompt_overflow
1475 + - <<: *module
1476 + meta:
1477 + <<: *meta
1478 + id: collector-go.d.plugin-azure_monitor-virtual_machines
1479 + monitored_instance:
1480 + name: Azure Virtual Machine
1481 + link: https://learn.microsoft.com/azure/virtual-machines/
1482 + icon_filename: azure.svg
1483 + categories:
1484 + - data-collection.cloud-and-devops
1485 + keywords:
1486 + - azure
1487 + - virtual
1488 + - machine
1489 + - vm
1490 + - compute
1491 + - iaas
1492 + overview:
1493 + <<: *overview
1494 + data_collection:
1495 + metrics_description: |
1496 + Monitor Azure Virtual Machines including CPU utilization, available memory percentage, disk IOPS and throughput for OS, data, temp, and premium cache disks, disk burst and VM-level burst credit balances, network traffic, and inbound/outbound flow creation rates.
1497 + method_description: *method_description
1498 + alerts:
1499 + - name: am_vm_cpu
1500 + metric: azure_monitor.virtual_machines.cpu
1501 + info: "VM CPU on ${label:resource_name}"
1502 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1503 + - name: am_vm_cpu_credits_remaining
1504 + metric: azure_monitor.virtual_machines.cpu_credits
1505 + info: "VM CPU credits low on ${label:resource_name}"
1506 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1507 + - name: am_vm_memory_available
1508 + metric: azure_monitor.virtual_machines.memory_percentage
1509 + info: "VM available memory on ${label:resource_name}"
1510 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1511 + - name: am_vm_availability
1512 + metric: azure_monitor.virtual_machines.availability
1513 + info: "VM unavailable ${label:resource_name}"
1514 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1515 + - name: am_vm_os_disk_latency
1516 + metric: azure_monitor.virtual_machines.os_disk_latency
1517 + info: "VM OS disk latency on ${label:resource_name}"
1518 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1519 + - name: am_vm_os_disk_queue_depth
1520 + metric: azure_monitor.virtual_machines.os_disk_queue_depth
1521 + info: "VM OS disk queue depth on ${label:resource_name}"
1522 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1523 + - name: am_vm_os_disk_bandwidth_throttling
1524 + metric: azure_monitor.virtual_machines.os_disk_throttling
1525 + info: "VM OS disk bandwidth throttling on ${label:resource_name}"
1526 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1527 + - name: am_vm_os_disk_iops_throttling
1528 + metric: azure_monitor.virtual_machines.os_disk_throttling
1529 + info: "VM OS disk IOPS throttling on ${label:resource_name}"
1530 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1531 + - name: am_vm_os_disk_burst_bps_credits
1532 + metric: azure_monitor.virtual_machines.os_disk_burst_credits
1533 + info: "VM OS disk burst bandwidth credits on ${label:resource_name}"
1534 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1535 + - name: am_vm_os_disk_burst_io_credits
1536 + metric: azure_monitor.virtual_machines.os_disk_burst_credits
1537 + info: "VM OS disk burst IO credits on ${label:resource_name}"
1538 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1539 + - name: am_vm_data_disk_latency
1540 + metric: azure_monitor.virtual_machines.data_disk_latency
1541 + info: "VM data disk latency on ${label:resource_name}"
1542 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1543 + - name: am_vm_data_disk_queue_depth
1544 + metric: azure_monitor.virtual_machines.data_disk_queue_depth
1545 + info: "VM data disk queue depth on ${label:resource_name}"
1546 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1547 + - name: am_vm_data_disk_bandwidth_throttling
1548 + metric: azure_monitor.virtual_machines.data_disk_throttling
1549 + info: "VM data disk bandwidth throttling on ${label:resource_name}"
1550 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1551 + - name: am_vm_data_disk_iops_throttling
1552 + metric: azure_monitor.virtual_machines.data_disk_throttling
1553 + info: "VM data disk IOPS throttling on ${label:resource_name}"
1554 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1555 + - name: am_vm_data_disk_burst_bps_credits
1556 + metric: azure_monitor.virtual_machines.data_disk_burst_credits
1557 + info: "VM data disk burst bandwidth credits on ${label:resource_name}"
1558 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1559 + - name: am_vm_data_disk_burst_io_credits
1560 + metric: azure_monitor.virtual_machines.data_disk_burst_credits
1561 + info: "VM data disk burst IO credits on ${label:resource_name}"
1562 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1563 + - name: am_vm_cached_bandwidth_throttling
1564 + metric: azure_monitor.virtual_machines.vm_cached_throttling
1565 + info: "VM cached bandwidth throttling on ${label:resource_name}"
1566 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1567 + - name: am_vm_cached_iops_throttling
1568 + metric: azure_monitor.virtual_machines.vm_cached_throttling
1569 + info: "VM cached IOPS throttling on ${label:resource_name}"
1570 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1571 + - name: am_vm_uncached_bandwidth_throttling
1572 + metric: azure_monitor.virtual_machines.vm_uncached_throttling
1573 + info: "VM uncached bandwidth throttling on ${label:resource_name}"
1574 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1575 + - name: am_vm_uncached_iops_throttling
1576 + metric: azure_monitor.virtual_machines.vm_uncached_throttling
1577 + info: "VM uncached IOPS throttling on ${label:resource_name}"
1578 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1579 + - name: am_vm_cached_burst_bps_credits
1580 + metric: azure_monitor.virtual_machines.vm_cached_burst_credits
1581 + info: "VM cached burst bandwidth credits on ${label:resource_name}"
1582 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1583 + - name: am_vm_cached_burst_io_credits
1584 + metric: azure_monitor.virtual_machines.vm_cached_burst_credits
1585 + info: "VM cached burst IO credits on ${label:resource_name}"
1586 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1587 + - name: am_vm_uncached_burst_bps_credits
1588 + metric: azure_monitor.virtual_machines.vm_uncached_burst_credits
1589 + info: "VM uncached burst bandwidth credits on ${label:resource_name}"
1590 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1591 + - name: am_vm_uncached_burst_io_credits
1592 + metric: azure_monitor.virtual_machines.vm_uncached_burst_credits
1593 + info: "VM uncached burst IO credits on ${label:resource_name}"
1594 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_virtual_machines.conf
1595 + metrics:
1596 + folding:
1597 + title: Metrics
1598 + enabled: false
1599 + description: ""
1600 + availability: []
1601 + scopes:
1602 + - name: resource
1603 + description: "These metrics refer to each monitored Azure resource."
1604 + labels:
1605 + - name: resource_name
1606 + description: "The Azure resource name."
1607 + - name: resource_group
1608 + description: "The Azure resource group."
1609 + - name: region
1610 + description: "The Azure region where the resource is deployed."
1611 + - name: resource_type
1612 + description: "The Azure resource type identifier."
1613 + - name: profile
1614 + description: "The Azure Monitor profile id."
1615 + - name: resource_uid
1616 + description: "The unique Azure resource identifier."
1617 + metrics:
1618 + - name: azure_monitor.virtual_machines.cpu
1619 + description: Azure Virtual Machine CPU Utilization
1620 + unit: percentage
1621 + chart_type: line
1622 + dimensions:
1623 + - name: average
1624 + - name: azure_monitor.virtual_machines.cpu_credits
1625 + description: Azure Virtual Machine CPU Credits
1626 + unit: credits
1627 + chart_type: line
1628 + dimensions:
1629 + - name: consumed
1630 + - name: remaining
1631 + - name: azure_monitor.virtual_machines.memory
1632 + description: Azure Virtual Machine Available Memory
1633 + unit: bytes
1634 + chart_type: line
1635 + dimensions:
1636 + - name: available
1637 + - name: azure_monitor.virtual_machines.memory_percentage
1638 + description: Azure Virtual Machine Available Memory Percentage
1639 + unit: percentage
1640 + chart_type: line
1641 + dimensions:
1642 + - name: available
1643 + - name: azure_monitor.virtual_machines.availability
1644 + description: Azure Virtual Machine Availability
1645 + unit: state
1646 + chart_type: line
1647 + dimensions:
1648 + - name: average
1649 + - name: azure_monitor.virtual_machines.network_traffic
1650 + description: Azure Virtual Machine Network Traffic
1651 + unit: bytes/s
1652 + chart_type: line
1653 + dimensions:
1654 + - name: in
1655 + - name: out
1656 + - name: azure_monitor.virtual_machines.network_flows
1657 + description: Azure Virtual Machine Network Flows
1658 + unit: flows
1659 + chart_type: line
1660 + dimensions:
1661 + - name: in
1662 + - name: out
1663 + - name: azure_monitor.virtual_machines.network_flow_creation_rate
1664 + description: Azure Virtual Machine Network Flow Creation Rate
1665 + unit: flows/s
1666 + chart_type: line
1667 + dimensions:
1668 + - name: in
1669 + - name: out
1670 + - name: azure_monitor.virtual_machines.disk_throughput
1671 + description: Azure Virtual Machine Disk Throughput
1672 + unit: bytes/s
1673 + chart_type: line
1674 + dimensions:
1675 + - name: read
1676 + - name: write
1677 + - name: azure_monitor.virtual_machines.disk_iops
1678 + description: Azure Virtual Machine Disk IOPS
1679 + unit: operations/s
1680 + chart_type: line
1681 + dimensions:
1682 + - name: read
1683 + - name: write
1684 + - name: azure_monitor.virtual_machines.os_disk_throughput
1685 + description: Azure Virtual Machine OS Disk Throughput
1686 + unit: bytes/s
1687 + chart_type: line
1688 + dimensions:
1689 + - name: read
1690 + - name: write
1691 + - name: azure_monitor.virtual_machines.os_disk_iops
1692 + description: Azure Virtual Machine OS Disk IOPS
1693 + unit: operations/s
1694 + chart_type: line
1695 + dimensions:
1696 + - name: read
1697 + - name: write
1698 + - name: azure_monitor.virtual_machines.os_disk_latency
1699 + description: Azure Virtual Machine OS Disk Latency
1700 + unit: milliseconds
1701 + chart_type: line
1702 + dimensions:
1703 + - name: average
1704 + - name: azure_monitor.virtual_machines.os_disk_queue_depth
1705 + description: Azure Virtual Machine OS Disk Queue Depth
1706 + unit: operations
1707 + chart_type: line
1708 + dimensions:
1709 + - name: average
1710 + - name: azure_monitor.virtual_machines.os_disk_throttling
1711 + description: Azure Virtual Machine OS Disk Throttling
1712 + unit: percentage
1713 + chart_type: line
1714 + dimensions:
1715 + - name: bandwidth
1716 + - name: iops
1717 + - name: azure_monitor.virtual_machines.os_disk_burst_capacity
1718 + description: Azure Virtual Machine OS Disk Burst Capacity
1719 + unit: bytes/s
1720 + chart_type: line
1721 + dimensions:
1722 + - name: max_burst
1723 + - name: target
1724 + - name: azure_monitor.virtual_machines.os_disk_burst_iops_capacity
1725 + description: Azure Virtual Machine OS Disk Burst IOPS Capacity
1726 + unit: iops
1727 + chart_type: line
1728 + dimensions:
1729 + - name: max_burst
1730 + - name: target
1731 + - name: azure_monitor.virtual_machines.os_disk_burst_credits
1732 + description: Azure Virtual Machine OS Disk Burst Credits Used
1733 + unit: percentage
1734 + chart_type: line
1735 + dimensions:
1736 + - name: bandwidth
1737 + - name: io
1738 + - name: azure_monitor.virtual_machines.data_disk_throughput
1739 + description: Azure Virtual Machine Data Disk Throughput
1740 + unit: bytes/s
1741 + chart_type: line
1742 + dimensions:
1743 + - name: read
1744 + - name: write
1745 + - name: azure_monitor.virtual_machines.data_disk_iops
1746 + description: Azure Virtual Machine Data Disk IOPS
1747 + unit: operations/s
1748 + chart_type: line
1749 + dimensions:
1750 + - name: read
1751 + - name: write
1752 + - name: azure_monitor.virtual_machines.data_disk_latency
1753 + description: Azure Virtual Machine Data Disk Latency
1754 + unit: milliseconds
1755 + chart_type: line
1756 + dimensions:
1757 + - name: average
1758 + - name: azure_monitor.virtual_machines.data_disk_queue_depth
1759 + description: Azure Virtual Machine Data Disk Queue Depth
1760 + unit: operations
1761 + chart_type: line
1762 + dimensions:
1763 + - name: average
1764 + - name: azure_monitor.virtual_machines.data_disk_throttling
1765 + description: Azure Virtual Machine Data Disk Throttling
1766 + unit: percentage
1767 + chart_type: line
1768 + dimensions:
1769 + - name: bandwidth
1770 + - name: iops
1771 + - name: azure_monitor.virtual_machines.data_disk_burst_capacity
1772 + description: Azure Virtual Machine Data Disk Burst Capacity
1773 + unit: bytes/s
1774 + chart_type: line
1775 + dimensions:
1776 + - name: max_burst
1777 + - name: target
1778 + - name: azure_monitor.virtual_machines.data_disk_burst_iops_capacity
1779 + description: Azure Virtual Machine Data Disk Burst IOPS Capacity
1780 + unit: iops
1781 + chart_type: line
1782 + dimensions:
1783 + - name: max_burst
1784 + - name: target
1785 + - name: azure_monitor.virtual_machines.data_disk_burst_credits
1786 + description: Azure Virtual Machine Data Disk Burst Credits Used
1787 + unit: percentage
1788 + chart_type: line
1789 + dimensions:
1790 + - name: bandwidth
1791 + - name: io
1792 + - name: azure_monitor.virtual_machines.temp_disk_throughput
1793 + description: Azure Virtual Machine Temp Disk Throughput
1794 + unit: bytes/s
1795 + chart_type: line
1796 + dimensions:
1797 + - name: read
1798 + - name: write
1799 + - name: azure_monitor.virtual_machines.temp_disk_iops
1800 + description: Azure Virtual Machine Temp Disk IOPS
1801 + unit: operations/s
1802 + chart_type: line
1803 + dimensions:
1804 + - name: read
1805 + - name: write
1806 + - name: azure_monitor.virtual_machines.temp_disk_latency
1807 + description: Azure Virtual Machine Temp Disk Latency
1808 + unit: milliseconds
1809 + chart_type: line
1810 + dimensions:
1811 + - name: average
1812 + - name: azure_monitor.virtual_machines.temp_disk_queue_depth
1813 + description: Azure Virtual Machine Temp Disk Queue Depth
1814 + unit: operations
1815 + chart_type: line
1816 + dimensions:
1817 + - name: average
1818 + - name: azure_monitor.virtual_machines.premium_data_disk_cache
1819 + description: Azure Virtual Machine Premium Data Disk Cache
1820 + unit: percentage
1821 + chart_type: line
1822 + dimensions:
1823 + - name: hit
1824 + - name: miss
1825 + - name: azure_monitor.virtual_machines.premium_os_disk_cache
1826 + description: Azure Virtual Machine Premium OS Disk Cache
1827 + unit: percentage
1828 + chart_type: line
1829 + dimensions:
1830 + - name: hit
1831 + - name: miss
1832 + - name: azure_monitor.virtual_machines.vm_cached_throttling
1833 + description: Azure Virtual Machine Cached IO Throttling
1834 + unit: percentage
1835 + chart_type: line
1836 + dimensions:
1837 + - name: bandwidth
1838 + - name: iops
1839 + - name: azure_monitor.virtual_machines.vm_uncached_throttling
1840 + description: Azure Virtual Machine Uncached IO Throttling
1841 + unit: percentage
1842 + chart_type: line
1843 + dimensions:
1844 + - name: bandwidth
1845 + - name: iops
1846 + - name: azure_monitor.virtual_machines.vm_cached_burst_credits
1847 + description: Azure Virtual Machine Cached Burst Credits Used
1848 + unit: percentage
1849 + chart_type: line
1850 + dimensions:
1851 + - name: bandwidth
1852 + - name: io
1853 + - name: azure_monitor.virtual_machines.vm_uncached_burst_credits
1854 + description: Azure Virtual Machine Uncached Burst Credits Used
1855 + unit: percentage
1856 + chart_type: line
1857 + dimensions:
1858 + - name: bandwidth
1859 + - name: io
1860 + - <<: *module
1861 + meta:
1862 + <<: *meta
1863 + id: collector-go.d.plugin-azure_monitor-aks
1864 + monitored_instance:
1865 + name: Azure Kubernetes Service Cluster
1866 + link: https://learn.microsoft.com/azure/aks/
1867 + icon_filename: azure.svg
1868 + categories:
1869 + - data-collection.cloud-and-devops
1870 + keywords:
1871 + - azure
1872 + - kubernetes
1873 + - aks
1874 + - k8s
1875 + - containers
1876 + - cluster
1877 + overview:
1878 + <<: *overview
1879 + data_collection:
1880 + metrics_description: |
1881 + Monitor AKS cluster health including API server and etcd resource usage, pod scheduling status and readiness, node capacity and conditions, cluster autoscaler behavior, and per-node CPU, memory, disk, and network utilization.
1882 + method_description: *method_description
1883 + alerts:
1884 + - name: am_aks_apiserver_cpu
1885 + metric: azure_monitor.aks.apiserver_cpu
1886 + info: "AKS API server CPU on ${label:resource_name}"
1887 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_aks.conf
1888 + - name: am_aks_apiserver_memory
1889 + metric: azure_monitor.aks.apiserver_memory
1890 + info: "AKS API server memory on ${label:resource_name}"
1891 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_aks.conf
1892 + - name: am_aks_apiserver_inflight_requests
1893 + metric: azure_monitor.aks.apiserver_inflight_requests
1894 + info: "AKS API server inflight requests on ${label:resource_name}"
1895 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_aks.conf
1896 + - name: am_aks_etcd_cpu
1897 + metric: azure_monitor.aks.etcd_cpu
1898 + info: "AKS etcd CPU on ${label:resource_name}"
1899 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_aks.conf
1900 + - name: am_aks_etcd_memory
1901 + metric: azure_monitor.aks.etcd_memory
1902 + info: "AKS etcd memory on ${label:resource_name}"
1903 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_aks.conf
1904 + - name: am_aks_etcd_database
1905 + metric: azure_monitor.aks.etcd_database
1906 + info: "AKS etcd database usage on ${label:resource_name}"
1907 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_aks.conf
1908 + - name: am_aks_autoscaler_safe_to_autoscale
1909 + metric: azure_monitor.aks.autoscaler_health
1910 + info: "AKS autoscaler unsafe on ${label:resource_name}"
1911 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_aks.conf
1912 + - name: am_aks_autoscaler_unschedulable_pods
1913 + metric: azure_monitor.aks.autoscaler_unschedulable_pods
1914 + info: "AKS unschedulable pods on ${label:resource_name}"
1915 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_aks.conf
1916 + - name: am_aks_node_cpu
1917 + metric: azure_monitor.aks.node_cpu_percentage
1918 + info: "AKS node CPU on ${label:resource_name}"
1919 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_aks.conf
1920 + - name: am_aks_node_memory_working_set
1921 + metric: azure_monitor.aks.node_memory_working_set_percentage
1922 + info: "AKS node memory working set on ${label:resource_name}"
1923 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_aks.conf
1924 + - name: am_aks_node_memory_rss
1925 + metric: azure_monitor.aks.node_memory_rss_percentage
1926 + info: "AKS node memory RSS on ${label:resource_name}"
1927 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_aks.conf
1928 + - name: am_aks_node_disk
1929 + metric: azure_monitor.aks.node_disk_percentage
1930 + info: "AKS node disk usage on ${label:resource_name}"
1931 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_aks.conf
1932 + metrics:
1933 + folding:
1934 + title: Metrics
1935 + enabled: false
1936 + description: ""
1937 + availability: []
1938 + scopes:
1939 + - name: resource
1940 + description: "These metrics refer to each monitored Azure resource."
1941 + labels:
1942 + - name: resource_name
1943 + description: "The Azure resource name."
1944 + - name: resource_group
1945 + description: "The Azure resource group."
1946 + - name: region
1947 + description: "The Azure region where the resource is deployed."
1948 + - name: resource_type
1949 + description: "The Azure resource type identifier."
1950 + - name: profile
1951 + description: "The Azure Monitor profile id."
1952 + - name: resource_uid
1953 + description: "The unique Azure resource identifier."
1954 + metrics:
1955 + - name: azure_monitor.aks.apiserver_cpu
1956 + description: AKS API Server CPU Utilization
1957 + unit: percentage
1958 + chart_type: line
1959 + dimensions:
1960 + - name: average
1961 + - name: maximum
1962 + - name: azure_monitor.aks.apiserver_memory
1963 + description: AKS API Server Memory Utilization
1964 + unit: percentage
1965 + chart_type: line
1966 + dimensions:
1967 + - name: average
1968 + - name: maximum
1969 + - name: azure_monitor.aks.apiserver_inflight_requests
1970 + description: AKS API Server Inflight Requests
1971 + unit: requests
1972 + chart_type: line
1973 + dimensions:
1974 + - name: average
1975 + - name: azure_monitor.aks.etcd_cpu
1976 + description: AKS etcd CPU Utilization
1977 + unit: percentage
1978 + chart_type: line
1979 + dimensions:
1980 + - name: average
1981 + - name: maximum
1982 + - name: azure_monitor.aks.etcd_memory
1983 + description: AKS etcd Memory Utilization
1984 + unit: percentage
1985 + chart_type: line
1986 + dimensions:
1987 + - name: average
1988 + - name: maximum
1989 + - name: azure_monitor.aks.etcd_database
1990 + description: AKS etcd Database Utilization
1991 + unit: percentage
1992 + chart_type: line
1993 + dimensions:
1994 + - name: average
1995 + - name: maximum
1996 + - name: azure_monitor.aks.pod_status_phase
1997 + description: AKS Pods by Phase
1998 + unit: pods
1999 + chart_type: line
2000 + dimensions:
2001 + - name: average
2002 + - name: azure_monitor.aks.pod_status_ready
2003 + description: AKS Pods in Ready State
2004 + unit: pods
2005 + chart_type: line
2006 + dimensions:
2007 + - name: average
2008 + - name: azure_monitor.aks.allocatable_cpu
2009 + description: AKS Allocatable CPU Cores
2010 + unit: cores
2011 + chart_type: line
2012 + dimensions:
2013 + - name: average
2014 + - name: azure_monitor.aks.allocatable_memory
2015 + description: AKS Allocatable Memory
2016 + unit: bytes
2017 + chart_type: line
2018 + dimensions:
2019 + - name: average
2020 + - name: azure_monitor.aks.node_conditions
2021 + description: AKS Node Conditions
2022 + unit: nodes
2023 + chart_type: line
2024 + dimensions:
2025 + - name: average
2026 + - name: azure_monitor.aks.autoscaler_health
2027 + description: AKS Cluster Autoscaler Health
2028 + unit: state
2029 + chart_type: line
2030 + dimensions:
2031 + - name: safe_to_autoscale
2032 + - name: cooldown
2033 + - name: azure_monitor.aks.autoscaler_unschedulable_pods
2034 + description: AKS Autoscaler Unschedulable Pods
2035 + unit: pods
2036 + chart_type: line
2037 + dimensions:
2038 + - name: average
2039 + - name: azure_monitor.aks.autoscaler_unneeded_nodes
2040 + description: AKS Autoscaler Unneeded Nodes
2041 + unit: nodes
2042 + chart_type: line
2043 + dimensions:
2044 + - name: average
2045 + - name: azure_monitor.aks.node_cpu_millicores
2046 + description: AKS Node CPU Usage
2047 + unit: millicores
2048 + chart_type: line
2049 + dimensions:
2050 + - name: average
2051 + - name: maximum
2052 + - name: azure_monitor.aks.node_cpu_percentage
2053 + description: AKS Node CPU Percentage
2054 + unit: percentage
2055 + chart_type: line
2056 + dimensions:
2057 + - name: average
2058 + - name: maximum
2059 + - name: azure_monitor.aks.node_memory_working_set
2060 + description: AKS Node Memory Working Set
2061 + unit: bytes
2062 + chart_type: line
2063 + dimensions:
2064 + - name: average
2065 + - name: maximum
2066 + - name: azure_monitor.aks.node_memory_working_set_percentage
2067 + description: AKS Node Memory Working Set Percentage
2068 + unit: percentage
2069 + chart_type: line
2070 + dimensions:
2071 + - name: average
2072 + - name: maximum
2073 + - name: azure_monitor.aks.node_memory_rss
2074 + description: AKS Node Memory RSS
2075 + unit: bytes
2076 + chart_type: line
2077 + dimensions:
2078 + - name: average
2079 + - name: maximum
2080 + - name: azure_monitor.aks.node_memory_rss_percentage
2081 + description: AKS Node Memory RSS Percentage
2082 + unit: percentage
2083 + chart_type: line
2084 + dimensions:
2085 + - name: average
2086 + - name: maximum
2087 + - name: azure_monitor.aks.node_disk_usage
2088 + description: AKS Node Disk Usage
2089 + unit: bytes
2090 + chart_type: line
2091 + dimensions:
2092 + - name: average
2093 + - name: maximum
2094 + - name: azure_monitor.aks.node_disk_percentage
2095 + description: AKS Node Disk Usage Percentage
2096 + unit: percentage
2097 + chart_type: line
2098 + dimensions:
2099 + - name: average
2100 + - name: maximum
2101 + - name: azure_monitor.aks.node_network
2102 + description: AKS Node Network Traffic
2103 + unit: bytes
2104 + chart_type: line
2105 + dimensions:
2106 + - name: in
2107 + - name: out
2108 + - <<: *module
2109 + meta:
2110 + <<: *meta
2111 + id: collector-go.d.plugin-azure_monitor-storage_accounts
2112 + monitored_instance:
2113 + name: Azure Storage Account
2114 + link: https://learn.microsoft.com/azure/storage/common/storage-account-overview
2115 + icon_filename: azure.svg
2116 + categories:
2117 + - data-collection.cloud-and-devops
2118 + keywords:
2119 + - azure
2120 + - storage
2121 + - blob
2122 + - account
2123 + - files
2124 + - queue
2125 + - table
2126 + overview:
2127 + <<: *overview
2128 + data_collection:
2129 + metrics_description: |
2130 + Monitor Azure Storage Account operations including transaction counts, availability percentages, success and end-to-end latency, ingress and egress throughput, and used capacity.
2131 + method_description: *method_description
2132 + alerts:
2133 + - name: am_storage_accounts_availability
2134 + metric: azure_monitor.storage_accounts.availability
2135 + info: "Storage availability on ${label:resource_name}"
2136 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_storage_accounts.conf
2137 + - name: am_storage_accounts_e2e_latency
2138 + metric: azure_monitor.storage_accounts.e2e_latency
2139 + info: "Storage E2E latency on ${label:resource_name}"
2140 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_storage_accounts.conf
2141 + - name: am_storage_accounts_e2e_latency_peak
2142 + metric: azure_monitor.storage_accounts.e2e_latency
2143 + info: "Storage E2E latency peak on ${label:resource_name}"
2144 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_storage_accounts.conf
2145 + - name: am_storage_accounts_server_latency
2146 + metric: azure_monitor.storage_accounts.server_latency
2147 + info: "Storage server latency on ${label:resource_name}"
2148 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_storage_accounts.conf
2149 + - name: am_storage_accounts_server_latency_peak
2150 + metric: azure_monitor.storage_accounts.server_latency
2151 + info: "Storage server latency peak on ${label:resource_name}"
2152 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_storage_accounts.conf
2153 + metrics:
2154 + folding:
2155 + title: Metrics
2156 + enabled: false
2157 + description: ""
2158 + availability: []
2159 + scopes:
2160 + - name: resource
2161 + description: "These metrics refer to each monitored Azure resource."
2162 + labels:
2163 + - name: resource_name
2164 + description: "The Azure resource name."
2165 + - name: resource_group
2166 + description: "The Azure resource group."
2167 + - name: region
2168 + description: "The Azure region where the resource is deployed."
2169 + - name: resource_type
2170 + description: "The Azure resource type identifier."
2171 + - name: profile
2172 + description: "The Azure Monitor profile id."
2173 + - name: resource_uid
2174 + description: "The unique Azure resource identifier."
2175 + metrics:
2176 + - name: azure_monitor.storage_accounts.availability
2177 + description: Azure Storage Account Availability
2178 + unit: percentage
2179 + chart_type: line
2180 + dimensions:
2181 + - name: average
2182 + - name: azure_monitor.storage_accounts.transactions
2183 + description: Azure Storage Account Transactions
2184 + unit: transactions/s
2185 + chart_type: line
2186 + dimensions:
2187 + - name: total
2188 + - name: azure_monitor.storage_accounts.throughput
2189 + description: Azure Storage Account Throughput
2190 + unit: bytes/s
2191 + chart_type: line
2192 + dimensions:
2193 + - name: ingress
2194 + - name: egress
2195 + - name: azure_monitor.storage_accounts.e2e_latency
2196 + description: Azure Storage Account End-to-End Latency
2197 + unit: milliseconds
2198 + chart_type: line
2199 + dimensions:
2200 + - name: average
2201 + - name: maximum
2202 + - name: azure_monitor.storage_accounts.server_latency
2203 + description: Azure Storage Account Server Latency
2204 + unit: milliseconds
2205 + chart_type: line
2206 + dimensions:
2207 + - name: average
2208 + - name: maximum
2209 + - name: azure_monitor.storage_accounts.used_capacity
2210 + description: Azure Storage Account Used Capacity
2211 + unit: bytes
2212 + chart_type: line
2213 + dimensions:
2214 + - name: average
2215 + - <<: *module
2216 + meta:
2217 + <<: *meta
2218 + id: collector-go.d.plugin-azure_monitor-load_balancers
2219 + monitored_instance:
2220 + name: Azure Load Balancer
2221 + link: https://learn.microsoft.com/azure/load-balancer/
2222 + icon_filename: azure.svg
2223 + categories:
2224 + - data-collection.cloud-and-devops
2225 + keywords:
2226 + - azure
2227 + - load
2228 + - balancer
2229 + - networking
2230 + - lb
2231 + overview:
2232 + <<: *overview
2233 + data_collection:
2234 + metrics_description: |
2235 + Monitor Azure Load Balancer health and throughput including data path and health probe availability, SYN and SNAT connection counts, byte and packet throughput, allocated and used SNAT ports, and connection attempt rates.
2236 + method_description: *method_description
2237 + alerts:
2238 + - name: am_load_balancers_vip_availability
2239 + metric: azure_monitor.load_balancers.vip_availability
2240 + info: "LB data path availability on ${label:resource_name}"
2241 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_load_balancers.conf
2242 + - name: am_load_balancers_dip_availability
2243 + metric: azure_monitor.load_balancers.dip_availability
2244 + info: "LB health probe status on ${label:resource_name}"
2245 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_load_balancers.conf
2246 + - name: am_load_balancers_global_backend_availability
2247 + metric: azure_monitor.load_balancers.global_backend_availability
2248 + info: "LB global backend availability on ${label:resource_name}"
2249 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_load_balancers.conf
2250 + - name: am_load_balancers_snat_port_utilization
2251 + metric: azure_monitor.load_balancers.snat_ports
2252 + info: "LB SNAT port utilization on ${label:resource_name}"
2253 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_load_balancers.conf
2254 + metrics:
2255 + folding:
2256 + title: Metrics
2257 + enabled: false
2258 + description: ""
2259 + availability: []
2260 + scopes:
2261 + - name: resource
2262 + description: "These metrics refer to each monitored Azure resource."
2263 + labels:
2264 + - name: resource_name
2265 + description: "The Azure resource name."
2266 + - name: resource_group
2267 + description: "The Azure resource group."
2268 + - name: region
2269 + description: "The Azure region where the resource is deployed."
2270 + - name: resource_type
2271 + description: "The Azure resource type identifier."
2272 + - name: profile
2273 + description: "The Azure Monitor profile id."
2274 + - name: resource_uid
2275 + description: "The unique Azure resource identifier."
2276 + metrics:
2277 + - name: azure_monitor.load_balancers.vip_availability
2278 + description: Azure Load Balancer Data Path Availability
2279 + unit: percentage
2280 + chart_type: line
2281 + dimensions:
2282 + - name: average
2283 + - name: azure_monitor.load_balancers.dip_availability
2284 + description: Azure Load Balancer Health Probe Status
2285 + unit: percentage
2286 + chart_type: line
2287 + dimensions:
2288 + - name: average
2289 + - name: azure_monitor.load_balancers.global_backend_availability
2290 + description: Azure Load Balancer Global Backend Availability
2291 + unit: percentage
2292 + chart_type: line
2293 + dimensions:
2294 + - name: average
2295 + - name: azure_monitor.load_balancers.byte_throughput
2296 + description: Azure Load Balancer Byte Throughput
2297 + unit: bytes/s
2298 + chart_type: line
2299 + dimensions:
2300 + - name: total
2301 + - name: azure_monitor.load_balancers.packet_throughput
2302 + description: Azure Load Balancer Packet Throughput
2303 + unit: packets/s
2304 + chart_type: line
2305 + dimensions:
2306 + - name: total
2307 + - name: azure_monitor.load_balancers.syn_count
2308 + description: Azure Load Balancer SYN Packets
2309 + unit: packets/s
2310 + chart_type: line
2311 + dimensions:
2312 + - name: total
2313 + - name: azure_monitor.load_balancers.snat_connections
2314 + description: Azure Load Balancer SNAT Connections
2315 + unit: connections/s
2316 + chart_type: line
2317 + dimensions:
2318 + - name: total
2319 + - name: azure_monitor.load_balancers.snat_ports
2320 + description: Azure Load Balancer SNAT Port Usage
2321 + unit: ports
2322 + chart_type: line
2323 + dimensions:
2324 + - name: allocated
2325 + - name: used
2326 + - <<: *module
2327 + meta:
2328 + <<: *meta
2329 + id: collector-go.d.plugin-azure_monitor-app_service
2330 + monitored_instance:
2331 + name: Azure App Service
2332 + link: https://learn.microsoft.com/azure/app-service/
2333 + icon_filename: azure.svg
2334 + categories:
2335 + - data-collection.cloud-and-devops
2336 + keywords:
2337 + - azure
2338 + - app
2339 + - service
2340 + - web
2341 + - webapp
2342 + - paas
2343 + overview:
2344 + <<: *overview
2345 + data_collection:
2346 + metrics_description: |
2347 + Monitor App Service web applications including HTTP request rates and response status codes, response times, CPU and memory usage, network throughput, file IO operations, .NET runtime statistics (threads, GC, assemblies), Azure Functions execution counts and units, and Flex Consumption plan metrics.
2348 + method_description: *method_description
2349 + alerts:
2350 + - name: am_app_service_health_check
2351 + metric: azure_monitor.app_service.health
2352 + info: "App Service health on ${label:resource_name}"
2353 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_app_service.conf
2354 + - name: am_app_service_http_5xx_rate
2355 + metric: azure_monitor.app_service.http_status
2356 + info: "App Service 5xx errors on ${label:resource_name}"
2357 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_app_service.conf
2358 + - name: am_app_service_response_time
2359 + metric: azure_monitor.app_service.response_time
2360 + info: "App Service response time on ${label:resource_name}"
2361 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_app_service.conf
2362 + - name: am_app_service_cpu_utilization
2363 + metric: azure_monitor.app_service.cpu
2364 + info: "App Service CPU on ${label:resource_name}"
2365 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_app_service.conf
2366 + - name: am_app_service_request_queue
2367 + metric: azure_monitor.app_service.request_queue
2368 + info: "App Service request queue on ${label:resource_name}"
2369 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_app_service.conf
2370 + - name: am_app_service_http_4xx_rate
2371 + metric: azure_monitor.app_service.http_status
2372 + info: "App Service 4xx errors on ${label:resource_name}"
2373 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_app_service.conf
2374 + - name: am_app_service_http_403_rate
2375 + metric: azure_monitor.app_service.http_error_detail
2376 + info: "App Service 403 forbidden on ${label:resource_name}"
2377 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_app_service.conf
2378 + - name: am_app_service_http_401_rate
2379 + metric: azure_monitor.app_service.http_error_detail
2380 + info: "App Service 401 unauthorized on ${label:resource_name}"
2381 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_app_service.conf
2382 + metrics:
2383 + folding:
2384 + title: Metrics
2385 + enabled: false
2386 + description: ""
2387 + availability: []
2388 + scopes:
2389 + - name: resource
2390 + description: "These metrics refer to each monitored Azure resource."
2391 + labels:
2392 + - name: resource_name
2393 + description: "The Azure resource name."
2394 + - name: resource_group
2395 + description: "The Azure resource group."
2396 + - name: region
2397 + description: "The Azure region where the resource is deployed."
2398 + - name: resource_type
2399 + description: "The Azure resource type identifier."
2400 + - name: profile
2401 + description: "The Azure Monitor profile id."
2402 + - name: resource_uid
2403 + description: "The unique Azure resource identifier."
2404 + metrics:
2405 + - name: azure_monitor.app_service.requests
2406 + description: Azure App Service Requests
2407 + unit: requests/s
2408 + chart_type: line
2409 + dimensions:
2410 + - name: requests
2411 + - name: azure_monitor.app_service.response_time
2412 + description: Azure App Service Response Time
2413 + unit: seconds
2414 + chart_type: line
2415 + dimensions:
2416 + - name: average
2417 + - name: azure_monitor.app_service.http_status
2418 + description: Azure App Service HTTP Status Codes
2419 + unit: responses/s
2420 + chart_type: line
2421 + dimensions:
2422 + - name: 2xx
2423 + - name: 3xx
2424 + - name: 4xx
2425 + - name: 5xx
2426 + - name: azure_monitor.app_service.http_error_detail
2427 + description: Azure App Service HTTP Error Detail
2428 + unit: responses/s
2429 + chart_type: line
2430 + dimensions:
2431 + - name: 101_websocket
2432 + - name: 401_unauthorized
2433 + - name: 403_forbidden
2434 + - name: 404_not_found
2435 + - name: 406_not_acceptable
2436 + - name: azure_monitor.app_service.cpu
2437 + description: Azure App Service CPU Utilization
2438 + unit: percentage
2439 + chart_type: line
2440 + dimensions:
2441 + - name: average
2442 + - name: azure_monitor.app_service.cpu_time
2443 + description: Azure App Service CPU Time
2444 + unit: seconds
2445 + chart_type: line
2446 + dimensions:
2447 + - name: total
2448 + - name: azure_monitor.app_service.memory_usage
2449 + description: Azure App Service Memory Usage
2450 + unit: bytes
2451 + chart_type: line
2452 + dimensions:
2453 + - name: average_working_set
2454 + - name: working_set
2455 + - name: private
2456 + - name: azure_monitor.app_service.health
2457 + description: Azure App Service Health Check Status
2458 + unit: percentage
2459 + chart_type: line
2460 + dimensions:
2461 + - name: average
2462 + - name: azure_monitor.app_service.network_traffic
2463 + description: Azure App Service Network Traffic
2464 + unit: bytes/s
2465 + chart_type: line
2466 + dimensions:
2467 + - name: received
2468 + - name: sent
2469 + - name: azure_monitor.app_service.connections
2470 + description: Azure App Service Connections
2471 + unit: connections
2472 + chart_type: line
2473 + dimensions:
2474 + - name: average
2475 + - name: azure_monitor.app_service.io_throughput
2476 + description: Azure App Service IO Throughput
2477 + unit: bytes/s
2478 + chart_type: line
2479 + dimensions:
2480 + - name: read
2481 + - name: write
2482 + - name: other
2483 + - name: azure_monitor.app_service.io_operations
2484 + description: Azure App Service IO Operations
2485 + unit: operations/s
2486 + chart_type: line
2487 + dimensions:
2488 + - name: read
2489 + - name: write
2490 + - name: other
2491 + - name: azure_monitor.app_service.threads
2492 + description: Azure App Service Threads
2493 + unit: threads
2494 + chart_type: line
2495 + dimensions:
2496 + - name: average
2497 + - name: azure_monitor.app_service.handles
2498 + description: Azure App Service Handles
2499 + unit: handles
2500 + chart_type: line
2501 + dimensions:
2502 + - name: average
2503 + - name: azure_monitor.app_service.gc_collections
2504 + description: Azure App Service .NET GC Collections
2505 + unit: collections/s
2506 + chart_type: line
2507 + dimensions:
2508 + - name: gen0
2509 + - name: gen1
2510 + - name: gen2
2511 + - name: azure_monitor.app_service.function_executions
2512 + description: Azure App Service Function Executions
2513 + unit: executions/s
2514 + chart_type: line
2515 + dimensions:
2516 + - name: total
2517 + - name: azure_monitor.app_service.function_execution_units
2518 + description: Azure App Service Function Execution Units
2519 + unit: MB-milliseconds/s
2520 + chart_type: line
2521 + dimensions:
2522 + - name: total
2523 + - name: azure_monitor.app_service.always_ready_function_executions
2524 + description: Azure App Service Always Ready Function Executions
2525 + unit: executions/s
2526 + chart_type: line
2527 + dimensions:
2528 + - name: total
2529 + - name: azure_monitor.app_service.always_ready_function_execution_units
2530 + description: Azure App Service Always Ready Function Execution Units
2531 + unit: MB-milliseconds/s
2532 + chart_type: line
2533 + dimensions:
2534 + - name: total
2535 + - name: azure_monitor.app_service.always_ready_units
2536 + description: Azure App Service Always Ready Units
2537 + unit: units
2538 + chart_type: line
2539 + dimensions:
2540 + - name: total
2541 + - name: azure_monitor.app_service.on_demand_function_executions
2542 + description: Azure App Service On Demand Function Executions
2543 + unit: executions/s
2544 + chart_type: line
2545 + dimensions:
2546 + - name: total
2547 + - name: azure_monitor.app_service.on_demand_function_execution_units
2548 + description: Azure App Service On Demand Function Execution Units
2549 + unit: MB-milliseconds/s
2550 + chart_type: line
2551 + dimensions:
2552 + - name: total
2553 + - name: azure_monitor.app_service.request_queue
2554 + description: Azure App Service Request Queue
2555 + unit: requests
2556 + chart_type: line
2557 + dimensions:
2558 + - name: queued
2559 + - name: azure_monitor.app_service.instances
2560 + description: Azure App Service Instance Count
2561 + unit: instances
2562 + chart_type: line
2563 + dimensions:
2564 + - name: running
2565 + - name: azure_monitor.app_service.assemblies
2566 + description: Azure App Service .NET Assemblies
2567 + unit: assemblies
2568 + chart_type: line
2569 + dimensions:
2570 + - name: loaded
2571 + - name: azure_monitor.app_service.app_domains
2572 + description: Azure App Service App Domains
2573 + unit: domains
2574 + chart_type: line
2575 + dimensions:
2576 + - name: loaded
2577 + - name: unloaded
2578 + - <<: *module
2579 + meta:
2580 + <<: *meta
2581 + id: collector-go.d.plugin-azure_monitor-azure_functions
2582 + monitored_instance:
2583 + name: Azure Functions
2584 + link: https://learn.microsoft.com/azure/azure-functions/
2585 + icon_filename: azure.svg
2586 + categories:
2587 + - data-collection.cloud-and-devops
2588 + keywords:
2589 + - azure
2590 + - functions
2591 + - serverless
2592 + - faas
2593 + - lambda
2594 + overview:
2595 + <<: *overview
2596 + data_collection:
2597 + metrics_description: |
2598 + Monitor Azure Functions execution including function invocation counts, execution units (MB-milliseconds), HTTP request rates and response codes, CPU and memory consumption, and Flex Consumption plan metrics for always-ready and on-demand instances. Uses the same underlying metrics as App Service since Azure Functions runs on the App Service platform.
2599 + method_description: *method_description
2600 + metrics:
2601 + folding:
2602 + title: Metrics
2603 + enabled: false
2604 + description: ""
2605 + availability: []
2606 + scopes:
2607 + - name: resource
2608 + description: "These metrics refer to each monitored Azure resource."
2609 + labels:
2610 + - name: resource_name
2611 + description: "The Azure resource name."
2612 + - name: resource_group
2613 + description: "The Azure resource group."
2614 + - name: region
2615 + description: "The Azure region where the resource is deployed."
2616 + - name: resource_type
2617 + description: "The Azure resource type identifier."
2618 + - name: profile
2619 + description: "The Azure Monitor profile id."
2620 + - name: resource_uid
2621 + description: "The unique Azure resource identifier."
2622 + metrics:
2623 + - name: azure_monitor.app_service.requests
2624 + description: Azure App Service Requests
2625 + unit: requests/s
2626 + chart_type: line
2627 + dimensions:
2628 + - name: requests
2629 + - name: azure_monitor.app_service.response_time
2630 + description: Azure App Service Response Time
2631 + unit: seconds
2632 + chart_type: line
2633 + dimensions:
2634 + - name: average
2635 + - name: azure_monitor.app_service.http_status
2636 + description: Azure App Service HTTP Status Codes
2637 + unit: responses/s
2638 + chart_type: line
2639 + dimensions:
2640 + - name: 2xx
2641 + - name: 3xx
2642 + - name: 4xx
2643 + - name: 5xx
2644 + - name: azure_monitor.app_service.http_error_detail
2645 + description: Azure App Service HTTP Error Detail
2646 + unit: responses/s
2647 + chart_type: line
2648 + dimensions:
2649 + - name: 101_websocket
2650 + - name: 401_unauthorized
2651 + - name: 403_forbidden
2652 + - name: 404_not_found
2653 + - name: 406_not_acceptable
2654 + - name: azure_monitor.app_service.cpu
2655 + description: Azure App Service CPU Utilization
2656 + unit: percentage
2657 + chart_type: line
2658 + dimensions:
2659 + - name: average
2660 + - name: azure_monitor.app_service.cpu_time
2661 + description: Azure App Service CPU Time
2662 + unit: seconds
2663 + chart_type: line
2664 + dimensions:
2665 + - name: total
2666 + - name: azure_monitor.app_service.memory_usage
2667 + description: Azure App Service Memory Usage
2668 + unit: bytes
2669 + chart_type: line
2670 + dimensions:
2671 + - name: average_working_set
2672 + - name: working_set
2673 + - name: private
2674 + - name: azure_monitor.app_service.health
2675 + description: Azure App Service Health Check Status
2676 + unit: percentage
2677 + chart_type: line
2678 + dimensions:
2679 + - name: average
2680 + - name: azure_monitor.app_service.network_traffic
2681 + description: Azure App Service Network Traffic
2682 + unit: bytes/s
2683 + chart_type: line
2684 + dimensions:
2685 + - name: received
2686 + - name: sent
2687 + - name: azure_monitor.app_service.connections
2688 + description: Azure App Service Connections
2689 + unit: connections
2690 + chart_type: line
2691 + dimensions:
2692 + - name: average
2693 + - name: azure_monitor.app_service.io_throughput
2694 + description: Azure App Service IO Throughput
2695 + unit: bytes/s
2696 + chart_type: line
2697 + dimensions:
2698 + - name: read
2699 + - name: write
2700 + - name: other
2701 + - name: azure_monitor.app_service.io_operations
2702 + description: Azure App Service IO Operations
2703 + unit: operations/s
2704 + chart_type: line
2705 + dimensions:
2706 + - name: read
2707 + - name: write
2708 + - name: other
2709 + - name: azure_monitor.app_service.threads
2710 + description: Azure App Service Threads
2711 + unit: threads
2712 + chart_type: line
2713 + dimensions:
2714 + - name: average
2715 + - name: azure_monitor.app_service.handles
2716 + description: Azure App Service Handles
2717 + unit: handles
2718 + chart_type: line
2719 + dimensions:
2720 + - name: average
2721 + - name: azure_monitor.app_service.gc_collections
2722 + description: Azure App Service .NET GC Collections
2723 + unit: collections/s
2724 + chart_type: line
2725 + dimensions:
2726 + - name: gen0
2727 + - name: gen1
2728 + - name: gen2
2729 + - name: azure_monitor.app_service.function_executions
2730 + description: Azure App Service Function Executions
2731 + unit: executions/s
2732 + chart_type: line
2733 + dimensions:
2734 + - name: total
2735 + - name: azure_monitor.app_service.function_execution_units
2736 + description: Azure App Service Function Execution Units
2737 + unit: MB-milliseconds/s
2738 + chart_type: line
2739 + dimensions:
2740 + - name: total
2741 + - name: azure_monitor.app_service.always_ready_function_executions
2742 + description: Azure App Service Always Ready Function Executions
2743 + unit: executions/s
2744 + chart_type: line
2745 + dimensions:
2746 + - name: total
2747 + - name: azure_monitor.app_service.always_ready_function_execution_units
2748 + description: Azure App Service Always Ready Function Execution Units
2749 + unit: MB-milliseconds/s
2750 + chart_type: line
2751 + dimensions:
2752 + - name: total
2753 + - name: azure_monitor.app_service.always_ready_units
2754 + description: Azure App Service Always Ready Units
2755 + unit: units
2756 + chart_type: line
2757 + dimensions:
2758 + - name: total
2759 + - name: azure_monitor.app_service.on_demand_function_executions
2760 + description: Azure App Service On Demand Function Executions
2761 + unit: executions/s
2762 + chart_type: line
2763 + dimensions:
2764 + - name: total
2765 + - name: azure_monitor.app_service.on_demand_function_execution_units
2766 + description: Azure App Service On Demand Function Execution Units
2767 + unit: MB-milliseconds/s
2768 + chart_type: line
2769 + dimensions:
2770 + - name: total
2771 + - name: azure_monitor.app_service.request_queue
2772 + description: Azure App Service Request Queue
2773 + unit: requests
2774 + chart_type: line
2775 + dimensions:
2776 + - name: queued
2777 + - name: azure_monitor.app_service.instances
2778 + description: Azure App Service Instance Count
2779 + unit: instances
2780 + chart_type: line
2781 + dimensions:
2782 + - name: running
2783 + - name: azure_monitor.app_service.assemblies
2784 + description: Azure App Service .NET Assemblies
2785 + unit: assemblies
2786 + chart_type: line
2787 + dimensions:
2788 + - name: loaded
2789 + - name: azure_monitor.app_service.app_domains
2790 + description: Azure App Service App Domains
2791 + unit: domains
2792 + chart_type: line
2793 + dimensions:
2794 + - name: loaded
2795 + - name: unloaded
2796 + - <<: *module
2797 + meta:
2798 + <<: *meta
2799 + id: collector-go.d.plugin-azure_monitor-redis_cache
2800 + monitored_instance:
2801 + name: Azure Cache for Redis
2802 + link: https://learn.microsoft.com/azure/azure-cache-for-redis/
2803 + icon_filename: azure.svg
2804 + categories:
2805 + - data-collection.cloud-and-devops
2806 + keywords:
2807 + - azure
2808 + - redis
2809 + - cache
2810 + - memory
2811 + - nosql
2812 + overview:
2813 + <<: *overview
2814 + data_collection:
2815 + metrics_description: |
2816 + Monitor Azure Cache for Redis including cache hit and miss rates, read and write throughput, server load and CPU utilization, memory usage, connected clients, operations per second, command processing rates, latency percentiles, key eviction and expiration, and geo-replication health and sync status. Provides per-shard breakdowns for clustered deployments.
2817 + method_description: *method_description
2818 + alerts:
2819 + - name: am_redis_cache_server_load
2820 + metric: azure_monitor.redis_cache.server_load
2821 + info: "Redis server load on ${label:resource_name}"
2822 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_redis_cache.conf
2823 + - name: am_redis_cache_cpu
2824 + metric: azure_monitor.redis_cache.cpu
2825 + info: "Redis CPU on ${label:resource_name}"
2826 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_redis_cache.conf
2827 + - name: am_redis_cache_memory_utilization
2828 + metric: azure_monitor.redis_cache.memory_utilization
2829 + info: "Redis memory utilization on ${label:resource_name}"
2830 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_redis_cache.conf
2831 + - name: am_redis_cache_miss_rate
2832 + metric: azure_monitor.redis_cache.miss_rate
2833 + info: "Redis cache miss rate on ${label:resource_name}"
2834 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_redis_cache.conf
2835 + - name: am_redis_cache_errors
2836 + metric: azure_monitor.redis_cache.errors
2837 + info: "Redis errors on ${label:resource_name}"
2838 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_redis_cache.conf
2839 + - name: am_redis_cache_latency
2840 + metric: azure_monitor.redis_cache.latency
2841 + info: "Redis average latency on ${label:resource_name}"
2842 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_redis_cache.conf
2843 + - name: am_redis_cache_latency_p99
2844 + metric: azure_monitor.redis_cache.latency_p99
2845 + info: "Redis P99 latency on ${label:resource_name}"
2846 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_redis_cache.conf
2847 + - name: am_redis_cache_evicted_keys
2848 + metric: azure_monitor.redis_cache.key_events
2849 + info: "Redis key evictions on ${label:resource_name}"
2850 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_redis_cache.conf
2851 + - name: am_redis_cache_geo_replication_health
2852 + metric: azure_monitor.redis_cache.geo_replication_health
2853 + info: "Redis geo-replication health on ${label:resource_name}"
2854 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_redis_cache.conf
2855 + - name: am_redis_cache_geo_replication_lag
2856 + metric: azure_monitor.redis_cache.geo_replication_lag
2857 + info: "Redis geo-replication lag on ${label:resource_name}"
2858 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_redis_cache.conf
2859 + - name: am_redis_cache_geo_replication_sync_offset
2860 + metric: azure_monitor.redis_cache.geo_replication_sync_offset
2861 + info: "Redis geo-replication sync offset on ${label:resource_name}"
2862 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_redis_cache.conf
2863 + metrics:
2864 + folding:
2865 + title: Metrics
2866 + enabled: false
2867 + description: ""
2868 + availability: []
2869 + scopes:
2870 + - name: resource
2871 + description: "These metrics refer to each monitored Azure resource."
2872 + labels:
2873 + - name: resource_name
2874 + description: "The Azure resource name."
2875 + - name: resource_group
2876 + description: "The Azure resource group."
2877 + - name: region
2878 + description: "The Azure region where the resource is deployed."
2879 + - name: resource_type
2880 + description: "The Azure resource type identifier."
2881 + - name: profile
2882 + description: "The Azure Monitor profile id."
2883 + - name: resource_uid
2884 + description: "The unique Azure resource identifier."
2885 + metrics:
2886 + - name: azure_monitor.redis_cache.cache_hits
2887 + description: Azure Cache for Redis Hit Rate
2888 + unit: operations/s
2889 + chart_type: line
2890 + dimensions:
2891 + - name: hits
2892 + - name: misses
2893 + - name: azure_monitor.redis_cache.throughput
2894 + description: Azure Cache for Redis Throughput
2895 + unit: bytes/s
2896 + chart_type: line
2897 + dimensions:
2898 + - name: read
2899 + - name: write
2900 + - name: azure_monitor.redis_cache.server_load
2901 + description: Azure Cache for Redis Server Load
2902 + unit: percentage
2903 + chart_type: line
2904 + dimensions:
2905 + - name: maximum
2906 + - name: azure_monitor.redis_cache.cpu
2907 + description: Azure Cache for Redis CPU Utilization
2908 + unit: percentage
2909 + chart_type: line
2910 + dimensions:
2911 + - name: maximum
2912 + - name: azure_monitor.redis_cache.memory_usage
2913 + description: Azure Cache for Redis Memory Usage
2914 + unit: bytes
2915 + chart_type: line
2916 + dimensions:
2917 + - name: used
2918 + - name: rss
2919 + - name: azure_monitor.redis_cache.memory_utilization
2920 + description: Azure Cache for Redis Memory Utilization
2921 + unit: percentage
2922 + chart_type: line
2923 + dimensions:
2924 + - name: maximum
2925 + - name: azure_monitor.redis_cache.clients
2926 + description: Azure Cache for Redis Connected Clients
2927 + unit: clients
2928 + chart_type: line
2929 + dimensions:
2930 + - name: maximum
2931 + - name: azure_monitor.redis_cache.operations
2932 + description: Azure Cache for Redis Operations
2933 + unit: operations/s
2934 + chart_type: line
2935 + dimensions:
2936 + - name: maximum
2937 + - name: azure_monitor.redis_cache.commands
2938 + description: Azure Cache for Redis Commands Processed
2939 + unit: commands/s
2940 + chart_type: line
2941 + dimensions:
2942 + - name: total
2943 + - name: azure_monitor.redis_cache.command_types
2944 + description: Azure Cache for Redis Command Types
2945 + unit: commands/s
2946 + chart_type: line
2947 + dimensions:
2948 + - name: get
2949 + - name: set
2950 + - name: azure_monitor.redis_cache.latency
2951 + description: Azure Cache for Redis Latency
2952 + unit: microseconds
2953 + chart_type: line
2954 + dimensions:
2955 + - name: average
2956 + - name: azure_monitor.redis_cache.key_events
2957 + description: Azure Cache for Redis Key Events
2958 + unit: keys/s
2959 + chart_type: line
2960 + dimensions:
2961 + - name: evicted
2962 + - name: expired
2963 + - name: azure_monitor.redis_cache.total_keys
2964 + description: Azure Cache for Redis Total Keys
2965 + unit: keys
2966 + chart_type: line
2967 + dimensions:
2968 + - name: maximum
2969 + - name: azure_monitor.redis_cache.errors
2970 + description: Azure Cache for Redis Errors
2971 + unit: errors
2972 + chart_type: line
2973 + dimensions:
2974 + - name: maximum
2975 + - name: azure_monitor.redis_cache.miss_rate
2976 + description: Azure Cache for Redis Miss Rate
2977 + unit: percentage
2978 + chart_type: line
2979 + dimensions:
2980 + - name: miss_rate
2981 + - name: azure_monitor.redis_cache.latency_p99
2982 + description: Azure Cache for Redis P99 Latency
2983 + unit: microseconds
2984 + chart_type: line
2985 + dimensions:
2986 + - name: p99
2987 + - name: azure_monitor.redis_cache.connection_rate
2988 + description: Azure Cache for Redis Connection Rate
2989 + unit: connections/s
2990 + chart_type: line
2991 + dimensions:
2992 + - name: created
2993 + - name: closed
2994 + - name: azure_monitor.redis_cache.aad_clients
2995 + description: Azure Cache for Redis Entra Token Clients
2996 + unit: clients
2997 + chart_type: line
2998 + dimensions:
2999 + - name: maximum
3000 + - name: azure_monitor.redis_cache.instance_cache_hits
3001 + description: Azure Cache for Redis Instance Hit Rate
3002 + unit: operations/s
3003 + chart_type: line
3004 + dimensions:
3005 + - name: hits
3006 + - name: misses
3007 + - name: azure_monitor.redis_cache.instance_throughput
3008 + description: Azure Cache for Redis Instance Throughput
3009 + unit: bytes/s
3010 + chart_type: line
3011 + dimensions:
3012 + - name: read
3013 + - name: write
3014 + - name: azure_monitor.redis_cache.instance_server_load
3015 + description: Azure Cache for Redis Instance Server Load
3016 + unit: percentage
3017 + chart_type: line
3018 + dimensions:
3019 + - name: server_load
3020 + - name: cpu
3021 + - name: azure_monitor.redis_cache.instance_memory_usage
3022 + description: Azure Cache for Redis Instance Memory Usage
3023 + unit: bytes
3024 + chart_type: line
3025 + dimensions:
3026 + - name: used
3027 + - name: rss
3028 + - name: azure_monitor.redis_cache.instance_memory_utilization
3029 + description: Azure Cache for Redis Instance Memory Utilization
3030 + unit: percentage
3031 + chart_type: line
3032 + dimensions:
3033 + - name: maximum
3034 + - name: azure_monitor.redis_cache.instance_clients
3035 + description: Azure Cache for Redis Instance Connected Clients
3036 + unit: clients
3037 + chart_type: line
3038 + dimensions:
3039 + - name: maximum
3040 + - name: azure_monitor.redis_cache.instance_operations
3041 + description: Azure Cache for Redis Instance Operations
3042 + unit: operations/s
3043 + chart_type: line
3044 + dimensions:
3045 + - name: maximum
3046 + - name: azure_monitor.redis_cache.instance_commands
3047 + description: Azure Cache for Redis Instance Commands Processed
3048 + unit: commands/s
3049 + chart_type: line
3050 + dimensions:
3051 + - name: total
3052 + - name: get
3053 + - name: set
3054 + - name: azure_monitor.redis_cache.instance_total_keys
3055 + description: Azure Cache for Redis Instance Total Keys
3056 + unit: keys
3057 + chart_type: line
3058 + dimensions:
3059 + - name: maximum
3060 + - name: azure_monitor.redis_cache.instance_key_events
3061 + description: Azure Cache for Redis Instance Key Events
3062 + unit: keys/s
3063 + chart_type: line
3064 + dimensions:
3065 + - name: evicted
3066 + - name: expired
3067 + - name: azure_monitor.redis_cache.geo_replication_lag
3068 + description: Azure Cache for Redis Geo-Replication Connectivity Lag
3069 + unit: seconds
3070 + chart_type: line
3071 + dimensions:
3072 + - name: average
3073 + - name: azure_monitor.redis_cache.geo_replication_sync_offset
3074 + description: Azure Cache for Redis Geo-Replication Data Sync Offset
3075 + unit: bytes
3076 + chart_type: line
3077 + dimensions:
3078 + - name: average
3079 + - name: azure_monitor.redis_cache.geo_replication_sync_events
3080 + description: Azure Cache for Redis Geo-Replication Sync Events
3081 + unit: events/s
3082 + chart_type: line
3083 + dimensions:
3084 + - name: started
3085 + - name: finished
3086 + - name: azure_monitor.redis_cache.geo_replication_health
3087 + description: Azure Cache for Redis Geo-Replication Health
3088 + unit: status
3089 + chart_type: line
3090 + dimensions:
3091 + - name: average
3092 + - <<: *module
3093 + meta:
3094 + <<: *meta
3095 + id: collector-go.d.plugin-azure_monitor-event_hubs
3096 + monitored_instance:
3097 + name: Azure Event Hubs Namespace
3098 + link: https://learn.microsoft.com/azure/event-hubs/
3099 + icon_filename: azure.svg
3100 + categories:
3101 + - data-collection.cloud-and-devops
3102 + keywords:
3103 + - azure
3104 + - event
3105 + - hubs
3106 + - streaming
3107 + - kafka
3108 + - messaging
3109 + overview:
3110 + <<: *overview
3111 + data_collection:
3112 + metrics_description: |
3113 + Monitor Event Hubs namespaces including incoming and outgoing message rates, byte throughput, captured messages and bytes, throttled and quota-exceeded request counts, active connections, and total connection counts.
3114 + method_description: *method_description
3115 + alerts:
3116 + - name: am_event_hubs_server_errors
3117 + metric: azure_monitor.event_hubs.errors
3118 + info: "Event Hubs server errors on ${label:resource_name}"
3119 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_event_hubs.conf
3120 + - name: am_event_hubs_throttled_requests
3121 + metric: azure_monitor.event_hubs.errors
3122 + info: "Event Hubs throttled requests on ${label:resource_name}"
3123 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_event_hubs.conf
3124 + - name: am_event_hubs_quota_exceeded
3125 + metric: azure_monitor.event_hubs.errors
3126 + info: "Event Hubs quota exceeded on ${label:resource_name}"
3127 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_event_hubs.conf
3128 + - name: am_event_hubs_user_errors
3129 + metric: azure_monitor.event_hubs.errors
3130 + info: "Event Hubs user errors on ${label:resource_name}"
3131 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_event_hubs.conf
3132 + - name: am_event_hubs_success_rate
3133 + metric: azure_monitor.event_hubs.requests
3134 + info: "Event Hubs request success rate on ${label:resource_name}"
3135 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_event_hubs.conf
3136 + - name: am_event_hubs_namespace_cpu
3137 + metric: azure_monitor.event_hubs.namespace_resources
3138 + info: "Event Hubs namespace CPU on ${label:resource_name}"
3139 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_event_hubs.conf
3140 + - name: am_event_hubs_namespace_memory
3141 + metric: azure_monitor.event_hubs.namespace_resources
3142 + info: "Event Hubs namespace memory on ${label:resource_name}"
3143 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_event_hubs.conf
3144 + - name: am_event_hubs_capture_backlog
3145 + metric: azure_monitor.event_hubs.capture_backlog
3146 + info: "Event Hubs capture backlog on ${label:resource_name}"
3147 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_event_hubs.conf
3148 + - name: am_event_hubs_replication_lag
3149 + metric: azure_monitor.event_hubs.replication_lag
3150 + info: "Event Hubs replication lag on ${label:resource_name}"
3151 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_event_hubs.conf
3152 + - name: am_event_hubs_replication_lag_duration
3153 + metric: azure_monitor.event_hubs.replication_lag_duration
3154 + info: "Event Hubs replication lag duration on ${label:resource_name}"
3155 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_event_hubs.conf
3156 + metrics:
3157 + folding:
3158 + title: Metrics
3159 + enabled: false
3160 + description: ""
3161 + availability: []
3162 + scopes:
3163 + - name: resource
3164 + description: "These metrics refer to each monitored Azure resource."
3165 + labels:
3166 + - name: resource_name
3167 + description: "The Azure resource name."
3168 + - name: resource_group
3169 + description: "The Azure resource group."
3170 + - name: region
3171 + description: "The Azure region where the resource is deployed."
3172 + - name: resource_type
3173 + description: "The Azure resource type identifier."
3174 + - name: profile
3175 + description: "The Azure Monitor profile id."
3176 + - name: resource_uid
3177 + description: "The unique Azure resource identifier."
3178 + metrics:
3179 + - name: azure_monitor.event_hubs.message_flow
3180 + description: Azure Event Hubs Message Flow
3181 + unit: messages/s
3182 + chart_type: line
3183 + dimensions:
3184 + - name: in
3185 + - name: out
3186 + - name: azure_monitor.event_hubs.data_throughput
3187 + description: Azure Event Hubs Data Throughput
3188 + unit: bytes/s
3189 + chart_type: line
3190 + dimensions:
3191 + - name: in
3192 + - name: out
3193 + - name: azure_monitor.event_hubs.requests
3194 + description: Azure Event Hubs Requests
3195 + unit: requests/s
3196 + chart_type: line
3197 + dimensions:
3198 + - name: incoming
3199 + - name: successful
3200 + - name: azure_monitor.event_hubs.errors
3201 + description: Azure Event Hubs Errors
3202 + unit: errors/s
3203 + chart_type: line
3204 + dimensions:
3205 + - name: server
3206 + - name: user
3207 + - name: throttled
3208 + - name: quota_exceeded
3209 + - name: azure_monitor.event_hubs.connections
3210 + description: Azure Event Hubs Active Connections
3211 + unit: connections
3212 + chart_type: line
3213 + dimensions:
3214 + - name: active
3215 + - name: azure_monitor.event_hubs.connection_events
3216 + description: Azure Event Hubs Connection Events
3217 + unit: connections
3218 + chart_type: line
3219 + dimensions:
3220 + - name: opened
3221 + - name: closed
3222 + - name: azure_monitor.event_hubs.captured_messages
3223 + description: Azure Event Hubs Captured Messages
3224 + unit: messages/s
3225 + chart_type: line
3226 + dimensions:
3227 + - name: total
3228 + - name: azure_monitor.event_hubs.captured_data
3229 + description: Azure Event Hubs Captured Data
3230 + unit: bytes/s
3231 + chart_type: line
3232 + dimensions:
3233 + - name: total
3234 + - name: azure_monitor.event_hubs.namespace_size
3235 + description: Azure Event Hubs Namespace Size
3236 + unit: bytes
3237 + chart_type: line
3238 + dimensions:
3239 + - name: average
3240 + - name: azure_monitor.event_hubs.capture_backlog
3241 + description: Azure Event Hubs Capture Backlog
3242 + unit: messages
3243 + chart_type: line
3244 + dimensions:
3245 + - name: backlog
3246 + - name: azure_monitor.event_hubs.namespace_resources
3247 + description: Azure Event Hubs Namespace Resources
3248 + unit: percentage
3249 + chart_type: line
3250 + dimensions:
3251 + - name: cpu
3252 + - name: memory
3253 + - name: azure_monitor.event_hubs.replication_lag
3254 + description: Azure Event Hubs Replication Lag
3255 + unit: messages
3256 + chart_type: line
3257 + dimensions:
3258 + - name: messages
3259 + - name: azure_monitor.event_hubs.replication_lag_duration
3260 + description: Azure Event Hubs Replication Lag Duration
3261 + unit: seconds
3262 + chart_type: line
3263 + dimensions:
3264 + - name: duration
3265 + - <<: *module
3266 + meta:
3267 + <<: *meta
3268 + id: collector-go.d.plugin-azure_monitor-service_bus
3269 + monitored_instance:
3270 + name: Azure Service Bus Namespace
3271 + link: https://learn.microsoft.com/azure/service-bus-messaging/
3272 + icon_filename: azure.svg
3273 + categories:
3274 + - data-collection.cloud-and-devops
3275 + keywords:
3276 + - azure
3277 + - service
3278 + - bus
3279 + - messaging
3280 + - queue
3281 + - topic
3282 + overview:
3283 + <<: *overview
3284 + data_collection:
3285 + metrics_description: |
3286 + Monitor Service Bus namespaces including incoming and outgoing message rates, active connections, active and dead-lettered message counts, scheduled message counts, completed and abandoned requests, server errors, throttled requests, CPU and memory utilization, and pending checkpoint operations.
3287 + method_description: *method_description
3288 + alerts:
3289 + - name: am_service_bus_server_errors
3290 + metric: azure_monitor.service_bus.errors
3291 + info: "Service Bus server errors on ${label:resource_name}"
3292 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_service_bus.conf
3293 + - name: am_service_bus_throttled_requests
3294 + metric: azure_monitor.service_bus.errors
3295 + info: "Service Bus throttled requests on ${label:resource_name}"
3296 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_service_bus.conf
3297 + - name: am_service_bus_user_errors
3298 + metric: azure_monitor.service_bus.errors
3299 + info: "Service Bus user errors on ${label:resource_name}"
3300 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_service_bus.conf
3301 + - name: am_service_bus_namespace_cpu
3302 + metric: azure_monitor.service_bus.namespace_resources
3303 + info: "Service Bus namespace CPU on ${label:resource_name}"
3304 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_service_bus.conf
3305 + - name: am_service_bus_namespace_memory
3306 + metric: azure_monitor.service_bus.namespace_resources
3307 + info: "Service Bus namespace memory on ${label:resource_name}"
3308 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_service_bus.conf
3309 + - name: am_service_bus_send_latency
3310 + metric: azure_monitor.service_bus.send_latency
3311 + info: "Service Bus send latency on ${label:resource_name}"
3312 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_service_bus.conf
3313 + - name: am_service_bus_dead_lettered_messages
3314 + metric: azure_monitor.service_bus.problem_messages
3315 + info: "Service Bus dead-lettered messages on ${label:resource_name}"
3316 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_service_bus.conf
3317 + - name: am_service_bus_active_messages
3318 + metric: azure_monitor.service_bus.queue_depth
3319 + info: "Service Bus queue depth on ${label:resource_name}"
3320 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_service_bus.conf
3321 + - name: am_service_bus_request_success_rate
3322 + metric: azure_monitor.service_bus.requests
3323 + info: "Service Bus request success rate on ${label:resource_name}"
3324 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_service_bus.conf
3325 + - name: am_service_bus_abandoned_messages
3326 + metric: azure_monitor.service_bus.message_operations
3327 + info: "Service Bus abandoned messages on ${label:resource_name}"
3328 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_service_bus.conf
3329 + - name: am_service_bus_replication_lag
3330 + metric: azure_monitor.service_bus.replication_lag
3331 + info: "Service Bus replication lag on ${label:resource_name}"
3332 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_service_bus.conf
3333 + - name: am_service_bus_replication_lag_duration
3334 + metric: azure_monitor.service_bus.replication_lag_duration
3335 + info: "Service Bus replication lag duration on ${label:resource_name}"
3336 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_service_bus.conf
3337 + metrics:
3338 + folding:
3339 + title: Metrics
3340 + enabled: false
3341 + description: ""
3342 + availability: []
3343 + scopes:
3344 + - name: resource
3345 + description: "These metrics refer to each monitored Azure resource."
3346 + labels:
3347 + - name: resource_name
3348 + description: "The Azure resource name."
3349 + - name: resource_group
3350 + description: "The Azure resource group."
3351 + - name: region
3352 + description: "The Azure region where the resource is deployed."
3353 + - name: resource_type
3354 + description: "The Azure resource type identifier."
3355 + - name: profile
3356 + description: "The Azure Monitor profile id."
3357 + - name: resource_uid
3358 + description: "The unique Azure resource identifier."
3359 + metrics:
3360 + - name: azure_monitor.service_bus.message_flow
3361 + description: Azure Service Bus Message Flow
3362 + unit: messages/s
3363 + chart_type: line
3364 + dimensions:
3365 + - name: in
3366 + - name: out
3367 + - name: azure_monitor.service_bus.message_operations
3368 + description: Azure Service Bus Message Operations
3369 + unit: messages/s
3370 + chart_type: line
3371 + dimensions:
3372 + - name: completed
3373 + - name: abandoned
3374 + - name: azure_monitor.service_bus.queue_depth
3375 + description: Azure Service Bus Queue Depth
3376 + unit: messages
3377 + chart_type: line
3378 + dimensions:
3379 + - name: active
3380 + - name: azure_monitor.service_bus.problem_messages
3381 + description: Azure Service Bus Problem Messages
3382 + unit: messages
3383 + chart_type: line
3384 + dimensions:
3385 + - name: dead_lettered
3386 + - name: scheduled
3387 + - name: azure_monitor.service_bus.requests
3388 + description: Azure Service Bus Requests
3389 + unit: requests/s
3390 + chart_type: line
3391 + dimensions:
3392 + - name: incoming
3393 + - name: successful
3394 + - name: azure_monitor.service_bus.errors
3395 + description: Azure Service Bus Errors
3396 + unit: errors/s
3397 + chart_type: line
3398 + dimensions:
3399 + - name: server
3400 + - name: user
3401 + - name: throttled
3402 + - name: azure_monitor.service_bus.connections
3403 + description: Azure Service Bus Active Connections
3404 + unit: connections
3405 + chart_type: line
3406 + dimensions:
3407 + - name: active
3408 + - name: azure_monitor.service_bus.connection_events
3409 + description: Azure Service Bus Connection Events
3410 + unit: connections
3411 + chart_type: line
3412 + dimensions:
3413 + - name: opened
3414 + - name: closed
3415 + - name: azure_monitor.service_bus.namespace_size
3416 + description: Azure Service Bus Namespace Size
3417 + unit: bytes
3418 + chart_type: line
3419 + dimensions:
3420 + - name: average
3421 + - name: azure_monitor.service_bus.data_throughput
3422 + description: Azure Service Bus Data Throughput
3423 + unit: bytes/s
3424 + chart_type: line
3425 + dimensions:
3426 + - name: in
3427 + - name: out
3428 + - name: azure_monitor.service_bus.total_messages
3429 + description: Azure Service Bus Total Messages
3430 + unit: messages
3431 + chart_type: line
3432 + dimensions:
3433 + - name: total
3434 + - name: azure_monitor.service_bus.namespace_resources
3435 + description: Azure Service Bus Namespace Resources
3436 + unit: percentage
3437 + chart_type: line
3438 + dimensions:
3439 + - name: cpu
3440 + - name: memory
3441 + - name: azure_monitor.service_bus.send_latency
3442 + description: Azure Service Bus Send Latency
3443 + unit: milliseconds
3444 + chart_type: line
3445 + dimensions:
3446 + - name: average
3447 + - name: azure_monitor.service_bus.replication_lag
3448 + description: Azure Service Bus Replication Lag
3449 + unit: messages
3450 + chart_type: line
3451 + dimensions:
3452 + - name: messages
3453 + - name: azure_monitor.service_bus.replication_lag_duration
3454 + description: Azure Service Bus Replication Lag Duration
3455 + unit: seconds
3456 + chart_type: line
3457 + dimensions:
3458 + - name: duration
3459 + - name: azure_monitor.service_bus.checkpoint_operations
3460 + description: Azure Service Bus Pending Checkpoint Operations
3461 + unit: operations
3462 + chart_type: line
3463 + dimensions:
3464 + - name: pending
3465 + - <<: *module
3466 + meta:
3467 + <<: *meta
3468 + id: collector-go.d.plugin-azure_monitor-application_gateway
3469 + monitored_instance:
3470 + name: Azure Application Gateway
3471 + link: https://learn.microsoft.com/azure/application-gateway/
3472 + icon_filename: azure.svg
3473 + categories:
3474 + - data-collection.cloud-and-devops
3475 + keywords:
3476 + - azure
3477 + - application
3478 + - gateway
3479 + - load
3480 + - balancer
3481 + - waf
3482 + overview:
3483 + <<: *overview
3484 + data_collection:
3485 + metrics_description: |
3486 + Monitor Application Gateway performance including throughput and traffic volume, request rates and response status codes, backend health and latency breakdown (connect, first byte, last byte), client latency, current and new connections, WebSocket sessions, capacity and compute units, CPU utilization, TLS connections, and WAF security events including rule matches, challenges, and penalty box activity.
3487 + method_description: *method_description
3488 + alerts:
3489 + - name: am_appgw_failed_requests
3490 + metric: azure_monitor.application_gateway.requests
3491 + info: "App Gateway failed requests on ${label:resource_name}"
3492 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_application_gateway.conf
3493 + - name: am_appgw_unhealthy_hosts
3494 + metric: azure_monitor.application_gateway.backend_health
3495 + info: "App Gateway unhealthy backends on ${label:resource_name}"
3496 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_application_gateway.conf
3497 + - name: am_appgw_backend_connect_time
3498 + metric: azure_monitor.application_gateway.backend_latency
3499 + info: "App Gateway backend connect time on ${label:resource_name}"
3500 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_application_gateway.conf
3501 + - name: am_appgw_backend_first_byte
3502 + metric: azure_monitor.application_gateway.backend_latency
3503 + info: "App Gateway backend TTFB on ${label:resource_name}"
3504 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_application_gateway.conf
3505 + - name: am_appgw_total_time
3506 + metric: azure_monitor.application_gateway.client_latency
3507 + info: "App Gateway total request time on ${label:resource_name}"
3508 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_application_gateway.conf
3509 + - name: am_appgw_cpu_utilization
3510 + metric: azure_monitor.application_gateway.cpu
3511 + info: "App Gateway CPU utilization on ${label:resource_name}"
3512 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_application_gateway.conf
3513 + - name: am_appgw_waf_blocked_ratio
3514 + metric: azure_monitor.application_gateway.waf_requests
3515 + info: "App Gateway WAF block ratio on ${label:resource_name}"
3516 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_application_gateway.conf
3517 + metrics:
3518 + folding:
3519 + title: Metrics
3520 + enabled: false
3521 + description: ""
3522 + availability: []
3523 + scopes:
3524 + - name: resource
3525 + description: "These metrics refer to each monitored Azure resource."
3526 + labels:
3527 + - name: resource_name
3528 + description: "The Azure resource name."
3529 + - name: resource_group
3530 + description: "The Azure resource group."
3531 + - name: region
3532 + description: "The Azure region where the resource is deployed."
3533 + - name: resource_type
3534 + description: "The Azure resource type identifier."
3535 + - name: profile
3536 + description: "The Azure Monitor profile id."
3537 + - name: resource_uid
3538 + description: "The unique Azure resource identifier."
3539 + metrics:
3540 + - name: azure_monitor.application_gateway.throughput
3541 + description: Azure Application Gateway Throughput
3542 + unit: bytes/s
3543 + chart_type: line
3544 + dimensions:
3545 + - name: average
3546 + - name: azure_monitor.application_gateway.traffic_volume
3547 + description: Azure Application Gateway Traffic Volume
3548 + unit: bytes/s
3549 + chart_type: line
3550 + dimensions:
3551 + - name: received
3552 + - name: sent
3553 + - name: azure_monitor.application_gateway.requests
3554 + description: Azure Application Gateway Requests
3555 + unit: requests/s
3556 + chart_type: line
3557 + dimensions:
3558 + - name: total
3559 + - name: failed
3560 + - name: azure_monitor.application_gateway.response_status
3561 + description: Azure Application Gateway Response Status
3562 + unit: responses/s
3563 + chart_type: line
3564 + dimensions:
3565 + - name: gateway
3566 + - name: backend
3567 + - name: azure_monitor.application_gateway.backend_health
3568 + description: Azure Application Gateway Backend Health
3569 + unit: hosts
3570 + chart_type: line
3571 + dimensions:
3572 + - name: healthy
3573 + - name: unhealthy
3574 + - name: azure_monitor.application_gateway.backend_request_load
3575 + description: Azure Application Gateway Backend Request Load
3576 + unit: requests
3577 + chart_type: line
3578 + dimensions:
3579 + - name: per_healthy_host
3580 + - name: azure_monitor.application_gateway.backend_latency
3581 + description: Azure Application Gateway Backend Latency
3582 + unit: milliseconds
3583 + chart_type: line
3584 + dimensions:
3585 + - name: connect
3586 + - name: first_byte
3587 + - name: last_byte
3588 + - name: azure_monitor.application_gateway.client_latency
3589 + description: Azure Application Gateway Client Latency
3590 + unit: milliseconds
3591 + chart_type: line
3592 + dimensions:
3593 + - name: total_time
3594 + - name: client_rtt
3595 + - name: azure_monitor.application_gateway.current_connections
3596 + description: Azure Application Gateway Current Connections
3597 + unit: connections
3598 + chart_type: line
3599 + dimensions:
3600 + - name: current
3601 + - name: azure_monitor.application_gateway.new_connections
3602 + description: Azure Application Gateway New Connections
3603 + unit: connections/s
3604 + chart_type: line
3605 + dimensions:
3606 + - name: average
3607 + - name: azure_monitor.application_gateway.websocket_connections
3608 + description: Azure Application Gateway WebSocket Connections
3609 + unit: connections
3610 + chart_type: line
3611 + dimensions:
3612 + - name: active
3613 + - name: azure_monitor.application_gateway.websocket_close_codes
3614 + description: Azure Application Gateway WebSocket Close Codes
3615 + unit: connections/s
3616 + chart_type: line
3617 + dimensions:
3618 + - name: total
3619 + - name: azure_monitor.application_gateway.capacity
3620 + description: Azure Application Gateway Capacity
3621 + unit: units
3622 + chart_type: line
3623 + dimensions:
3624 + - name: capacity
3625 + - name: compute
3626 + - name: billed
3627 + - name: fixed_billed
3628 + - name: azure_monitor.application_gateway.cpu
3629 + description: Azure Application Gateway CPU Utilization
3630 + unit: percentage
3631 + chart_type: line
3632 + dimensions:
3633 + - name: average
3634 + - name: azure_monitor.application_gateway.tls_connections
3635 + description: Azure Application Gateway TLS Connections
3636 + unit: connections/s
3637 + chart_type: line
3638 + dimensions:
3639 + - name: total
3640 + - name: azure_monitor.application_gateway.waf_requests
3641 + description: Azure Application Gateway WAF Requests
3642 + unit: requests/s
3643 + chart_type: line
3644 + dimensions:
3645 + - name: total
3646 + - name: blocked
3647 + - name: matched
3648 + - name: azure_monitor.application_gateway.waf_rule_matches
3649 + description: Azure Application Gateway WAF Rule Matches
3650 + unit: matches/s
3651 + chart_type: line
3652 + dimensions:
3653 + - name: managed
3654 + - name: custom
3655 + - name: bot
3656 + - name: azure_monitor.application_gateway.waf_challenges
3657 + description: Azure Application Gateway WAF Challenges
3658 + unit: requests/s
3659 + chart_type: line
3660 + dimensions:
3661 + - name: captcha
3662 + - name: js_challenge
3663 + - name: azure_monitor.application_gateway.waf_penalty_box
3664 + description: Azure Application Gateway WAF Penalty Box
3665 + unit: IPs
3666 + chart_type: line
3667 + dimensions:
3668 + - name: size
3669 + - name: azure_monitor.application_gateway.waf_penalty_box_hits
3670 + description: Azure Application Gateway WAF Penalty Box Hits
3671 + unit: hits/s
3672 + chart_type: line
3673 + dimensions:
3674 + - name: total
3675 + - <<: *module
3676 + meta:
3677 + <<: *meta
3678 + id: collector-go.d.plugin-azure_monitor-key_vault
3679 + monitored_instance:
3680 + name: Azure Key Vault
3681 + link: https://learn.microsoft.com/azure/key-vault/
3682 + icon_filename: azure.svg
3683 + categories:
3684 + - data-collection.cloud-and-devops
3685 + keywords:
3686 + - azure
3687 + - key
3688 + - vault
3689 + - secrets
3690 + - certificates
3691 + - security
3692 + overview:
3693 + <<: *overview
3694 + data_collection:
3695 + metrics_description: |
3696 + Monitor Key Vault including overall vault availability, API saturation approaching service limits, and service API hit and latency metrics.
3697 + method_description: *method_description
3698 + alerts:
3699 + - name: am_key_vault_availability
3700 + metric: azure_monitor.key_vault.availability
3701 + info: "Key Vault availability on ${label:resource_name}"
3702 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_key_vault.conf
3703 + - name: am_key_vault_api_latency
3704 + metric: azure_monitor.key_vault.api_latency
3705 + info: "Key Vault API latency on ${label:resource_name}"
3706 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_key_vault.conf
3707 + - name: am_key_vault_saturation
3708 + metric: azure_monitor.key_vault.saturation
3709 + info: "Key Vault saturation on ${label:resource_name}"
3710 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_key_vault.conf
3711 + metrics:
3712 + folding:
3713 + title: Metrics
3714 + enabled: false
3715 + description: ""
3716 + availability: []
3717 + scopes:
3718 + - name: resource
3719 + description: "These metrics refer to each monitored Azure resource."
3720 + labels:
3721 + - name: resource_name
3722 + description: "The Azure resource name."
3723 + - name: resource_group
3724 + description: "The Azure resource group."
3725 + - name: region
3726 + description: "The Azure region where the resource is deployed."
3727 + - name: resource_type
3728 + description: "The Azure resource type identifier."
3729 + - name: profile
3730 + description: "The Azure Monitor profile id."
3731 + - name: resource_uid
3732 + description: "The unique Azure resource identifier."
3733 + metrics:
3734 + - name: azure_monitor.key_vault.availability
3735 + description: Azure Key Vault Availability
3736 + unit: percentage
3737 + chart_type: line
3738 + dimensions:
3739 + - name: average
3740 + - name: azure_monitor.key_vault.api_latency
3741 + description: Azure Key Vault API Latency
3742 + unit: milliseconds
3743 + chart_type: line
3744 + dimensions:
3745 + - name: average
3746 + - name: azure_monitor.key_vault.saturation
3747 + description: Azure Key Vault Saturation
3748 + unit: percentage
3749 + chart_type: line
3750 + dimensions:
3751 + - name: average
3752 + - name: azure_monitor.key_vault.api_activity
3753 + description: Azure Key Vault API Activity
3754 + unit: operations/s
3755 + chart_type: line
3756 + dimensions:
3757 + - name: hits
3758 + - name: results
3759 + - <<: *module
3760 + meta:
3761 + <<: *meta
3762 + id: collector-go.d.plugin-azure_monitor-api_management
3763 + monitored_instance:
3764 + name: Azure API Management
3765 + link: https://learn.microsoft.com/azure/api-management/
3766 + icon_filename: azure.svg
3767 + categories:
3768 + - data-collection.cloud-and-devops
3769 + keywords:
3770 + - azure
3771 + - api
3772 + - management
3773 + - gateway
3774 + - apim
3775 + overview:
3776 + <<: *overview
3777 + data_collection:
3778 + metrics_description: |
3779 + Monitor API Management gateway performance including request throughput, response status codes, gateway and backend response times, failed request counts, capacity utilization, event hub events, websocket message counts, and network connection status.
3780 + method_description: *method_description
3781 + alerts:
3782 + - name: am_api_management_capacity
3783 + metric: azure_monitor.api_management.capacity
3784 + info: "APIM capacity on ${label:resource_name}"
3785 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_api_management.conf
3786 + - name: am_api_management_gateway_cpu
3787 + metric: azure_monitor.api_management.gateway_cpu
3788 + info: "APIM gateway CPU on ${label:resource_name}"
3789 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_api_management.conf
3790 + - name: am_api_management_gateway_memory
3791 + metric: azure_monitor.api_management.gateway_memory
3792 + info: "APIM gateway memory on ${label:resource_name}"
3793 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_api_management.conf
3794 + - name: am_api_management_request_duration
3795 + metric: azure_monitor.api_management.request_duration
3796 + info: "APIM request duration on ${label:resource_name}"
3797 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_api_management.conf
3798 + - name: am_api_management_backend_duration
3799 + metric: azure_monitor.api_management.request_duration
3800 + info: "APIM backend duration on ${label:resource_name}"
3801 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_api_management.conf
3802 + - name: am_api_management_network_connectivity
3803 + metric: azure_monitor.api_management.network_connectivity
3804 + info: "APIM network connectivity on ${label:resource_name}"
3805 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_api_management.conf
3806 + - name: am_api_management_eventhub_failed_events
3807 + metric: azure_monitor.api_management.eventhub_events
3808 + info: "APIM EventHub failed events on ${label:resource_name}"
3809 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_api_management.conf
3810 + - name: am_api_management_eventhub_dropped_events
3811 + metric: azure_monitor.api_management.eventhub_events
3812 + info: "APIM EventHub dropped events on ${label:resource_name}"
3813 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_api_management.conf
3814 + - name: am_api_management_eventhub_rejected_events
3815 + metric: azure_monitor.api_management.eventhub_events
3816 + info: "APIM EventHub rejected events on ${label:resource_name}"
3817 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_api_management.conf
3818 + - name: am_api_management_eventhub_throttled_events
3819 + metric: azure_monitor.api_management.eventhub_events
3820 + info: "APIM EventHub throttled events on ${label:resource_name}"
3821 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_api_management.conf
3822 + - name: am_api_management_eventhub_timedout_events
3823 + metric: azure_monitor.api_management.eventhub_events
3824 + info: "APIM EventHub timed out events on ${label:resource_name}"
3825 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_api_management.conf
3826 + metrics:
3827 + folding:
3828 + title: Metrics
3829 + enabled: false
3830 + description: ""
3831 + availability: []
3832 + scopes:
3833 + - name: resource
3834 + description: "These metrics refer to each monitored Azure resource."
3835 + labels:
3836 + - name: resource_name
3837 + description: "The Azure resource name."
3838 + - name: resource_group
3839 + description: "The Azure resource group."
3840 + - name: region
3841 + description: "The Azure region where the resource is deployed."
3842 + - name: resource_type
3843 + description: "The Azure resource type identifier."
3844 + - name: profile
3845 + description: "The Azure Monitor profile id."
3846 + - name: resource_uid
3847 + description: "The unique Azure resource identifier."
3848 + metrics:
3849 + - name: azure_monitor.api_management.capacity
3850 + description: Azure API Management Capacity Utilization
3851 + unit: percentage
3852 + chart_type: line
3853 + dimensions:
3854 + - name: capacity
3855 + - name: azure_monitor.api_management.gateway_cpu
3856 + description: Azure API Management Gateway CPU
3857 + unit: percentage
3858 + chart_type: line
3859 + dimensions:
3860 + - name: cpu
3861 + - name: azure_monitor.api_management.gateway_memory
3862 + description: Azure API Management Gateway Memory
3863 + unit: percentage
3864 + chart_type: line
3865 + dimensions:
3866 + - name: memory
3867 + - name: azure_monitor.api_management.requests
3868 + description: Azure API Management Gateway Requests
3869 + unit: requests/s
3870 + chart_type: line
3871 + dimensions:
3872 + - name: requests
3873 + - name: azure_monitor.api_management.request_duration
3874 + description: Azure API Management Request Duration
3875 + unit: milliseconds
3876 + chart_type: line
3877 + dimensions:
3878 + - name: overall
3879 + - name: backend
3880 + - name: azure_monitor.api_management.eventhub_events
3881 + description: Azure API Management EventHub Events
3882 + unit: events/s
3883 + chart_type: line
3884 + dimensions:
3885 + - name: total
3886 + - name: successful
3887 + - name: failed
3888 + - name: dropped
3889 + - name: rejected
3890 + - name: throttled
3891 + - name: timed_out
3892 + - name: azure_monitor.api_management.eventhub_bytes
3893 + description: Azure API Management EventHub Bytes Sent
3894 + unit: bytes/s
3895 + chart_type: line
3896 + dimensions:
3897 + - name: sent
3898 + - name: azure_monitor.api_management.websocket_connections
3899 + description: Azure API Management WebSocket Connection Attempts
3900 + unit: attempts/s
3901 + chart_type: line
3902 + dimensions:
3903 + - name: connection_attempts
3904 + - name: azure_monitor.api_management.websocket_messages
3905 + description: Azure API Management WebSocket Messages
3906 + unit: messages/s
3907 + chart_type: line
3908 + dimensions:
3909 + - name: messages
3910 + - name: azure_monitor.api_management.network_connectivity
3911 + description: Azure API Management Network Connectivity Status
3912 + unit: status
3913 + chart_type: line
3914 + dimensions:
3915 + - name: connectivity
3916 + - <<: *module
3917 + meta:
3918 + <<: *meta
3919 + id: collector-go.d.plugin-azure_monitor-front_door
3920 + monitored_instance:
3921 + name: Azure Front Door
3922 + link: https://learn.microsoft.com/azure/frontdoor/
3923 + icon_filename: azure.svg
3924 + categories:
3925 + - data-collection.cloud-and-devops
3926 + keywords:
3927 + - azure
3928 + - front
3929 + - door
3930 + - cdn
3931 + - waf
3932 + - networking
3933 + overview:
3934 + <<: *overview
3935 + data_collection:
3936 + metrics_description: |
3937 + Monitor Azure Front Door including request counts and rates, response sizes, total latency, origin health probe percentages, origin request counts, origin latency, WAF request counts by action and rule, and WebSocket connection metrics.
3938 + method_description: *method_description
3939 + alerts:
3940 + - name: am_front_door_origin_health
3941 + metric: azure_monitor.front_door.origin_health
3942 + info: "Front Door origin health on ${label:resource_name}"
3943 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_front_door.conf
3944 + - name: am_front_door_total_latency
3945 + metric: azure_monitor.front_door.latency
3946 + info: "Front Door total latency on ${label:resource_name}"
3947 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_front_door.conf
3948 + - name: am_front_door_origin_latency
3949 + metric: azure_monitor.front_door.latency
3950 + info: "Front Door origin latency on ${label:resource_name}"
3951 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_front_door.conf
3952 + - name: am_front_door_5xx_error_rate
3953 + metric: azure_monitor.front_door.error_rate
3954 + info: "Front Door 5xx error rate on ${label:resource_name}"
3955 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_front_door.conf
3956 + - name: am_front_door_4xx_error_rate
3957 + metric: azure_monitor.front_door.error_rate
3958 + info: "Front Door 4xx error rate on ${label:resource_name}"
3959 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_front_door.conf
3960 + - name: am_front_door_byte_hit_ratio
3961 + metric: azure_monitor.front_door.byte_hit_ratio
3962 + info: "Front Door cache hit ratio on ${label:resource_name}"
3963 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_front_door.conf
3964 + - name: am_front_door_waf_rate_limited
3965 + metric: azure_monitor.front_door.origin_shield_requests
3966 + info: "Front Door origin shield rate limiting on ${label:resource_name}"
3967 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_front_door.conf
3968 + metrics:
3969 + folding:
3970 + title: Metrics
3971 + enabled: false
3972 + description: ""
3973 + availability: []
3974 + scopes:
3975 + - name: resource
3976 + description: "These metrics refer to each monitored Azure resource."
3977 + labels:
3978 + - name: resource_name
3979 + description: "The Azure resource name."
3980 + - name: resource_group
3981 + description: "The Azure resource group."
3982 + - name: region
3983 + description: "The Azure region where the resource is deployed."
3984 + - name: resource_type
3985 + description: "The Azure resource type identifier."
3986 + - name: profile
3987 + description: "The Azure Monitor profile id."
3988 + - name: resource_uid
3989 + description: "The unique Azure resource identifier."
3990 + metrics:
3991 + - name: azure_monitor.front_door.latency
3992 + description: Azure Front Door Latency
3993 + unit: milliseconds
3994 + chart_type: line
3995 + dimensions:
3996 + - name: total
3997 + - name: origin
3998 + - name: azure_monitor.front_door.origin_health
3999 + description: Azure Front Door Origin Health
4000 + unit: percentage
4001 + chart_type: line
4002 + dimensions:
4003 + - name: health
4004 + - name: azure_monitor.front_door.byte_hit_ratio
4005 + description: Azure Front Door Byte Hit Ratio
4006 + unit: percentage
4007 + chart_type: line
4008 + dimensions:
4009 + - name: hit_ratio
4010 + - name: azure_monitor.front_door.error_rate
4011 + description: Azure Front Door Error Rate
4012 + unit: percentage
4013 + chart_type: line
4014 + dimensions:
4015 + - name: 4xx
4016 + - name: 5xx
4017 + - name: azure_monitor.front_door.requests
4018 + description: Azure Front Door Requests
4019 + unit: requests/s
4020 + chart_type: line
4021 + dimensions:
4022 + - name: client
4023 + - name: origin
4024 + - name: azure_monitor.front_door.data_transfer
4025 + description: Azure Front Door Data Transfer
4026 + unit: bytes/s
4027 + chart_type: line
4028 + dimensions:
4029 + - name: request
4030 + - name: response
4031 + - name: azure_monitor.front_door.origin_shield_requests
4032 + description: Azure Front Door Origin Shield Requests
4033 + unit: requests/s
4034 + chart_type: line
4035 + dimensions:
4036 + - name: to_shield
4037 + - name: to_origin
4038 + - name: rate_limited
4039 + - name: azure_monitor.front_door.origin_shield_data_transfer
4040 + description: Azure Front Door Origin Shield Data Transfer
4041 + unit: bytes/s
4042 + chart_type: line
4043 + dimensions:
4044 + - name: request
4045 + - name: azure_monitor.front_door.waf_requests
4046 + description: Azure Front Door WAF Requests
4047 + unit: requests/s
4048 + chart_type: line
4049 + dimensions:
4050 + - name: total
4051 + - name: azure_monitor.front_door.waf_challenges
4052 + description: Azure Front Door WAF Challenges
4053 + unit: requests/s
4054 + chart_type: line
4055 + dimensions:
4056 + - name: captcha
4057 + - name: js_challenge
4058 + - name: azure_monitor.front_door.websocket_connections
4059 + description: Azure Front Door WebSocket Connections
4060 + unit: connections/s
4061 + chart_type: line
4062 + dimensions:
4063 + - name: requested
4064 + - name: active
4065 + - name: azure_monitor.front_door.websocket_duration
4066 + description: Azure Front Door WebSocket Connection Duration
4067 + unit: milliseconds
4068 + chart_type: line
4069 + dimensions:
4070 + - name: average
4071 + - <<: *module
4072 + meta:
4073 + <<: *meta
4074 + id: collector-go.d.plugin-azure_monitor-vmss
4075 + monitored_instance:
4076 + name: Azure Virtual Machine Scale Set
4077 + link: https://learn.microsoft.com/azure/virtual-machine-scale-sets/
4078 + icon_filename: azure.svg
4079 + categories:
4080 + - data-collection.cloud-and-devops
4081 + keywords:
4082 + - azure
4083 + - vmss
4084 + - scale
4085 + - set
4086 + - virtual
4087 + - machine
4088 + - compute
4089 + overview:
4090 + <<: *overview
4091 + data_collection:
4092 + metrics_description: |
4093 + Monitor Virtual Machine Scale Sets including CPU utilization, available memory percentage, disk IOPS and throughput for OS, data, temp, and premium cache disks, disk burst and VM-level burst credit balances, network traffic, and inbound/outbound flow creation rates across all instances in the scale set.
4094 + method_description: *method_description
4095 + alerts:
4096 + - name: am_vmss_cpu
4097 + metric: azure_monitor.vmss.cpu
4098 + info: "VMSS CPU utilization on ${label:resource_name}"
4099 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4100 + - name: am_vmss_cpu_credits_remaining
4101 + metric: azure_monitor.vmss.cpu_credits
4102 + info: "VMSS CPU credits low on ${label:resource_name}"
4103 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4104 + - name: am_vmss_memory_available
4105 + metric: azure_monitor.vmss.memory_percentage
4106 + info: "VMSS available memory low on ${label:resource_name}"
4107 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4108 + - name: am_vmss_availability
4109 + metric: azure_monitor.vmss.availability
4110 + info: "VMSS availability degraded on ${label:resource_name}"
4111 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4112 + - name: am_vmss_os_disk_latency
4113 + metric: azure_monitor.vmss.os_disk_latency
4114 + info: "VMSS OS disk latency on ${label:resource_name}"
4115 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4116 + - name: am_vmss_os_disk_queue_depth
4117 + metric: azure_monitor.vmss.os_disk_queue_depth
4118 + info: "VMSS OS disk queue depth on ${label:resource_name}"
4119 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4120 + - name: am_vmss_os_disk_bandwidth_throttling
4121 + metric: azure_monitor.vmss.os_disk_throttling
4122 + info: "VMSS OS disk bandwidth consumed on ${label:resource_name}"
4123 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4124 + - name: am_vmss_os_disk_iops_throttling
4125 + metric: azure_monitor.vmss.os_disk_throttling
4126 + info: "VMSS OS disk IOPS consumed on ${label:resource_name}"
4127 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4128 + - name: am_vmss_os_disk_burst_bps_credits
4129 + metric: azure_monitor.vmss.os_disk_burst_credits
4130 + info: "VMSS OS disk burst BPS credits depleting on ${label:resource_name}"
4131 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4132 + - name: am_vmss_os_disk_burst_io_credits
4133 + metric: azure_monitor.vmss.os_disk_burst_credits
4134 + info: "VMSS OS disk burst IO credits depleting on ${label:resource_name}"
4135 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4136 + - name: am_vmss_data_disk_latency
4137 + metric: azure_monitor.vmss.data_disk_latency
4138 + info: "VMSS data disk latency on ${label:resource_name}"
4139 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4140 + - name: am_vmss_data_disk_queue_depth
4141 + metric: azure_monitor.vmss.data_disk_queue_depth
4142 + info: "VMSS data disk queue depth on ${label:resource_name}"
4143 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4144 + - name: am_vmss_data_disk_bandwidth_throttling
4145 + metric: azure_monitor.vmss.data_disk_throttling
4146 + info: "VMSS data disk bandwidth consumed on ${label:resource_name}"
4147 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4148 + - name: am_vmss_data_disk_iops_throttling
4149 + metric: azure_monitor.vmss.data_disk_throttling
4150 + info: "VMSS data disk IOPS consumed on ${label:resource_name}"
4151 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4152 + - name: am_vmss_data_disk_burst_bps_credits
4153 + metric: azure_monitor.vmss.data_disk_burst_credits
4154 + info: "VMSS data disk burst BPS credits depleting on ${label:resource_name}"
4155 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4156 + - name: am_vmss_data_disk_burst_io_credits
4157 + metric: azure_monitor.vmss.data_disk_burst_credits
4158 + info: "VMSS data disk burst IO credits depleting on ${label:resource_name}"
4159 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4160 + - name: am_vmss_temp_disk_latency
4161 + metric: azure_monitor.vmss.temp_disk_latency
4162 + info: "VMSS temp disk latency on ${label:resource_name}"
4163 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4164 + - name: am_vmss_temp_disk_queue_depth
4165 + metric: azure_monitor.vmss.temp_disk_queue_depth
4166 + info: "VMSS temp disk queue depth on ${label:resource_name}"
4167 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4168 + - name: am_vmss_vm_cached_bandwidth_throttling
4169 + metric: azure_monitor.vmss.vm_cached_throttling
4170 + info: "VMSS cached bandwidth consumed on ${label:resource_name}"
4171 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4172 + - name: am_vmss_vm_cached_iops_throttling
4173 + metric: azure_monitor.vmss.vm_cached_throttling
4174 + info: "VMSS cached IOPS consumed on ${label:resource_name}"
4175 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4176 + - name: am_vmss_vm_uncached_bandwidth_throttling
4177 + metric: azure_monitor.vmss.vm_uncached_throttling
4178 + info: "VMSS uncached bandwidth consumed on ${label:resource_name}"
4179 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4180 + - name: am_vmss_vm_uncached_iops_throttling
4181 + metric: azure_monitor.vmss.vm_uncached_throttling
4182 + info: "VMSS uncached IOPS consumed on ${label:resource_name}"
4183 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4184 + - name: am_vmss_vm_cached_burst_bps_credits
4185 + metric: azure_monitor.vmss.vm_cached_burst_credits
4186 + info: "VMSS cached burst BPS credits depleting on ${label:resource_name}"
4187 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4188 + - name: am_vmss_vm_cached_burst_io_credits
4189 + metric: azure_monitor.vmss.vm_cached_burst_credits
4190 + info: "VMSS cached burst IO credits depleting on ${label:resource_name}"
4191 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4192 + - name: am_vmss_vm_uncached_burst_bps_credits
4193 + metric: azure_monitor.vmss.vm_uncached_burst_credits
4194 + info: "VMSS uncached burst BPS credits depleting on ${label:resource_name}"
4195 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4196 + - name: am_vmss_vm_uncached_burst_io_credits
4197 + metric: azure_monitor.vmss.vm_uncached_burst_credits
4198 + info: "VMSS uncached burst IO credits depleting on ${label:resource_name}"
4199 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_vmss.conf
4200 + metrics:
4201 + folding:
4202 + title: Metrics
4203 + enabled: false
4204 + description: ""
4205 + availability: []
4206 + scopes:
4207 + - name: resource
4208 + description: "These metrics refer to each monitored Azure resource."
4209 + labels:
4210 + - name: resource_name
4211 + description: "The Azure resource name."
4212 + - name: resource_group
4213 + description: "The Azure resource group."
4214 + - name: region
4215 + description: "The Azure region where the resource is deployed."
4216 + - name: resource_type
4217 + description: "The Azure resource type identifier."
4218 + - name: profile
4219 + description: "The Azure Monitor profile id."
4220 + - name: resource_uid
4221 + description: "The unique Azure resource identifier."
4222 + metrics:
4223 + - name: azure_monitor.vmss.cpu
4224 + description: Azure VMSS CPU Utilization
4225 + unit: percentage
4226 + chart_type: line
4227 + dimensions:
4228 + - name: average
4229 + - name: azure_monitor.vmss.cpu_credits
4230 + description: Azure VMSS CPU Credits
4231 + unit: credits
4232 + chart_type: line
4233 + dimensions:
4234 + - name: consumed
4235 + - name: remaining
4236 + - name: azure_monitor.vmss.memory
4237 + description: Azure VMSS Available Memory
4238 + unit: bytes
4239 + chart_type: line
4240 + dimensions:
4241 + - name: available
4242 + - name: azure_monitor.vmss.memory_percentage
4243 + description: Azure VMSS Available Memory Percentage
4244 + unit: percentage
4245 + chart_type: line
4246 + dimensions:
4247 + - name: available
4248 + - name: azure_monitor.vmss.availability
4249 + description: Azure VMSS Availability
4250 + unit: state
4251 + chart_type: line
4252 + dimensions:
4253 + - name: average
4254 + - name: azure_monitor.vmss.network_traffic
4255 + description: Azure VMSS Network Traffic
4256 + unit: bytes/s
4257 + chart_type: line
4258 + dimensions:
4259 + - name: in
4260 + - name: out
4261 + - name: azure_monitor.vmss.network_flows
4262 + description: Azure VMSS Network Flows
4263 + unit: flows
4264 + chart_type: line
4265 + dimensions:
4266 + - name: in
4267 + - name: out
4268 + - name: azure_monitor.vmss.network_flow_creation_rate
4269 + description: Azure VMSS Network Flow Creation Rate
4270 + unit: flows/s
4271 + chart_type: line
4272 + dimensions:
4273 + - name: in
4274 + - name: out
4275 + - name: azure_monitor.vmss.disk_throughput
4276 + description: Azure VMSS Disk Throughput
4277 + unit: bytes/s
4278 + chart_type: line
4279 + dimensions:
4280 + - name: read
4281 + - name: write
4282 + - name: azure_monitor.vmss.disk_iops
4283 + description: Azure VMSS Disk IOPS
4284 + unit: operations/s
4285 + chart_type: line
4286 + dimensions:
4287 + - name: read
4288 + - name: write
4289 + - name: azure_monitor.vmss.os_disk_throughput
4290 + description: Azure VMSS OS Disk Throughput
4291 + unit: bytes/s
4292 + chart_type: line
4293 + dimensions:
4294 + - name: read
4295 + - name: write
4296 + - name: azure_monitor.vmss.os_disk_iops
4297 + description: Azure VMSS OS Disk IOPS
4298 + unit: operations/s
4299 + chart_type: line
4300 + dimensions:
4301 + - name: read
4302 + - name: write
4303 + - name: azure_monitor.vmss.os_disk_latency
4304 + description: Azure VMSS OS Disk Latency
4305 + unit: milliseconds
4306 + chart_type: line
4307 + dimensions:
4308 + - name: average
4309 + - name: azure_monitor.vmss.os_disk_queue_depth
4310 + description: Azure VMSS OS Disk Queue Depth
4311 + unit: operations
4312 + chart_type: line
4313 + dimensions:
4314 + - name: average
4315 + - name: azure_monitor.vmss.os_disk_throttling
4316 + description: Azure VMSS OS Disk Throttling
4317 + unit: percentage
4318 + chart_type: line
4319 + dimensions:
4320 + - name: bandwidth
4321 + - name: iops
4322 + - name: azure_monitor.vmss.os_disk_burst_capacity
4323 + description: Azure VMSS OS Disk Burst Capacity
4324 + unit: bytes/s
4325 + chart_type: line
4326 + dimensions:
4327 + - name: max_burst
4328 + - name: target
4329 + - name: azure_monitor.vmss.os_disk_burst_iops_capacity
4330 + description: Azure VMSS OS Disk Burst IOPS Capacity
4331 + unit: iops
4332 + chart_type: line
4333 + dimensions:
4334 + - name: max_burst
4335 + - name: target
4336 + - name: azure_monitor.vmss.os_disk_burst_credits
4337 + description: Azure VMSS OS Disk Burst Credits Used
4338 + unit: percentage
4339 + chart_type: line
4340 + dimensions:
4341 + - name: bandwidth
4342 + - name: io
4343 + - name: azure_monitor.vmss.data_disk_throughput
4344 + description: Azure VMSS Data Disk Throughput
4345 + unit: bytes/s
4346 + chart_type: line
4347 + dimensions:
4348 + - name: read
4349 + - name: write
4350 + - name: azure_monitor.vmss.data_disk_iops
4351 + description: Azure VMSS Data Disk IOPS
4352 + unit: operations/s
4353 + chart_type: line
4354 + dimensions:
4355 + - name: read
4356 + - name: write
4357 + - name: azure_monitor.vmss.data_disk_latency
4358 + description: Azure VMSS Data Disk Latency
4359 + unit: milliseconds
4360 + chart_type: line
4361 + dimensions:
4362 + - name: average
4363 + - name: azure_monitor.vmss.data_disk_queue_depth
4364 + description: Azure VMSS Data Disk Queue Depth
4365 + unit: operations
4366 + chart_type: line
4367 + dimensions:
4368 + - name: average
4369 + - name: azure_monitor.vmss.data_disk_throttling
4370 + description: Azure VMSS Data Disk Throttling
4371 + unit: percentage
4372 + chart_type: line
4373 + dimensions:
4374 + - name: bandwidth
4375 + - name: iops
4376 + - name: azure_monitor.vmss.data_disk_burst_capacity
4377 + description: Azure VMSS Data Disk Burst Capacity
4378 + unit: bytes/s
4379 + chart_type: line
4380 + dimensions:
4381 + - name: max_burst
4382 + - name: target
4383 + - name: azure_monitor.vmss.data_disk_burst_iops_capacity
4384 + description: Azure VMSS Data Disk Burst IOPS Capacity
4385 + unit: iops
4386 + chart_type: line
4387 + dimensions:
4388 + - name: max_burst
4389 + - name: target
4390 + - name: azure_monitor.vmss.data_disk_burst_credits
4391 + description: Azure VMSS Data Disk Burst Credits Used
4392 + unit: percentage
4393 + chart_type: line
4394 + dimensions:
4395 + - name: bandwidth
4396 + - name: io
4397 + - name: azure_monitor.vmss.temp_disk_throughput
4398 + description: Azure VMSS Temp Disk Throughput
4399 + unit: bytes/s
4400 + chart_type: line
4401 + dimensions:
4402 + - name: read
4403 + - name: write
4404 + - name: azure_monitor.vmss.temp_disk_iops
4405 + description: Azure VMSS Temp Disk IOPS
4406 + unit: operations/s
4407 + chart_type: line
4408 + dimensions:
4409 + - name: read
4410 + - name: write
4411 + - name: azure_monitor.vmss.temp_disk_latency
4412 + description: Azure VMSS Temp Disk Latency
4413 + unit: milliseconds
4414 + chart_type: line
4415 + dimensions:
4416 + - name: average
4417 + - name: azure_monitor.vmss.temp_disk_queue_depth
4418 + description: Azure VMSS Temp Disk Queue Depth
4419 + unit: operations
4420 + chart_type: line
4421 + dimensions:
4422 + - name: average
4423 + - name: azure_monitor.vmss.premium_data_disk_cache
4424 + description: Azure VMSS Premium Data Disk Cache
4425 + unit: percentage
4426 + chart_type: line
4427 + dimensions:
4428 + - name: hit
4429 + - name: miss
4430 + - name: azure_monitor.vmss.premium_os_disk_cache
4431 + description: Azure VMSS Premium OS Disk Cache
4432 + unit: percentage
4433 + chart_type: line
4434 + dimensions:
4435 + - name: hit
4436 + - name: miss
4437 + - name: azure_monitor.vmss.vm_cached_throttling
4438 + description: Azure VMSS Cached IO Throttling
4439 + unit: percentage
4440 + chart_type: line
4441 + dimensions:
4442 + - name: bandwidth
4443 + - name: iops
4444 + - name: azure_monitor.vmss.vm_uncached_throttling
4445 + description: Azure VMSS Uncached IO Throttling
4446 + unit: percentage
4447 + chart_type: line
4448 + dimensions:
4449 + - name: bandwidth
4450 + - name: iops
4451 + - name: azure_monitor.vmss.vm_cached_burst_credits
4452 + description: Azure VMSS Cached Burst Credits Used
4453 + unit: percentage
4454 + chart_type: line
4455 + dimensions:
4456 + - name: bandwidth
4457 + - name: io
4458 + - name: azure_monitor.vmss.vm_uncached_burst_credits
4459 + description: Azure VMSS Uncached Burst Credits Used
4460 + unit: percentage
4461 + chart_type: line
4462 + dimensions:
4463 + - name: bandwidth
4464 + - name: io
4465 + - <<: *module
4466 + meta:
4467 + <<: *meta
4468 + id: collector-go.d.plugin-azure_monitor-sql_elastic_pool
4469 + monitored_instance:
4470 + name: Azure SQL Elastic Pool
4471 + link: https://learn.microsoft.com/azure/azure-sql/database/elastic-pool-overview
4472 + icon_filename: azure.svg
4473 + categories:
4474 + - data-collection.cloud-and-devops
4475 + keywords:
4476 + - azure
4477 + - sql
4478 + - elastic
4479 + - pool
4480 + - database
4481 + - mssql
4482 + overview:
4483 + <<: *overview
4484 + data_collection:
4485 + metrics_description: |
4486 + Monitor SQL Elastic Pool resource consumption including eDTU and CPU utilization, storage usage, active sessions and workers, IO rates, tempdb usage, and in-memory OLTP storage across all databases in the pool.
4487 + method_description: *method_description
4488 + alerts:
4489 + - name: am_sql_elastic_pool_cpu
4490 + metric: azure_monitor.sql_elastic_pool.cpu
4491 + info: "SQL Elastic Pool CPU on ${label:resource_name}"
4492 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_elastic_pool.conf
4493 + - name: am_sql_elastic_pool_instance_cpu
4494 + metric: azure_monitor.sql_elastic_pool.instance_cpu
4495 + info: "SQL Elastic Pool instance CPU on ${label:resource_name}"
4496 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_elastic_pool.conf
4497 + - name: am_sql_elastic_pool_instance_memory
4498 + metric: azure_monitor.sql_elastic_pool.instance_memory
4499 + info: "SQL Elastic Pool instance memory on ${label:resource_name}"
4500 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_elastic_pool.conf
4501 + - name: am_sql_elastic_pool_dtu_consumption
4502 + metric: azure_monitor.sql_elastic_pool.dtu_consumption
4503 + info: "SQL Elastic Pool DTU consumption on ${label:resource_name}"
4504 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_elastic_pool.conf
4505 + - name: am_sql_elastic_pool_data_io
4506 + metric: azure_monitor.sql_elastic_pool.io_utilization
4507 + info: "SQL Elastic Pool data I/O on ${label:resource_name}"
4508 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_elastic_pool.conf
4509 + - name: am_sql_elastic_pool_log_write
4510 + metric: azure_monitor.sql_elastic_pool.io_utilization
4511 + info: "SQL Elastic Pool log write on ${label:resource_name}"
4512 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_elastic_pool.conf
4513 + - name: am_sql_elastic_pool_workers
4514 + metric: azure_monitor.sql_elastic_pool.resource_utilization
4515 + info: "SQL Elastic Pool workers on ${label:resource_name}"
4516 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_elastic_pool.conf
4517 + - name: am_sql_elastic_pool_sessions
4518 + metric: azure_monitor.sql_elastic_pool.resource_utilization
4519 + info: "SQL Elastic Pool sessions on ${label:resource_name}"
4520 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_elastic_pool.conf
4521 + - name: am_sql_elastic_pool_storage_used
4522 + metric: azure_monitor.sql_elastic_pool.storage_utilization
4523 + info: "SQL Elastic Pool storage used on ${label:resource_name}"
4524 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_elastic_pool.conf
4525 + - name: am_sql_elastic_pool_storage_allocated
4526 + metric: azure_monitor.sql_elastic_pool.storage_utilization
4527 + info: "SQL Elastic Pool storage allocated on ${label:resource_name}"
4528 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_elastic_pool.conf
4529 + - name: am_sql_elastic_pool_xtp_storage
4530 + metric: azure_monitor.sql_elastic_pool.xtp_storage
4531 + info: "SQL Elastic Pool In-Memory OLTP storage on ${label:resource_name}"
4532 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_elastic_pool.conf
4533 + - name: am_sql_elastic_pool_tempdb_log
4534 + metric: azure_monitor.sql_elastic_pool.tempdb_log_utilization
4535 + info: "SQL Elastic Pool tempdb log on ${label:resource_name}"
4536 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_elastic_pool.conf
4537 + - name: am_sql_elastic_pool_serverless_cpu
4538 + metric: azure_monitor.sql_elastic_pool.serverless_utilization
4539 + info: "SQL Elastic Pool serverless CPU on ${label:resource_name}"
4540 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_elastic_pool.conf
4541 + - name: am_sql_elastic_pool_serverless_memory
4542 + metric: azure_monitor.sql_elastic_pool.serverless_utilization
4543 + info: "SQL Elastic Pool serverless memory on ${label:resource_name}"
4544 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_sql_elastic_pool.conf
4545 + metrics:
4546 + folding:
4547 + title: Metrics
4548 + enabled: false
4549 + description: ""
4550 + availability: []
4551 + scopes:
4552 + - name: resource
4553 + description: "These metrics refer to each monitored Azure resource."
4554 + labels:
4555 + - name: resource_name
4556 + description: "The Azure resource name."
4557 + - name: resource_group
4558 + description: "The Azure resource group."
4559 + - name: region
4560 + description: "The Azure region where the resource is deployed."
4561 + - name: resource_type
4562 + description: "The Azure resource type identifier."
4563 + - name: profile
4564 + description: "The Azure Monitor profile id."
4565 + - name: resource_uid
4566 + description: "The unique Azure resource identifier."
4567 + metrics:
4568 + - name: azure_monitor.sql_elastic_pool.cpu
4569 + description: Azure SQL Elastic Pool CPU Utilization
4570 + unit: percentage
4571 + chart_type: line
4572 + dimensions:
4573 + - name: average
4574 + - name: maximum
4575 + - name: azure_monitor.sql_elastic_pool.instance_cpu
4576 + description: Azure SQL Elastic Pool Instance CPU Utilization
4577 + unit: percentage
4578 + chart_type: line
4579 + dimensions:
4580 + - name: average
4581 + - name: azure_monitor.sql_elastic_pool.instance_memory
4582 + description: Azure SQL Elastic Pool Instance Memory Utilization
4583 + unit: percentage
4584 + chart_type: line
4585 + dimensions:
4586 + - name: average
4587 + - name: azure_monitor.sql_elastic_pool.dtu_consumption
4588 + description: Azure SQL Elastic Pool DTU Consumption
4589 + unit: percentage
4590 + chart_type: line
4591 + dimensions:
4592 + - name: average
4593 + - name: azure_monitor.sql_elastic_pool.io_utilization
4594 + description: Azure SQL Elastic Pool I/O Utilization
4595 + unit: percentage
4596 + chart_type: line
4597 + dimensions:
4598 + - name: data_read
4599 + - name: log_write
4600 + - name: azure_monitor.sql_elastic_pool.resource_utilization
4601 + description: Azure SQL Elastic Pool Resource Utilization
4602 + unit: percentage
4603 + chart_type: line
4604 + dimensions:
4605 + - name: workers
4606 + - name: sessions
4607 + - name: azure_monitor.sql_elastic_pool.sessions_count
4608 + description: Azure SQL Elastic Pool Sessions Count
4609 + unit: sessions
4610 + chart_type: line
4611 + dimensions:
4612 + - name: average
4613 + - name: azure_monitor.sql_elastic_pool.storage
4614 + description: Azure SQL Elastic Pool Storage
4615 + unit: bytes
4616 + chart_type: line
4617 + dimensions:
4618 + - name: used
4619 + - name: allocated
4620 + - name: limit
4621 + - name: azure_monitor.sql_elastic_pool.storage_utilization
4622 + description: Azure SQL Elastic Pool Storage Utilization
4623 + unit: percentage
4624 + chart_type: line
4625 + dimensions:
4626 + - name: used
4627 + - name: allocated
4628 + - name: azure_monitor.sql_elastic_pool.xtp_storage
4629 + description: Azure SQL Elastic Pool In-Memory OLTP Storage
4630 + unit: percentage
4631 + chart_type: line
4632 + dimensions:
4633 + - name: average
4634 + - name: azure_monitor.sql_elastic_pool.tempdb_size
4635 + description: Azure SQL Elastic Pool Tempdb Size
4636 + unit: KiB
4637 + chart_type: line
4638 + dimensions:
4639 + - name: data
4640 + - name: log
4641 + - name: azure_monitor.sql_elastic_pool.tempdb_log_utilization
4642 + description: Azure SQL Elastic Pool Tempdb Log Utilization
4643 + unit: percentage
4644 + chart_type: line
4645 + dimensions:
4646 + - name: average
4647 + - name: azure_monitor.sql_elastic_pool.vcore_usage
4648 + description: Azure SQL Elastic Pool vCore Usage
4649 + unit: vCores
4650 + chart_type: line
4651 + dimensions:
4652 + - name: used
4653 + - name: limit
4654 + - name: azure_monitor.sql_elastic_pool.edtu_usage
4655 + description: Azure SQL Elastic Pool eDTU Usage
4656 + unit: eDTU
4657 + chart_type: line
4658 + dimensions:
4659 + - name: used
4660 + - name: limit
4661 + - name: azure_monitor.sql_elastic_pool.serverless_utilization
4662 + description: Azure SQL Elastic Pool Serverless Utilization
4663 + unit: percentage
4664 + chart_type: line
4665 + dimensions:
4666 + - name: cpu
4667 + - name: memory
4668 + - name: azure_monitor.sql_elastic_pool.serverless_billing
4669 + description: Azure SQL Elastic Pool Serverless Billing
4670 + unit: vCore-seconds/s
4671 + chart_type: line
4672 + dimensions:
4673 + - name: total
4674 + - <<: *module
4675 + meta:
4676 + <<: *meta
4677 + id: collector-go.d.plugin-azure_monitor-mysql_flexible
4678 + monitored_instance:
4679 + name: Azure MySQL Flexible Server
4680 + link: https://learn.microsoft.com/azure/mysql/flexible-server/
4681 + icon_filename: azure.svg
4682 + categories:
4683 + - data-collection.cloud-and-devops
4684 + keywords:
4685 + - azure
4686 + - mysql
4687 + - database
4688 + - flexible
4689 + overview:
4690 + <<: *overview
4691 + data_collection:
4692 + metrics_description: |
4693 + Monitor MySQL Flexible Server including active connections, aborted connections, query rates, replication lag, storage utilization, CPU and memory usage, IO operations, InnoDB buffer pool efficiency, network throughput, and HA replication status.
4694 + method_description: *method_description
4695 + alerts:
4696 + - name: am_mysql_flexible_cpu
4697 + metric: azure_monitor.mysql_flexible.cpu
4698 + info: "MySQL Flexible CPU on ${label:resource_name}"
4699 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4700 + - name: am_mysql_flexible_memory
4701 + metric: azure_monitor.mysql_flexible.memory
4702 + info: "MySQL Flexible memory on ${label:resource_name}"
4703 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4704 + - name: am_mysql_flexible_io_utilization
4705 + metric: azure_monitor.mysql_flexible.io_utilization
4706 + info: "MySQL Flexible I/O utilization on ${label:resource_name}"
4707 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4708 + - name: am_mysql_flexible_storage_utilization
4709 + metric: azure_monitor.mysql_flexible.storage_utilization
4710 + info: "MySQL Flexible storage on ${label:resource_name}"
4711 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4712 + - name: am_mysql_flexible_serverlog_storage_utilization
4713 + metric: azure_monitor.mysql_flexible.serverlog_storage_utilization
4714 + info: "MySQL Flexible server log storage on ${label:resource_name}"
4715 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4716 + - name: am_mysql_flexible_cpu_credits_remaining
4717 + metric: azure_monitor.mysql_flexible.cpu_credits
4718 + info: "MySQL Flexible CPU credits low on ${label:resource_name}"
4719 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4720 + - name: am_mysql_flexible_ha_io_status
4721 + metric: azure_monitor.mysql_flexible.ha_status
4722 + info: "MySQL Flexible HA IO thread down on ${label:resource_name}"
4723 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4724 + - name: am_mysql_flexible_ha_sql_status
4725 + metric: azure_monitor.mysql_flexible.ha_status
4726 + info: "MySQL Flexible HA SQL thread down on ${label:resource_name}"
4727 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4728 + - name: am_mysql_flexible_replica_io_status
4729 + metric: azure_monitor.mysql_flexible.replica_status
4730 + info: "MySQL Flexible replica IO thread down on ${label:resource_name}"
4731 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4732 + - name: am_mysql_flexible_replica_sql_status
4733 + metric: azure_monitor.mysql_flexible.replica_status
4734 + info: "MySQL Flexible replica SQL thread down on ${label:resource_name}"
4735 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4736 + - name: am_mysql_flexible_replication_lag
4737 + metric: azure_monitor.mysql_flexible.replication_lag
4738 + info: "MySQL Flexible replica lag on ${label:resource_name}"
4739 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4740 + - name: am_mysql_flexible_ha_replication_lag
4741 + metric: azure_monitor.mysql_flexible.replication_lag
4742 + info: "MySQL Flexible HA replication lag on ${label:resource_name}"
4743 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4744 + - name: am_mysql_flexible_innodb_row_lock_time
4745 + metric: azure_monitor.mysql_flexible.innodb_row_lock_time
4746 + info: "MySQL Flexible row lock wait time on ${label:resource_name}"
4747 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4748 + - name: am_mysql_flexible_lock_deadlocks
4749 + metric: azure_monitor.mysql_flexible.lock_deadlocks
4750 + info: "MySQL Flexible deadlocks on ${label:resource_name}"
4751 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4752 + - name: am_mysql_flexible_lock_timeouts
4753 + metric: azure_monitor.mysql_flexible.lock_timeouts
4754 + info: "MySQL Flexible lock timeouts on ${label:resource_name}"
4755 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4756 + - name: am_mysql_flexible_aborted_connections
4757 + metric: azure_monitor.mysql_flexible.aborted_connections
4758 + info: "MySQL Flexible aborted connections on ${label:resource_name}"
4759 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4760 + - name: am_mysql_flexible_slow_queries
4761 + metric: azure_monitor.mysql_flexible.queries
4762 + info: "MySQL Flexible slow queries on ${label:resource_name}"
4763 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4764 + - name: am_mysql_flexible_innodb_row_lock_waits
4765 + metric: azure_monitor.mysql_flexible.innodb_row_lock_waits
4766 + info: "MySQL Flexible row lock waits on ${label:resource_name}"
4767 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4768 + - name: am_mysql_flexible_history_list_length
4769 + metric: azure_monitor.mysql_flexible.history_list_length
4770 + info: "MySQL Flexible history list length on ${label:resource_name}"
4771 + link: https://github.com/netdata/netdata/blob/master/src/health/health.d/azure_monitor_mysql_flexible.conf
4772 + metrics:
4773 + folding:
4774 + title: Metrics
4775 + enabled: false
4776 + description: ""
4777 + availability: []
4778 + scopes:
4779 + - name: resource
4780 + description: "These metrics refer to each monitored Azure resource."
4781 + labels:
4782 + - name: resource_name
4783 + description: "The Azure resource name."
4784 + - name: resource_group
4785 + description: "The Azure resource group."
4786 + - name: region
4787 + description: "The Azure region where the resource is deployed."
4788 + - name: resource_type
4789 + description: "The Azure resource type identifier."
4790 + - name: profile
4791 + description: "The Azure Monitor profile id."
4792 + - name: resource_uid
4793 + description: "The unique Azure resource identifier."
4794 + metrics:
4795 + - name: azure_monitor.mysql_flexible.cpu
4796 + description: Azure MySQL Flexible Server CPU Utilization
4797 + unit: percentage
4798 + chart_type: line
4799 + dimensions:
4800 + - name: average
4801 + - name: azure_monitor.mysql_flexible.memory
4802 + description: Azure MySQL Flexible Server Memory Utilization
4803 + unit: percentage
4804 + chart_type: line
4805 + dimensions:
4806 + - name: average
4807 + - name: azure_monitor.mysql_flexible.io_utilization
4808 + description: Azure MySQL Flexible Server Storage I/O Utilization
4809 + unit: percentage
4810 + chart_type: line
4811 + dimensions:
4812 + - name: average
4813 + - name: azure_monitor.mysql_flexible.cpu_credits
4814 + description: Azure MySQL Flexible Server CPU Credits
4815 + unit: credits
4816 + chart_type: line
4817 + dimensions:
4818 + - name: consumed
4819 + - name: remaining
4820 + - name: azure_monitor.mysql_flexible.ha_status
4821 + description: Azure MySQL Flexible Server HA Replication Status
4822 + unit: status
4823 + chart_type: line
4824 + dimensions:
4825 + - name: io
4826 + - name: sql
4827 + - name: azure_monitor.mysql_flexible.replica_status
4828 + description: Azure MySQL Flexible Server Replica Status
4829 + unit: status
4830 + chart_type: line
4831 + dimensions:
4832 + - name: io
4833 + - name: sql
4834 + - name: azure_monitor.mysql_flexible.uptime
4835 + description: Azure MySQL Flexible Server Uptime
4836 + unit: seconds
4837 + chart_type: line
4838 + dimensions:
4839 + - name: uptime
4840 + - name: azure_monitor.mysql_flexible.replication_lag
4841 + description: Azure MySQL Flexible Server Replication Lag
4842 + unit: seconds
4843 + chart_type: line
4844 + dimensions:
4845 + - name: replica
4846 + - name: ha
4847 + - name: azure_monitor.mysql_flexible.innodb_row_lock_time
4848 + description: Azure MySQL Flexible Server InnoDB Row Lock Time
4849 + unit: milliseconds
4850 + chart_type: line
4851 + dimensions:
4852 + - name: average
4853 + - name: azure_monitor.mysql_flexible.innodb_row_lock_waits
4854 + description: Azure MySQL Flexible Server InnoDB Row Lock Waits
4855 + unit: waits/s
4856 + chart_type: line
4857 + dimensions:
4858 + - name: total
4859 + - name: azure_monitor.mysql_flexible.aborted_connections
4860 + description: Azure MySQL Flexible Server Aborted Connections
4861 + unit: connections/s
4862 + chart_type: line
4863 + dimensions:
4864 + - name: total
4865 + - name: azure_monitor.mysql_flexible.active_connections
4866 + description: Azure MySQL Flexible Server Active Connections
4867 + unit: connections
4868 + chart_type: line
4869 + dimensions:
4870 + - name: average
4871 + - name: azure_monitor.mysql_flexible.total_connections
4872 + description: Azure MySQL Flexible Server Total Connections
4873 + unit: connections/s
4874 + chart_type: line
4875 + dimensions:
4876 + - name: total
4877 + - name: azure_monitor.mysql_flexible.active_transactions
4878 + description: Azure MySQL Flexible Server Active Transactions
4879 + unit: transactions
4880 + chart_type: line
4881 + dimensions:
4882 + - name: average
4883 + - name: azure_monitor.mysql_flexible.threads_running
4884 + description: Azure MySQL Flexible Server Threads Running
4885 + unit: threads
4886 + chart_type: line
4887 + dimensions:
4888 + - name: maximum
4889 + - name: azure_monitor.mysql_flexible.queries
4890 + description: Azure MySQL Flexible Server Queries
4891 + unit: queries/s
4892 + chart_type: line
4893 + dimensions:
4894 + - name: total
4895 + - name: slow
4896 + - name: azure_monitor.mysql_flexible.dml_statements
4897 + description: Azure MySQL Flexible Server DML Statements
4898 + unit: statements/s
4899 + chart_type: line
4900 + dimensions:
4901 + - name: select
4902 + - name: insert
4903 + - name: update
4904 + - name: delete
4905 + - name: azure_monitor.mysql_flexible.ddl_statements
4906 + description: Azure MySQL Flexible Server DDL Statements
4907 + unit: statements/s
4908 + chart_type: line
4909 + dimensions:
4910 + - name: create_table
4911 + - name: alter_table
4912 + - name: drop_table
4913 + - name: create_db
4914 + - name: drop_db
4915 + - name: azure_monitor.mysql_flexible.lock_deadlocks
4916 + description: Azure MySQL Flexible Server Deadlocks
4917 + unit: deadlocks/s
4918 + chart_type: line
4919 + dimensions:
4920 + - name: total
4921 + - name: azure_monitor.mysql_flexible.lock_timeouts
4922 + description: Azure MySQL Flexible Server Lock Timeouts
4923 + unit: timeouts/s
4924 + chart_type: line
4925 + dimensions:
4926 + - name: total
4927 + - name: azure_monitor.mysql_flexible.innodb_buffer_pool_pages
4928 + description: Azure MySQL Flexible Server InnoDB Buffer Pool Pages
4929 + unit: pages
4930 + chart_type: line
4931 + dimensions:
4932 + - name: data
4933 + - name: dirty
4934 + - name: free
4935 + - name: flushed
4936 + - name: azure_monitor.mysql_flexible.innodb_buffer_pool_io
4937 + description: Azure MySQL Flexible Server InnoDB Buffer Pool I/O
4938 + unit: requests/s
4939 + chart_type: line
4940 + dimensions:
4941 + - name: read_requests
4942 + - name: disk_reads
4943 + - name: azure_monitor.mysql_flexible.innodb_data_writes
4944 + description: Azure MySQL Flexible Server InnoDB Data Writes
4945 + unit: writes/s
4946 + chart_type: line
4947 + dimensions:
4948 + - name: total
4949 + - name: azure_monitor.mysql_flexible.sort_merge_passes
4950 + description: Azure MySQL Flexible Server Sort Merge Passes
4951 + unit: passes/s
4952 + chart_type: line
4953 + dimensions:
4954 + - name: total
4955 + - name: azure_monitor.mysql_flexible.network
4956 + description: Azure MySQL Flexible Server Network Traffic
4957 + unit: bytes/s
4958 + chart_type: line
4959 + dimensions:
4960 + - name: in
4961 + - name: out
4962 + - name: azure_monitor.mysql_flexible.storage_io
4963 + description: Azure MySQL Flexible Server Storage I/O
4964 + unit: operations/s
4965 + chart_type: line
4966 + dimensions:
4967 + - name: total
4968 + - name: azure_monitor.mysql_flexible.storage
4969 + description: Azure MySQL Flexible Server Storage
4970 + unit: bytes
4971 + chart_type: line
4972 + dimensions:
4973 + - name: used
4974 + - name: limit
4975 + - name: azure_monitor.mysql_flexible.storage_utilization
4976 + description: Azure MySQL Flexible Server Storage Utilization
4977 + unit: percentage
4978 + chart_type: line
4979 + dimensions:
4980 + - name: average
4981 + - name: azure_monitor.mysql_flexible.storage_breakdown
4982 + description: Azure MySQL Flexible Server Storage Breakdown
4983 + unit: bytes
4984 + chart_type: line
4985 + dimensions:
4986 + - name: data
4987 + - name: ibdata1
4988 + - name: binlog
4989 + - name: others
4990 + - name: azure_monitor.mysql_flexible.backup_storage
4991 + description: Azure MySQL Flexible Server Backup Storage
4992 + unit: bytes
4993 + chart_type: line
4994 + dimensions:
4995 + - name: used
4996 + - name: azure_monitor.mysql_flexible.serverlog_storage
4997 + description: Azure MySQL Flexible Server Server Log Storage
4998 + unit: bytes
4999 + chart_type: line

This file is too large to show in full.

src/go/plugin/go.d/collector/azure_monitor/observation_state.go new
+146
@@ -0,0 +1,146 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azure_monitor
4 +
5 +import (
6 + "strings"
7 +
8 + "github.com/netdata/netdata/go/plugins/pkg/metrix"
9 + "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/azure_monitor/azureprofiles"
10 +)
11 +
12 +type observationState struct {
13 + instruments map[string]*instrumentRuntime
14 + accumulators map[string]float64
15 + lastObserved map[string]lastObservation
16 +}
17 +
18 +func newObservationState(instruments map[string]*instrumentRuntime) *observationState {
19 + return &observationState{
20 + instruments: instruments,
21 + accumulators: make(map[string]float64),
22 + lastObserved: make(map[string]lastObservation),
23 + }
24 +}
25 +
26 +func (s *observationState) reset() {
27 + s.accumulators = make(map[string]float64)
28 + s.lastObserved = make(map[string]lastObservation)
29 +}
30 +
31 +func dueInstrumentsForBatches(batches []queryBatch) map[string]bool {
32 + dueInstruments := make(map[string]bool)
33 + for _, batch := range batches {
34 + for _, metric := range batch.Metrics {
35 + for _, series := range metric.Series {
36 + dueInstruments[series.Instrument] = true
37 + }
38 + }
39 + }
40 + return dueInstruments
41 +}
42 +
43 +func (s *observationState) observeSamples(samples []metricSample) map[string]bool {
44 + observedThisCycle := make(map[string]bool, len(s.lastObserved))
45 + for _, sample := range samples {
46 + key, ok := s.observeSample(sample)
47 + if !ok {
48 + continue
49 + }
50 + observedThisCycle[key] = true
51 + }
52 + return observedThisCycle
53 +}
54 +
55 +func (s *observationState) observeSample(sample metricSample) (string, bool) {
56 + inst, ok := s.instruments[sample.Instrument]
57 + if !ok {
58 + return "", false
59 + }
60 +
61 + values := labelValues(sample.Labels)
62 + key := sampleObservationKey(sample.Instrument, values)
63 + value := sample.Value
64 +
65 + if sample.Kind == azureprofiles.SeriesKindCounter {
66 + s.accumulators[key] += value
67 + value = s.accumulators[key]
68 + }
69 +
70 + inst.observe(values, value)
71 + s.lastObserved[key] = lastObservation{
72 + instrument: sample.Instrument,
73 + labelValues: append([]string(nil), values...),
74 + value: value,
75 + }
76 +
77 + return key, true
78 +}
79 +
80 +func (s *observationState) reobserveCachedObservations(dueInstruments, observedThisCycle map[string]bool) {
81 + for key, obs := range s.lastObserved {
82 + if observedThisCycle[key] {
83 + continue
84 + }
85 + if dueInstruments[obs.instrument] {
86 + continue
87 + }
88 + inst, ok := s.instruments[obs.instrument]
89 + if !ok {
90 + continue
91 + }
92 + inst.observe(obs.labelValues, obs.value)
93 + }
94 +}
95 +
96 +// pruneStaleResources removes cache entries for resources no longer in the discovery set.
97 +func (s *observationState) pruneStaleResources(current []resourceInfo) {
98 + activeUIDs := make(map[string]struct{}, len(current))
99 + for _, r := range current {
100 + activeUIDs[r.UID] = struct{}{}
101 + }
102 +
103 + for key, obs := range s.lastObserved {
104 + if len(obs.labelValues) == 0 {
105 + continue
106 + }
107 + if _, ok := activeUIDs[obs.labelValues[0]]; ok {
108 + continue
109 + }
110 + delete(s.lastObserved, key)
111 + }
112 +
113 + for key := range s.accumulators {
114 + uid := accumulatorResourceUID(key)
115 + if uid == "" {
116 + continue
117 + }
118 + if _, ok := activeUIDs[uid]; ok {
119 + continue
120 + }
121 + delete(s.accumulators, key)
122 + }
123 +}
124 +
125 +func sampleObservationKey(instrument string, values []string) string {
126 + return instrument + "\x00" + strings.Join(values, "\x00")
127 +}
128 +
129 +func accumulatorResourceUID(key string) string {
130 + parts := strings.SplitN(key, "\x00", 3)
131 + if len(parts) < 2 {
132 + return ""
133 + }
134 + return parts[1]
135 +}
136 +
137 +func labelValues(labels metrix.Labels) []string {
138 + return []string{
139 + labels["resource_uid"],
140 + labels["resource_name"],
141 + labels["resource_group"],
142 + labels["region"],
143 + labels["resource_type"],
144 + labels["profile"],
145 + }
146 +}
src/go/plugin/go.d/collector/azure_monitor/plan.go new
+172
@@ -0,0 +1,172 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azure_monitor
4 +
5 +import (
6 + "fmt"
7 + "sort"
8 + "strings"
9 +
10 + "github.com/netdata/netdata/go/plugins/plugin/framework/charttpl"
11 + "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/azure_monitor/azureprofiles"
12 + "gopkg.in/yaml.v3"
13 +)
14 +
15 +func buildCollectorRuntimeFromConfig(cfg Config, catalog azureprofiles.Catalog) (*collectorRuntime, error) {
16 + profiles, err := catalog.Resolve(cfg.Profiles)
17 + if err != nil {
18 + return nil, err
19 + }
20 +
21 + runtime := &collectorRuntime{
22 + Profiles: make([]*profileRuntime, 0, len(profiles)),
23 + }
24 +
25 + seenProfileIDs := make(map[string]struct{}, len(profiles))
26 + seenChartIDs := make(map[string]struct{})
27 +
28 + for _, src := range profiles {
29 + p, err := buildProfileRuntime(src)
30 + if err != nil {
31 + return nil, err
32 + }
33 + if _, ok := seenProfileIDs[p.ID]; ok {
34 + return nil, fmt.Errorf("profile id collision for profile %q", src.ID)
35 + }
36 + seenProfileIDs[p.ID] = struct{}{}
37 +
38 + if err := walkCharts(p.Template, func(chart charttpl.Chart) error {
39 + if _, ok := seenChartIDs[chart.ID]; ok {
40 + return fmt.Errorf("chart id collision: %s", chart.ID)
41 + }
42 + seenChartIDs[chart.ID] = struct{}{}
43 + return nil
44 + }); err != nil {
45 + return nil, err
46 + }
47 +
48 + runtime.Profiles = append(runtime.Profiles, p)
49 + }
50 +
51 + tpl, err := buildChartTemplate(runtime)
52 + if err != nil {
53 + return nil, err
54 + }
55 + runtime.ChartTemplateYAML = tpl
56 +
57 + return runtime, nil
58 +}
59 +
60 +func buildProfileRuntime(p azureprofiles.Profile) (*profileRuntime, error) {
61 + profileID := stringsTrim(p.ID)
62 + if profileID == "" {
63 + return nil, fmt.Errorf("profile has empty id")
64 + }
65 +
66 + name := stringsTrim(p.Name)
67 + if name == "" {
68 + return nil, fmt.Errorf("profile %q has empty name", profileID)
69 + }
70 +
71 + resourceType := stringsTrim(p.ResourceType)
72 + metricNamespace := stringsTrim(p.MetricNamespace)
73 + if metricNamespace == "" {
74 + metricNamespace = resourceType
75 + }
76 +
77 + out := &profileRuntime{
78 + ID: profileID,
79 + Name: name,
80 + ResourceType: resourceType,
81 + MetricNamespace: metricNamespace,
82 + Metrics: make([]*metricRuntime, 0, len(p.Metrics)),
83 + }
84 +
85 + for _, m := range p.Metrics {
86 + grain := strings.ToUpper(stringsTrim(m.TimeGrain))
87 + if grain == "" {
88 + grain = "PT1M"
89 + }
90 + grainEvery, ok := azureprofiles.SupportedTimeGrains[grain]
91 + if !ok {
92 + return nil, fmt.Errorf("profile %q metric %q has unsupported time grain %q", profileID, m.ID, grain)
93 + }
94 +
95 + mr := &metricRuntime{
96 + ID: stringsTrim(m.ID),
97 + AzureName: stringsTrim(m.AzureName),
98 + TimeGrain: grain,
99 + TimeGrainEvery: grainEvery,
100 + Series: make([]*seriesRuntime, 0, len(m.Series)),
101 + }
102 +
103 + for _, s := range m.Series {
104 + aggregation := azureprofiles.NormalizeAggregation(s.Aggregation)
105 + mr.Series = append(mr.Series, &seriesRuntime{
106 + Aggregation: aggregation,
107 + Kind: azureprofiles.NormalizeSeriesKind(s.Kind),
108 + Instrument: azureprofiles.ExportedSeriesName(profileID, m.ID, aggregation),
109 + })
110 + }
111 +
112 + sort.Slice(mr.Series, func(i, j int) bool {
113 + return mr.Series[i].Aggregation < mr.Series[j].Aggregation
114 + })
115 + out.Metrics = append(out.Metrics, mr)
116 + }
117 +
118 + sort.Slice(out.Metrics, func(i, j int) bool {
119 + return out.Metrics[i].ID < out.Metrics[j].ID
120 + })
121 +
122 + out.Template = p.Template
123 + out.Template.Metrics = profileMetricsList(out)
124 + return out, nil
125 +}
126 +
127 +func buildChartTemplate(runtime *collectorRuntime) (string, error) {
128 + spec := charttpl.Spec{
129 + Version: charttpl.VersionV1,
130 + ContextNamespace: "azure_monitor",
131 + Groups: make([]charttpl.Group, 0, len(runtime.Profiles)),
132 + }
133 +
134 + for _, p := range runtime.Profiles {
135 + spec.Groups = append(spec.Groups, p.Template)
136 + }
137 +
138 + if err := spec.Validate(); err != nil {
139 + return "", err
140 + }
141 +
142 + raw, err := yaml.Marshal(spec)
143 + if err != nil {
144 + return "", err
145 + }
146 + return string(raw), nil
147 +}
148 +
149 +func profileMetricsList(p *profileRuntime) []string {
150 + list := make([]string, 0)
151 + for _, metric := range p.Metrics {
152 + for _, series := range metric.Series {
153 + list = append(list, series.Instrument)
154 + }
155 + }
156 + sort.Strings(list)
157 + return list
158 +}
159 +
160 +func walkCharts(group charttpl.Group, fn func(charttpl.Chart) error) error {
161 + for _, chart := range group.Charts {
162 + if err := fn(chart); err != nil {
163 + return err
164 + }
165 + }
166 + for _, child := range group.Groups {
167 + if err := walkCharts(child, fn); err != nil {
168 + return err
169 + }
170 + }
171 + return nil
172 +}
src/go/plugin/go.d/collector/azure_monitor/profile_catalog_test.go new
+175
@@ -0,0 +1,175 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azure_monitor
4 +
5 +import (
6 + "os"
7 + "path/filepath"
8 + "testing"
9 +
10 + "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/azure_monitor/azureprofiles"
11 + "github.com/stretchr/testify/assert"
12 + "github.com/stretchr/testify/require"
13 +)
14 +
15 +func TestLoadProfileCatalog_LoadsStockProfiles(t *testing.T) {
16 + catalog, err := azureprofiles.LoadFromDefaultDirs()
17 + require.NoError(t, err)
18 +
19 + for _, key := range []string{
20 + "sql_managed_instance",
21 + "sql_database",
22 + "postgres_flexible",
23 + "cosmos_db",
24 + "logic_apps",
25 + "virtual_machines",
26 + "aks",
27 + "storage_accounts",
28 + "load_balancers",
29 + } {
30 + profiles, err := catalog.Resolve([]string{key})
31 + require.NoErrorf(t, err, "expected stock profile %q", key)
32 + assert.Len(t, profiles, 1)
33 + }
34 + assert.GreaterOrEqual(t, len(catalog.DefaultProfileIDs()), 9)
35 +}
36 +
37 +func TestLoadProfileCatalogFromDirs_UserOverridesStock(t *testing.T) {
38 + dir := t.TempDir()
39 + userDir := filepath.Join(dir, "user")
40 + stockDir := filepath.Join(dir, "stock")
41 +
42 + require.NoError(t, writeProfileFile(filepath.Join(userDir, "sql_database.yaml"), `
43 +id: sql_database
44 +name: Azure SQL Database (User Override)
45 +resource_type: Microsoft.Sql/servers/databases
46 +metrics:
47 + - id: cpu_percent
48 + azure_name: cpu_percent
49 + time_grain: PT1M
50 + series:
51 + - aggregation: average
52 + kind: gauge
53 +template:
54 + family: Azure SQL Database (User Override)
55 + context_namespace: sql_database
56 + charts:
57 + - id: am_test_sql_database_cpu
58 + title: Azure SQL Database CPU
59 + context: cpu
60 + family: Utilization
61 + type: line
62 + units: percentage
63 + algorithm: absolute
64 + label_promotion: [resource_name, resource_group, region, resource_type, profile]
65 + instances:
66 + by_labels: [resource_uid]
67 + dimensions:
68 + - selector: sql_database.cpu_percent_average
69 + name: average
70 +`))
71 + require.NoError(t, writeProfileFile(filepath.Join(stockDir, "sql_database.yaml"), `
72 +id: sql_database
73 +name: Azure SQL Database (Stock)
74 +resource_type: Microsoft.Sql/servers/databases
75 +metrics:
76 + - id: cpu_percent
77 + azure_name: cpu_percent
78 + time_grain: PT1M
79 + series:
80 + - aggregation: average
81 + kind: gauge
82 +template:
83 + family: Azure SQL Database (Stock)
84 + context_namespace: sql_database
85 + charts:
86 + - id: am_test_sql_database_cpu
87 + title: Azure SQL Database CPU
88 + context: cpu
89 + family: Utilization
90 + type: line
91 + units: percentage
92 + algorithm: absolute
93 + label_promotion: [resource_name, resource_group, region, resource_type, profile]
94 + instances:
95 + by_labels: [resource_uid]
96 + dimensions:
97 + - selector: sql_database.cpu_percent_average
98 + name: average
99 +`))
100 + require.NoError(t, writeProfileFile(filepath.Join(stockDir, "postgres_flexible.yaml"), `
101 +id: postgres_flexible
102 +name: Azure PostgreSQL Flexible Server
103 +resource_type: Microsoft.DBforPostgreSQL/flexibleServers
104 +metrics:
105 + - id: cpu_percent
106 + azure_name: cpu_percent
107 + time_grain: PT1M
108 + series:
109 + - aggregation: average
110 + kind: gauge
111 +template:
112 + family: Azure PostgreSQL Flexible Server
113 + context_namespace: postgres_flexible
114 + charts:
115 + - id: am_test_postgres_cpu
116 + title: Azure PostgreSQL CPU
117 + context: cpu
118 + family: Utilization
119 + type: line
120 + units: percentage
121 + algorithm: absolute
122 + label_promotion: [resource_name, resource_group, region, resource_type, profile]
123 + instances:
124 + by_labels: [resource_uid]
125 + dimensions:
126 + - selector: postgres_flexible.cpu_percent_average
127 + name: average
128 +`))
129 +
130 + catalog, err := azureprofiles.LoadFromDirs([]azureprofiles.DirSpec{
131 + {Path: userDir, IsStock: false},
132 + {Path: stockDir, IsStock: true},
133 + })
134 + require.NoError(t, err)
135 +
136 + gotProfiles, err := catalog.Resolve([]string{"sql_database"})
137 + require.NoError(t, err)
138 + require.Len(t, gotProfiles, 1)
139 + got := gotProfiles[0]
140 + assert.Equal(t, "Azure SQL Database (User Override)", got.Name)
141 +
142 + defaults := catalog.DefaultProfileIDs()
143 + assert.Equal(t, []string{"postgres_flexible", "sql_database"}, defaults)
144 +}
145 +
146 +func writeProfileFile(path, data string) error {
147 + if err := os.MkdirAll(filepath.Dir(path), 0o755); err != nil {
148 + return err
149 + }
150 + return os.WriteFile(path, []byte(data), 0o644)
151 +}
152 +
153 +func TestLoadProfileCatalogFromDirs_RejectsLegacyProfileWithoutCharts(t *testing.T) {
154 + dir := t.TempDir()
155 + stockDir := filepath.Join(dir, "stock")
156 +
157 + require.NoError(t, writeProfileFile(filepath.Join(stockDir, "legacy.yaml"), `
158 +id: legacy
159 +name: Azure Legacy
160 +resource_type: Microsoft.Storage/storageAccounts
161 +metrics:
162 + - id: used_capacity
163 + azure_name: UsedCapacity
164 + time_grain: PT1M
165 + series:
166 + - aggregation: average
167 + kind: gauge
168 +`))
169 +
170 + _, err := azureprofiles.LoadFromDirs([]azureprofiles.DirSpec{
171 + {Path: stockDir, IsStock: true},
172 + })
173 + require.Error(t, err)
174 + assert.Contains(t, err.Error(), "'template' must contain at least one chart")
175 +}
src/go/plugin/go.d/collector/azure_monitor/query_executor.go new
+315
@@ -0,0 +1,315 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azure_monitor
4 +
5 +import (
6 + "context"
7 + "errors"
8 + "net/url"
9 + "strings"
10 + "sync"
11 + "time"
12 +
13 + "github.com/Azure/azure-sdk-for-go/sdk/azcore"
14 + azcloud "github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud"
15 + "github.com/Azure/azure-sdk-for-go/sdk/monitor/query/azmetrics"
16 + "github.com/netdata/netdata/go/plugins/pkg/metrix"
17 +)
18 +
19 +type queryExecutor struct {
20 + subscriptionID string
21 + maxConcurrency int
22 + timeout time.Duration
23 + cloudCfg azcloud.Configuration
24 + credential azcore.TokenCredential
25 + newClient func(endpoint string, cred azcore.TokenCredential, cloud azcloud.Configuration) (metricsQueryClient, error)
26 +
27 + clientsMu sync.Mutex
28 + clients map[string]metricsQueryClient
29 +}
30 +
31 +func newQueryExecutor(subscriptionID string, maxConcurrency int, timeout time.Duration, credential azcore.TokenCredential, cloudCfg azcloud.Configuration, newClient func(endpoint string, cred azcore.TokenCredential, cloud azcloud.Configuration) (metricsQueryClient, error)) *queryExecutor {
32 + return &queryExecutor{
33 + subscriptionID: subscriptionID,
34 + maxConcurrency: maxConcurrency,
35 + timeout: timeout,
36 + cloudCfg: cloudCfg,
37 + credential: credential,
38 + newClient: newClient,
39 + clients: make(map[string]metricsQueryClient),
40 + }
41 +}
42 +
43 +func (e *queryExecutor) reset() {
44 + e.clientsMu.Lock()
45 + defer e.clientsMu.Unlock()
46 + e.clients = make(map[string]metricsQueryClient)
47 +}
48 +
49 +func (e *queryExecutor) runQueryBatches(ctx context.Context, batches []queryBatch, queryEnd time.Time) []queryBatchResult {
50 + workers := e.maxConcurrency
51 + if workers < 1 {
52 + workers = 1
53 + }
54 + if workers > len(batches) {
55 + workers = len(batches)
56 + }
57 +
58 + input := make(chan queryBatch)
59 + output := make(chan queryBatchResult, len(batches))
60 +
61 + var wg sync.WaitGroup
62 + for i := 0; i < workers; i++ {
63 + wg.Go(func() {
64 + for batch := range input {
65 + samples, err := e.executeQueryBatch(ctx, batch, queryEnd)
66 + output <- queryBatchResult{Samples: samples, Err: err}
67 + }
68 + })
69 + }
70 +
71 + for _, batch := range batches {
72 + input <- batch
73 + }
74 + close(input)
75 + wg.Wait()
76 + close(output)
77 +
78 + results := make([]queryBatchResult, 0, len(batches))
79 + for result := range output {
80 + results = append(results, result)
81 + }
82 + return results
83 +}
84 +
85 +func (e *queryExecutor) executeQueryBatch(ctx context.Context, batch queryBatch, queryEnd time.Time) ([]metricSample, error) {
86 + client, err := e.getMetricsClient(batch.Region)
87 + if err != nil {
88 + return nil, err
89 + }
90 +
91 + resourceIDs, resourceByID := queryBatchResourceIndex(batch.Resources)
92 + startTime, endTime, interval, aggregation := queryBatchWindow(batch, queryEnd)
93 +
94 + reqCtx, cancel := withOptionalTimeout(ctx, e.timeout)
95 + defer cancel()
96 +
97 + resp, err := client.QueryResources(
98 + reqCtx,
99 + e.subscriptionID,
100 + batch.Profile.MetricNamespace,
101 + batch.MetricNames,
102 + azmetrics.ResourceIDList{ResourceIDs: resourceIDs},
103 + &azmetrics.QueryResourcesOptions{
104 + StartTime: &startTime,
105 + EndTime: &endTime,
106 + Interval: &interval,
107 + Aggregation: &aggregation,
108 + },
109 + )
110 + if err != nil {
111 + return nil, err
112 + }
113 +
114 + return samplesFromQueryResponse(resp.Values, batch.Profile.ID, queryBatchMetricIndex(batch.Metrics), resourceByID), nil
115 +}
116 +
117 +func queryBatchMetricIndex(metrics []*metricRuntime) map[string]*metricRuntime {
118 + result := make(map[string]*metricRuntime, len(metrics))
119 + for _, metric := range metrics {
120 + result[stringsLowerTrim(metric.AzureName)] = metric
121 + }
122 + return result
123 +}
124 +
125 +func queryBatchResourceIndex(resources []resourceInfo) ([]string, map[string]resourceInfo) {
126 + resourceIDs := make([]string, 0, len(resources))
127 + resourceByID := make(map[string]resourceInfo, len(resources))
128 + for _, resource := range resources {
129 + resourceIDs = append(resourceIDs, resource.ID)
130 + resourceByID[stringsLowerTrim(resource.ID)] = resource
131 + }
132 + return resourceIDs, resourceByID
133 +}
134 +
135 +func queryBatchWindow(batch queryBatch, queryEnd time.Time) (string, string, string, string) {
136 + start := queryEnd.Add(-batch.TimeGrainEvery).UTC().Format(time.RFC3339)
137 + end := queryEnd.UTC().Format(time.RFC3339)
138 + return start, end, batch.TimeGrain, strings.Join(batch.Aggregations, ",")
139 +}
140 +
141 +func samplesFromQueryResponse(metricData []azmetrics.MetricData, profileID string, metricToRuntime map[string]*metricRuntime, resourceByID map[string]resourceInfo) []metricSample {
142 + samples := make([]metricSample, 0, len(metricData))
143 + for _, data := range metricData {
144 + resource, ok := resourceByID[stringsLowerTrim(derefOrZero(data.ResourceID))]
145 + if !ok {
146 + continue
147 + }
148 + samples = append(samples, samplesFromMetricValues(data.Values, resourceLabels(resource, profileID), metricToRuntime)...)
149 + }
150 + return samples
151 +}
152 +
153 +func samplesFromMetricValues(metrics []azmetrics.Metric, labels metrix.Labels, metricToRuntime map[string]*metricRuntime) []metricSample {
154 + samples := make([]metricSample, 0, len(metrics))
155 + for _, metric := range metrics {
156 + runtimeMetric, ok := metricToRuntime[stringsLowerTrim(derefOrZero(metric.Name.Value))]
157 + if !ok {
158 + continue
159 + }
160 + for _, series := range runtimeMetric.Series {
161 + value, found := sumLatestAggregate(metric.TimeSeries, series.Aggregation)
162 + if !found {
163 + continue
164 + }
165 + samples = append(samples, metricSample{
166 + Instrument: series.Instrument,
167 + Kind: series.Kind,
168 + Labels: labels,
169 + Value: value,
170 + })
171 + }
172 + }
173 + return samples
174 +}
175 +
176 +func resourceLabels(resource resourceInfo, profileID string) metrix.Labels {
177 + return metrix.Labels{
178 + "resource_uid": resource.UID,
179 + "resource_name": resource.Name,
180 + "resource_group": resource.ResourceGroup,
181 + "region": resource.Region,
182 + "resource_type": resource.Type,
183 + "profile": profileID,
184 + }
185 +}
186 +
187 +func (e *queryExecutor) getMetricsClient(region string) (metricsQueryClient, error) {
188 + endpoint, err := metricsEndpoint(e.cloudCfg, region)
189 + if err != nil {
190 + return nil, err
191 + }
192 +
193 + e.clientsMu.Lock()
194 + defer e.clientsMu.Unlock()
195 +
196 + if client, ok := e.clients[endpoint]; ok {
197 + return client, nil
198 + }
199 +
200 + client, err := e.newClient(endpoint, e.credential, e.cloudCfg)
201 + if err != nil {
202 + return nil, err
203 + }
204 + e.clients[endpoint] = client
205 + return client, nil
206 +}
207 +
208 +func metricsEndpoint(cfg azcloud.Configuration, region string) (string, error) {
209 + svc, ok := cfg.Services[azmetrics.ServiceName]
210 + if !ok {
211 + return "", errors.New("Azure cloud configuration does not include azmetrics service")
212 + }
213 + audience := stringsTrim(svc.Audience)
214 + if audience == "" {
215 + return "", errors.New("Azure cloud configuration has empty azmetrics audience")
216 + }
217 + u, err := url.Parse(audience)
218 + if err != nil {
219 + return "", err
220 + }
221 +
222 + return "https://" + normalizeRegion(region) + "." + u.Host, nil
223 +}
224 +
225 +func normalizeRegion(region string) string {
226 + region = stringsLowerTrim(region)
227 + if region == "" {
228 + return "global"
229 + }
230 + for i := 0; i < len(region); i++ {
231 + c := region[i]
232 + if (c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || c == '-' {
233 + continue
234 + }
235 + return "global"
236 + }
237 + return region
238 +}
239 +
240 +func sumLatestAggregate(series []azmetrics.TimeSeriesElement, aggregation string) (float64, bool) {
241 + var (
242 + total float64
243 + found bool
244 + )
245 + for _, s := range series {
246 + value, ok := latestAggregateValue(s.Data, aggregation)
247 + if !ok {
248 + continue
249 + }
250 + total += value
251 + found = true
252 + }
253 + return total, found
254 +}
255 +
256 +func latestAggregateValue(values []azmetrics.MetricValue, aggregation string) (float64, bool) {
257 + var (
258 + bestTime time.Time
259 + bestVal float64
260 + hasVal bool
261 + )
262 + for _, value := range values {
263 + current, ok := metricValueForAggregation(value, aggregation)
264 + if !ok {
265 + continue
266 + }
267 + timeValue := derefOrZero(value.TimeStamp)
268 + if !hasVal || timeValue.After(bestTime) {
269 + bestTime = timeValue
270 + bestVal = current
271 + hasVal = true
272 + }
273 + }
274 + return bestVal, hasVal
275 +}
276 +
277 +func metricValueForAggregation(v azmetrics.MetricValue, aggregation string) (float64, bool) {
278 + switch aggregation {
279 + case "average":
280 + if v.Average == nil {
281 + return 0, false
282 + }
283 + return *v.Average, true
284 + case "minimum":
285 + if v.Minimum == nil {
286 + return 0, false
287 + }
288 + return *v.Minimum, true
289 + case "maximum":
290 + if v.Maximum == nil {
291 + return 0, false
292 + }
293 + return *v.Maximum, true
294 + case "total":
295 + if v.Total == nil {
296 + return 0, false
297 + }
298 + return *v.Total, true
299 + case "count":
300 + if v.Count == nil {
301 + return 0, false
302 + }
303 + return *v.Count, true
304 + default:
305 + return 0, false
306 + }
307 +}
308 +
309 +func derefOrZero[T any](v *T) T {
310 + if v == nil {
311 + var zero T
312 + return zero
313 + }
314 + return *v
315 +}
src/go/plugin/go.d/collector/azure_monitor/query_schedule.go new
+134
@@ -0,0 +1,134 @@
1 +// SPDX-License-Identifier: GPL-3.0-or-later
2 +
3 +package azure_monitor
4 +
5 +import (
6 + "slices"
7 + "sort"
8 + "time"
9 +
10 + "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/azure_monitor/azureprofiles"
11 +)
12 +
13 +func (c *Collector) buildQueryBatches(resources []resourceInfo, now time.Time) []queryBatch {
14 + dueByGrain := make(map[string]bool)
15 + resourcesByType := c.indexResourcesByType(resources)
16 + var batches []queryBatch
17 +
18 + for _, profile := range c.runtime.Profiles {
19 + batches = append(batches, c.buildProfileQueryBatches(profile, resourcesByType[stringsLowerTrim(profile.ResourceType)], dueByGrain, now)...)
20 + }
21 +
22 + return batches
23 +}
24 +
25 +func (c *Collector) indexResourcesByType(resources []resourceInfo) map[string][]resourceInfo {
26 + if len(c.discovery.ByType) > 0 {
27 + return c.discovery.ByType
28 + }
29 +
30 + result := make(map[string][]resourceInfo)
31 + for _, resource := range resources {
32 + result[stringsLowerTrim(resource.Type)] = append(result[stringsLowerTrim(resource.Type)], resource)
33 + }
34 + return result
35 +}
36 +
37 +func (c *Collector) buildProfileQueryBatches(profile *profileRuntime, resources []resourceInfo, dueByGrain map[string]bool, now time.Time) []queryBatch {
38 + if len(resources) == 0 {
39 + return nil
40 + }
41 +
42 + metricsByGrain := c.dueMetricsByGrain(profile, dueByGrain, now)
43 + if len(metricsByGrain) == 0 {
44 + return nil
45 + }
46 +
47 + var batches []queryBatch
48 + for grain, metrics := range metricsByGrain {
49 + if len(metrics) == 0 {
50 + continue
51 + }
52 +
53 + for region, regionResources := range groupResourcesByRegion(resources) {
54 + for metricChunk := range slices.Chunk(metrics, c.MaxMetricsPerQuery) {
55 + names := batchMetricNames(metricChunk)
56 + aggregations := batchAggregations(metricChunk)
57 + for resourceChunk := range slices.Chunk(regionResources, c.MaxBatchResources) {
58 + batches = append(batches, queryBatch{
59 + Profile: profile,
60 + Metrics: metricChunk,
61 + MetricNames: append([]string(nil), names...),
62 + Aggregations: append([]string(nil), aggregations...),
63 + TimeGrain: grain,
64 + TimeGrainEvery: azureprofiles.SupportedTimeGrains[grain],
65 + Region: region,
66 + Resources: append([]resourceInfo(nil), resourceChunk...),
67 + })
68 + }
69 + }
70 + }
71 + }
72 +
73 + return batches
74 +}
75 +
76 +func (c *Collector) dueMetricsByGrain(profile *profileRuntime, dueByGrain map[string]bool, now time.Time) map[string][]*metricRuntime {
77 + metricsByGrain := make(map[string][]*metricRuntime)
78 + for _, metric := range profile.Metrics {
79 + due, ok := dueByGrain[metric.TimeGrain]
80 + if !ok {
81 + next, hasNext := c.nextCollectByGrain[metric.TimeGrain]
82 + due = !hasNext || !now.Before(next)
83 + dueByGrain[metric.TimeGrain] = due
84 + if due {
85 + c.nextCollectByGrain[metric.TimeGrain] = now.Add(metric.TimeGrainEvery)
86 + }
87 + }
88 + if !due {
89 + continue
90 + }
91 + metricsByGrain[metric.TimeGrain] = append(metricsByGrain[metric.TimeGrain], metric)
92 + }
93 + return metricsByGrain
94 +}
95 +
96 +func batchMetricNames(metrics []*metricRuntime) []string {
97 + names := make([]string, 0, len(metrics))
98 + for _, metric := range metrics {
99 + names = append(names, metric.AzureName)
100 + }
101 + return names
102 +}
103 +
104 +func batchAggregations(metrics []*metricRuntime) []string {
105 + seen := make(map[string]struct{})
106 + list := make([]string, 0)
107 + for _, metric := range metrics {
108 + for _, series := range metric.Series {
109 + if _, ok := seen[series.Aggregation]; ok {
110 + continue
111 + }
112 + seen[series.Aggregation] = struct{}{}
113 + list = append(list, series.Aggregation)
114 + }
115 + }
116 + sort.Strings(list)
117 + return list
118 +}
119 +
120 +func groupResourcesByRegion(resources []resourceInfo) map[string][]resourceInfo {
121 + result := make(map[string][]resourceInfo)
122 + for _, r := range resources {
123 + region := normalizeRegion(r.Region)
124 + result[region] = append(result[region], r)
125 + }
126 + return result
127 +}
128 +
129 +func secondsToDuration(seconds int) time.Duration {
130 + if seconds <= 0 {
131 + return 0
132 + }
133 + return time.Duration(seconds) * time.Second
134 +}
src/go/plugin/go.d/collector/azure_monitor/testdata/config.json new
+27
@@ -0,0 +1,27 @@
1 +{
2 + "update_every": 60,
3 + "autodetection_retry": 0,
4 + "subscription_id": "sub-1",
5 + "cloud": "public",
6 + "discovery_every": 300,
7 + "query_offset": 180,
8 + "timeout": 30,
9 + "max_concurrency": 4,
10 + "max_batch_resources": 50,
11 + "max_metrics_per_query": 20,
12 + "profiles": [
13 + "sql_managed_instance"
14 + ],
15 + "resource_groups": [
16 + "rg-a"
17 + ],
18 + "auth": {
19 + "mode": "service_principal",
20 + "mode_service_principal": {
21 + "tenant_id": "11111111-1111-1111-1111-111111111111",
22 + "client_id": "22222222-2222-2222-2222-222222222222",
23 + "client_secret": "secret"
24 + }
25 + },
26 + "vnode": ""
27 +}
src/go/plugin/go.d/collector/azure_monitor/testdata/config.yaml new
+19
@@ -0,0 +1,19 @@
1 +update_every: 60
2 +subscription_id: sub-1
3 +cloud: public
4 +discovery_every: 300
5 +query_offset: 180
6 +timeout: 30
7 +max_concurrency: 4
8 +max_batch_resources: 50
9 +max_metrics_per_query: 20
10 +profiles:
11 + - sql_managed_instance
12 +resource_groups:
13 + - rg-a
14 +auth:
15 + mode: service_principal
16 + mode_service_principal:
17 + tenant_id: 11111111-1111-1111-1111-111111111111
18 + client_id: 22222222-2222-2222-2222-222222222222
19 + client_secret: secret
src/go/plugin/go.d/collector/init.go
+1
@@ -8,6 +8,7 @@ import (
8 _ "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/ap"
9 _ "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/apache"
10 _ "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/apcupsd"
11 + _ "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/azure_monitor"
12 // _ "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/as400" // Moved to ibm.d.plugin (requires CGO)
13 _ "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/beanstalk"
14 _ "github.com/netdata/netdata/go/plugins/plugin/go.d/collector/bind"
src/go/plugin/go.d/collector/mssql/metadata.yaml
+19 -18
@@ -156,6 +156,7 @@ modules:
156 group: Cloud Auth
157 - name: cloud_auth.azure_ad.mode
158 description: Azure AD credential mode (`service_principal`, `managed_identity`, or `default`). Required when `cloud_auth.provider` is `azure_ad`.
159 + default_value: ""
160 required: true
161 group: Cloud Auth/Azure
162 - name: cloud_auth.azure_ad.mode_service_principal.tenant_id
@@ -281,27 +282,27 @@ modules:
282 - name: Azure SQL with service principal
283 description: Use Microsoft Entra service principal authentication for Azure SQL.
284 config: |
284 - jobs:
285 - - name: azure_sql_sp
286 - dsn: "sqlserver://my-server.database.windows.net:1433?database=mydb"
287 - cloud_auth:
288 - provider: azure_ad
289 - azure_ad:
290 - mode: service_principal
291 - mode_service_principal:
292 - tenant_id: "00000000-0000-0000-0000-000000000000"
293 - client_id: "11111111-1111-1111-1111-111111111111"
294 - client_secret: "super-secret-value"
285 + jobs:
286 + - name: azure_sql_sp
287 + dsn: "sqlserver://my-server.database.windows.net:1433?database=mydb"
288 + cloud_auth:
289 + provider: azure_ad
290 + azure_ad:
291 + mode: service_principal
292 + mode_service_principal:
293 + tenant_id: "00000000-0000-0000-0000-000000000000"
294 + client_id: "11111111-1111-1111-1111-111111111111"
295 + client_secret: "super-secret-value"
296 - name: Azure SQL with managed identity
297 description: Use managed identity authentication (system-assigned by default).
298 config: |
298 - jobs:
299 - - name: azure_sql_mi
300 - dsn: "sqlserver://my-server.database.windows.net:1433?database=mydb"
301 - cloud_auth:
302 - provider: azure_ad
303 - azure_ad:
304 - mode: managed_identity
299 + jobs:
300 + - name: azure_sql_mi
301 + dsn: "sqlserver://my-server.database.windows.net:1433?database=mydb"
302 + cloud_auth:
303 + provider: azure_ad
304 + azure_ad:
305 + mode: managed_identity
306 - name: Multi-instance
307 description: |
308 > **Note**: When you define multiple jobs, their names must be unique.
src/go/plugin/go.d/collector/postgres/metadata.yaml
+19 -18
@@ -104,6 +104,7 @@ modules:
104 group: Cloud Auth
105 - name: cloud_auth.azure_ad.mode
106 description: Azure AD credential mode (`service_principal`, `managed_identity`, or `default`). Required when `cloud_auth.provider` is `azure_ad`.
107 + default_value: ""
108 required: true
109 group: Cloud Auth/Azure
110 - name: cloud_auth.azure_ad.mode_service_principal.tenant_id
@@ -198,27 +199,27 @@ modules:
199 - name: Azure Database for PostgreSQL with service principal
200 description: Use Microsoft Entra service principal authentication.
201 config: |
201 - jobs:
202 - - name: azure_postgres_sp
203 - dsn: 'postgresql://netdata@myserver.postgres.database.azure.com:5432/postgres?sslmode=require'
204 - cloud_auth:
205 - provider: azure_ad
206 - azure_ad:
207 - mode: service_principal
208 - mode_service_principal:
209 - tenant_id: "00000000-0000-0000-0000-000000000000"
210 - client_id: "11111111-1111-1111-1111-111111111111"
211 - client_secret: "super-secret-value"
202 + jobs:
203 + - name: azure_postgres_sp
204 + dsn: 'postgresql://netdata@myserver.postgres.database.azure.com:5432/postgres?sslmode=require'
205 + cloud_auth:
206 + provider: azure_ad
207 + azure_ad:
208 + mode: service_principal
209 + mode_service_principal:
210 + tenant_id: "00000000-0000-0000-0000-000000000000"
211 + client_id: "11111111-1111-1111-1111-111111111111"
212 + client_secret: "super-secret-value"
213 - name: Azure Database for PostgreSQL with managed identity
214 description: Use managed identity authentication (system-assigned by default).
215 config: |
215 - jobs:
216 - - name: azure_postgres_mi
217 - dsn: 'postgresql://netdata@myserver.postgres.database.azure.com:5432/postgres?sslmode=require'
218 - cloud_auth:
219 - provider: azure_ad
220 - azure_ad:
221 - mode: managed_identity
216 + jobs:
217 + - name: azure_postgres_mi
218 + dsn: 'postgresql://netdata@myserver.postgres.database.azure.com:5432/postgres?sslmode=require'
219 + cloud_auth:
220 + provider: azure_ad
221 + azure_ad:
222 + mode: managed_identity
223 - name: Multi-instance
224 description: |
225 > **Note**: When you define multiple jobs, their names must be unique.
src/go/plugin/go.d/collector/sql/metadata.yaml
+1
@@ -281,6 +281,7 @@ modules:
281 group: Cloud Auth
282 - name: cloud_auth.azure_ad.mode
283 description: Azure AD credential mode (`service_principal`, `managed_identity`, or `default`). Required when `cloud_auth.provider` is `azure_ad`.
284 + default_value: ""
285 required: true
286 group: Cloud Auth/Azure
287 - name: cloud_auth.azure_ad.mode_service_principal.tenant_id
src/go/plugin/go.d/config/go.d.conf
+1
@@ -20,6 +20,7 @@ modules:
20 # ap: yes
21 # apache: yes
22 # apcupsd: yes
23 +# azure_monitor: yes
24 # beanstalk: yes
25 # bind: yes
26 # boinc: yes
src/go/plugin/go.d/config/go.d/azure_monitor.conf new
+24
@@ -0,0 +1,24 @@
1 +## All available configuration options, their descriptions and default values:
2 +## https://github.com/netdata/netdata/tree/master/src/go/plugin/go.d/collector/azure_monitor#readme
3 +##
4 +## Profile files:
5 +## stock: /usr/lib/netdata/conf.d/go.d/azure_monitor.profiles/default/
6 +## user: /etc/netdata/go.d/azure_monitor.profiles/
7 +## User profile files override stock files when profile `id` matches.
8 +## Filenames are packaging only; matching filename == profile id is recommended.
9 +## The default profile catalog is loaded once per go.d process and cached after the first successful load.
10 +## Changes to profile files under those default dirs require a go.d process restart to take effect.
11 +## `auto` resolves matching profiles once during collector initialization.
12 +
13 +#jobs:
14 +# - name: example
15 +# subscription_id: "<subscription-id>"
16 +# timeout: 30
17 +# profiles:
18 +# - auto
19 +# auth:
20 +# mode: service_principal
21 +# mode_service_principal:
22 +# tenant_id: "<tenant-id>"
23 +# client_id: "<client-id>"
24 +# client_secret: "<client-secret>"
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/aks.yaml new
+459
@@ -0,0 +1,459 @@
1 +---
2 +id: aks
3 +name: Azure Kubernetes Service Cluster
4 +resource_type: Microsoft.ContainerService/managedClusters
5 +metrics:
6 +- id: apiserver_cpu_usage_percentage
7 + azure_name: apiserver_cpu_usage_percentage
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 + - aggregation: maximum
13 + kind: gauge
14 +- id: apiserver_memory_usage_percentage
15 + azure_name: apiserver_memory_usage_percentage
16 + time_grain: PT1M
17 + series:
18 + - aggregation: average
19 + kind: gauge
20 + - aggregation: maximum
21 + kind: gauge
22 +- id: apiserver_current_inflight_requests
23 + azure_name: apiserver_current_inflight_requests
24 + time_grain: PT1M
25 + series:
26 + - aggregation: average
27 + kind: gauge
28 +- id: etcd_cpu_usage_percentage
29 + azure_name: etcd_cpu_usage_percentage
30 + time_grain: PT1M
31 + series:
32 + - aggregation: average
33 + kind: gauge
34 + - aggregation: maximum
35 + kind: gauge
36 +- id: etcd_memory_usage_percentage
37 + azure_name: etcd_memory_usage_percentage
38 + time_grain: PT1M
39 + series:
40 + - aggregation: average
41 + kind: gauge
42 + - aggregation: maximum
43 + kind: gauge
44 +- id: etcd_database_usage_percentage
45 + azure_name: etcd_database_usage_percentage
46 + time_grain: PT1M
47 + series:
48 + - aggregation: average
49 + kind: gauge
50 + - aggregation: maximum
51 + kind: gauge
52 +- id: kube_pod_status_phase
53 + azure_name: kube_pod_status_phase
54 + time_grain: PT1M
55 + series:
56 + - aggregation: average
57 + kind: gauge
58 +- id: kube_pod_status_ready
59 + azure_name: kube_pod_status_ready
60 + time_grain: PT1M
61 + series:
62 + - aggregation: average
63 + kind: gauge
64 +- id: kube_node_status_allocatable_cpu_cores
65 + azure_name: kube_node_status_allocatable_cpu_cores
66 + time_grain: PT1M
67 + series:
68 + - aggregation: average
69 + kind: gauge
70 +- id: kube_node_status_allocatable_memory_bytes
71 + azure_name: kube_node_status_allocatable_memory_bytes
72 + time_grain: PT1M
73 + series:
74 + - aggregation: average
75 + kind: gauge
76 +- id: kube_node_status_condition
77 + azure_name: kube_node_status_condition
78 + time_grain: PT1M
79 + series:
80 + - aggregation: average
81 + kind: gauge
82 +- id: cluster_autoscaler_cluster_safe_to_autoscale
83 + azure_name: cluster_autoscaler_cluster_safe_to_autoscale
84 + time_grain: PT5M
85 + series:
86 + - aggregation: average
87 + kind: gauge
88 +- id: cluster_autoscaler_unschedulable_pods_count
89 + azure_name: cluster_autoscaler_unschedulable_pods_count
90 + time_grain: PT5M
91 + series:
92 + - aggregation: average
93 + kind: gauge
94 +- id: cluster_autoscaler_unneeded_nodes_count
95 + azure_name: cluster_autoscaler_unneeded_nodes_count
96 + time_grain: PT5M
97 + series:
98 + - aggregation: average
99 + kind: gauge
100 +- id: cluster_autoscaler_scale_down_in_cooldown
101 + azure_name: cluster_autoscaler_scale_down_in_cooldown
102 + time_grain: PT5M
103 + series:
104 + - aggregation: average
105 + kind: gauge
106 +- id: node_cpu_usage_millicores
107 + azure_name: node_cpu_usage_millicores
108 + time_grain: PT1M
109 + series:
110 + - aggregation: average
111 + kind: gauge
112 + - aggregation: maximum
113 + kind: gauge
114 +- id: node_cpu_usage_percentage
115 + azure_name: node_cpu_usage_percentage
116 + time_grain: PT1M
117 + series:
118 + - aggregation: average
119 + kind: gauge
120 + - aggregation: maximum
121 + kind: gauge
122 +- id: node_memory_working_set_bytes
123 + azure_name: node_memory_working_set_bytes
124 + time_grain: PT1M
125 + series:
126 + - aggregation: average
127 + kind: gauge
128 + - aggregation: maximum
129 + kind: gauge
130 +- id: node_memory_working_set_percentage
131 + azure_name: node_memory_working_set_percentage
132 + time_grain: PT1M
133 + series:
134 + - aggregation: average
135 + kind: gauge
136 + - aggregation: maximum
137 + kind: gauge
138 +- id: node_memory_rss_bytes
139 + azure_name: node_memory_rss_bytes
140 + time_grain: PT1M
141 + series:
142 + - aggregation: average
143 + kind: gauge
144 + - aggregation: maximum
145 + kind: gauge
146 +- id: node_memory_rss_percentage
147 + azure_name: node_memory_rss_percentage
148 + time_grain: PT1M
149 + series:
150 + - aggregation: average
151 + kind: gauge
152 + - aggregation: maximum
153 + kind: gauge
154 +- id: node_disk_usage_bytes
155 + azure_name: node_disk_usage_bytes
156 + time_grain: PT1M
157 + series:
158 + - aggregation: average
159 + kind: gauge
160 + - aggregation: maximum
161 + kind: gauge
162 +- id: node_disk_usage_percentage
163 + azure_name: node_disk_usage_percentage
164 + time_grain: PT1M
165 + series:
166 + - aggregation: average
167 + kind: gauge
168 + - aggregation: maximum
169 + kind: gauge
170 +- id: node_network_in_bytes
171 + azure_name: node_network_in_bytes
172 + time_grain: PT1M
173 + series:
174 + - aggregation: average
175 + kind: gauge
176 + - aggregation: maximum
177 + kind: gauge
178 +- id: node_network_out_bytes
179 + azure_name: node_network_out_bytes
180 + time_grain: PT1M
181 + series:
182 + - aggregation: average
183 + kind: gauge
184 + - aggregation: maximum
185 + kind: gauge
186 +template:
187 + family: Azure Kubernetes Service Cluster
188 + context_namespace: aks
189 + chart_defaults:
190 + label_promotion:
191 + - resource_name
192 + - resource_group
193 + - region
194 + - resource_type
195 + - profile
196 + instances:
197 + by_labels:
198 + - resource_uid
199 + charts:
200 + - id: am_azure_aks__apiserver_cpu
201 + title: AKS API Server CPU Utilization
202 + context: apiserver_cpu
203 + family: API Server
204 + type: line
205 + units: percentage
206 + algorithm: absolute
207 + dimensions:
208 + - selector: aks.apiserver_cpu_usage_percentage_average
209 + name: average
210 + - selector: aks.apiserver_cpu_usage_percentage_maximum
211 + name: maximum
212 + - id: am_azure_aks__apiserver_memory
213 + title: AKS API Server Memory Utilization
214 + context: apiserver_memory
215 + family: API Server
216 + type: line
217 + units: percentage
218 + algorithm: absolute
219 + dimensions:
220 + - selector: aks.apiserver_memory_usage_percentage_average
221 + name: average
222 + - selector: aks.apiserver_memory_usage_percentage_maximum
223 + name: maximum
224 + - id: am_azure_aks__apiserver_inflight_requests
225 + title: AKS API Server Inflight Requests
226 + context: apiserver_inflight_requests
227 + family: API Server
228 + type: line
229 + units: requests
230 + algorithm: absolute
231 + dimensions:
232 + - selector: aks.apiserver_current_inflight_requests_average
233 + name: average
234 + - id: am_azure_aks__etcd_cpu
235 + title: AKS etcd CPU Utilization
236 + context: etcd_cpu
237 + family: Control Plane
238 + type: line
239 + units: percentage
240 + algorithm: absolute
241 + dimensions:
242 + - selector: aks.etcd_cpu_usage_percentage_average
243 + name: average
244 + - selector: aks.etcd_cpu_usage_percentage_maximum
245 + name: maximum
246 + - id: am_azure_aks__etcd_memory
247 + title: AKS etcd Memory Utilization
248 + context: etcd_memory
249 + family: Control Plane
250 + type: line
251 + units: percentage
252 + algorithm: absolute
253 + dimensions:
254 + - selector: aks.etcd_memory_usage_percentage_average
255 + name: average
256 + - selector: aks.etcd_memory_usage_percentage_maximum
257 + name: maximum
258 + - id: am_azure_aks__etcd_database
259 + title: AKS etcd Database Utilization
260 + context: etcd_database
261 + family: Control Plane
262 + type: line
263 + units: percentage
264 + algorithm: absolute
265 + dimensions:
266 + - selector: aks.etcd_database_usage_percentage_average
267 + name: average
268 + - selector: aks.etcd_database_usage_percentage_maximum
269 + name: maximum
270 + - id: am_azure_aks__pod_status_phase
271 + title: AKS Pods by Phase
272 + context: pod_status_phase
273 + family: Pods
274 + type: line
275 + units: pods
276 + algorithm: absolute
277 + dimensions:
278 + - selector: aks.kube_pod_status_phase_average
279 + name: average
280 + - id: am_azure_aks__pod_status_ready
281 + title: AKS Pods in Ready State
282 + context: pod_status_ready
283 + family: Pods
284 + type: line
285 + units: pods
286 + algorithm: absolute
287 + dimensions:
288 + - selector: aks.kube_pod_status_ready_average
289 + name: average
290 + - id: am_azure_aks__allocatable_cpu
291 + title: AKS Allocatable CPU Cores
292 + context: allocatable_cpu
293 + family: Capacity
294 + type: line
295 + units: cores
296 + algorithm: absolute
297 + dimensions:
298 + - selector: aks.kube_node_status_allocatable_cpu_cores_average
299 + name: average
300 + - id: am_azure_aks__allocatable_memory
301 + title: AKS Allocatable Memory
302 + context: allocatable_memory
303 + family: Capacity
304 + type: line
305 + units: bytes
306 + algorithm: absolute
307 + dimensions:
308 + - selector: aks.kube_node_status_allocatable_memory_bytes_average
309 + name: average
310 + - id: am_azure_aks__node_conditions
311 + title: AKS Node Conditions
312 + context: node_conditions
313 + family: Capacity
314 + type: line
315 + units: nodes
316 + algorithm: absolute
317 + dimensions:
318 + - selector: aks.kube_node_status_condition_average
319 + name: average
320 + - id: am_azure_aks__autoscaler_health
321 + title: AKS Cluster Autoscaler Health
322 + context: autoscaler_health
323 + family: Autoscaler
324 + type: line
325 + units: state
326 + algorithm: absolute
327 + dimensions:
328 + - selector: aks.cluster_autoscaler_cluster_safe_to_autoscale_average
329 + name: safe_to_autoscale
330 + - selector: aks.cluster_autoscaler_scale_down_in_cooldown_average
331 + name: cooldown
332 + - id: am_azure_aks__autoscaler_unschedulable_pods
333 + title: AKS Autoscaler Unschedulable Pods
334 + context: autoscaler_unschedulable_pods
335 + family: Autoscaler
336 + type: line
337 + units: pods
338 + algorithm: absolute
339 + dimensions:
340 + - selector: aks.cluster_autoscaler_unschedulable_pods_count_average
341 + name: average
342 + - id: am_azure_aks__autoscaler_unneeded_nodes
343 + title: AKS Autoscaler Unneeded Nodes
344 + context: autoscaler_unneeded_nodes
345 + family: Autoscaler
346 + type: line
347 + units: nodes
348 + algorithm: absolute
349 + dimensions:
350 + - selector: aks.cluster_autoscaler_unneeded_nodes_count_average
351 + name: average
352 + - id: am_azure_aks__node_cpu_millicores
353 + title: AKS Node CPU Usage
354 + context: node_cpu_millicores
355 + family: Nodes
356 + type: line
357 + units: millicores
358 + algorithm: absolute
359 + dimensions:
360 + - selector: aks.node_cpu_usage_millicores_average
361 + name: average
362 + - selector: aks.node_cpu_usage_millicores_maximum
363 + name: maximum
364 + - id: am_azure_aks__node_cpu_percentage
365 + title: AKS Node CPU Percentage
366 + context: node_cpu_percentage
367 + family: Nodes
368 + type: line
369 + units: percentage
370 + algorithm: absolute
371 + dimensions:
372 + - selector: aks.node_cpu_usage_percentage_average
373 + name: average
374 + - selector: aks.node_cpu_usage_percentage_maximum
375 + name: maximum
376 + - id: am_azure_aks__node_memory_working_set
377 + title: AKS Node Memory Working Set
378 + context: node_memory_working_set
379 + family: Nodes
380 + type: line
381 + units: bytes
382 + algorithm: absolute
383 + dimensions:
384 + - selector: aks.node_memory_working_set_bytes_average
385 + name: average
386 + - selector: aks.node_memory_working_set_bytes_maximum
387 + name: maximum
388 + - id: am_azure_aks__node_memory_working_set_percentage
389 + title: AKS Node Memory Working Set Percentage
390 + context: node_memory_working_set_percentage
391 + family: Nodes
392 + type: line
393 + units: percentage
394 + algorithm: absolute
395 + dimensions:
396 + - selector: aks.node_memory_working_set_percentage_average
397 + name: average
398 + - selector: aks.node_memory_working_set_percentage_maximum
399 + name: maximum
400 + - id: am_azure_aks__node_memory_rss
401 + title: AKS Node Memory RSS
402 + context: node_memory_rss
403 + family: Nodes
404 + type: line
405 + units: bytes
406 + algorithm: absolute
407 + dimensions:
408 + - selector: aks.node_memory_rss_bytes_average
409 + name: average
410 + - selector: aks.node_memory_rss_bytes_maximum
411 + name: maximum
412 + - id: am_azure_aks__node_memory_rss_percentage
413 + title: AKS Node Memory RSS Percentage
414 + context: node_memory_rss_percentage
415 + family: Nodes
416 + type: line
417 + units: percentage
418 + algorithm: absolute
419 + dimensions:
420 + - selector: aks.node_memory_rss_percentage_average
421 + name: average
422 + - selector: aks.node_memory_rss_percentage_maximum
423 + name: maximum
424 + - id: am_azure_aks__node_disk_usage
425 + title: AKS Node Disk Usage
426 + context: node_disk_usage
427 + family: Nodes
428 + type: line
429 + units: bytes
430 + algorithm: absolute
431 + dimensions:
432 + - selector: aks.node_disk_usage_bytes_average
433 + name: average
434 + - selector: aks.node_disk_usage_bytes_maximum
435 + name: maximum
436 + - id: am_azure_aks__node_disk_percentage
437 + title: AKS Node Disk Usage Percentage
438 + context: node_disk_percentage
439 + family: Nodes
440 + type: line
441 + units: percentage
442 + algorithm: absolute
443 + dimensions:
444 + - selector: aks.node_disk_usage_percentage_average
445 + name: average
446 + - selector: aks.node_disk_usage_percentage_maximum
447 + name: maximum
448 + - id: am_azure_aks__node_network
449 + title: AKS Node Network Traffic
450 + context: node_network
451 + family: Network
452 + type: line
453 + units: bytes
454 + algorithm: absolute
455 + dimensions:
456 + - selector: aks.node_network_in_bytes_average
457 + name: in
458 + - selector: aks.node_network_out_bytes_average
459 + name: out
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/api_management.yaml new
+235
@@ -0,0 +1,235 @@
1 +---
2 +id: api_management
3 +name: Azure API Management
4 +resource_type: Microsoft.ApiManagement/service
5 +metrics:
6 +- id: capacity
7 + azure_name: Capacity
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: cpu_percent_gateway
13 + azure_name: CpuPercent_Gateway
14 + time_grain: PT1M
15 + series:
16 + - aggregation: average
17 + kind: gauge
18 +- id: memory_percent_gateway
19 + azure_name: MemoryPercent_Gateway
20 + time_grain: PT1M
21 + series:
22 + - aggregation: average
23 + kind: gauge
24 +- id: requests
25 + azure_name: Requests
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: backend_duration
31 + azure_name: BackendDuration
32 + time_grain: PT1M
33 + series:
34 + - aggregation: average
35 + kind: gauge
36 +- id: duration
37 + azure_name: Duration
38 + time_grain: PT1M
39 + series:
40 + - aggregation: average
41 + kind: gauge
42 +- id: event_hub_total_events
43 + azure_name: EventHubTotalEvents
44 + time_grain: PT1M
45 + series:
46 + - aggregation: total
47 + kind: counter
48 +- id: event_hub_successful_events
49 + azure_name: EventHubSuccessfulEvents
50 + time_grain: PT1M
51 + series:
52 + - aggregation: total
53 + kind: counter
54 +- id: event_hub_total_failed_events
55 + azure_name: EventHubTotalFailedEvents
56 + time_grain: PT1M
57 + series:
58 + - aggregation: total
59 + kind: counter
60 +- id: event_hub_dropped_events
61 + azure_name: EventHubDroppedEvents
62 + time_grain: PT1M
63 + series:
64 + - aggregation: total
65 + kind: counter
66 +- id: event_hub_rejected_events
67 + azure_name: EventHubRejectedEvents
68 + time_grain: PT1M
69 + series:
70 + - aggregation: total
71 + kind: counter
72 +- id: event_hub_throttled_events
73 + azure_name: EventHubThrottledEvents
74 + time_grain: PT1M
75 + series:
76 + - aggregation: total
77 + kind: counter
78 +- id: event_hub_timedout_events
79 + azure_name: EventHubTimedoutEvents
80 + time_grain: PT1M
81 + series:
82 + - aggregation: total
83 + kind: counter
84 +- id: event_hub_total_bytes_sent
85 + azure_name: EventHubTotalBytesSent
86 + time_grain: PT1M
87 + series:
88 + - aggregation: total
89 + kind: counter
90 +- id: connection_attempts
91 + azure_name: ConnectionAttempts
92 + time_grain: PT1M
93 + series:
94 + - aggregation: total
95 + kind: counter
96 +- id: web_socket_messages
97 + azure_name: WebSocketMessages
98 + time_grain: PT1M
99 + series:
100 + - aggregation: total
101 + kind: counter
102 +- id: network_connectivity
103 + azure_name: NetworkConnectivity
104 + time_grain: PT1M
105 + series:
106 + - aggregation: average
107 + kind: gauge
108 +template:
109 + family: Azure API Management
110 + context_namespace: api_management
111 + chart_defaults:
112 + label_promotion:
113 + - resource_name
114 + - resource_group
115 + - region
116 + - resource_type
117 + - profile
118 + instances:
119 + by_labels:
120 + - resource_uid
121 + charts:
122 + - id: am_azure_api_management__capacity
123 + title: Azure API Management Capacity Utilization
124 + context: capacity
125 + family: Capacity
126 + type: line
127 + units: percentage
128 + algorithm: absolute
129 + dimensions:
130 + - selector: api_management.capacity_average
131 + name: capacity
132 + - id: am_azure_api_management__gateway_cpu
133 + title: Azure API Management Gateway CPU
134 + context: gateway_cpu
135 + family: Capacity
136 + type: line
137 + units: percentage
138 + algorithm: absolute
139 + dimensions:
140 + - selector: api_management.cpu_percent_gateway_average
141 + name: cpu
142 + - id: am_azure_api_management__gateway_memory
143 + title: Azure API Management Gateway Memory
144 + context: gateway_memory
145 + family: Capacity
146 + type: line
147 + units: percentage
148 + algorithm: absolute
149 + dimensions:
150 + - selector: api_management.memory_percent_gateway_average
151 + name: memory
152 + - id: am_azure_api_management__requests
153 + title: Azure API Management Gateway Requests
154 + context: requests
155 + family: Requests
156 + type: line
157 + units: requests/s
158 + algorithm: incremental
159 + dimensions:
160 + - selector: api_management.requests_total
161 + name: requests
162 + - id: am_azure_api_management__request_duration
163 + title: Azure API Management Request Duration
164 + context: request_duration
165 + family: Requests
166 + type: line
167 + units: milliseconds
168 + algorithm: absolute
169 + dimensions:
170 + - selector: api_management.duration_average
171 + name: overall
172 + - selector: api_management.backend_duration_average
173 + name: backend
174 + - id: am_azure_api_management__eventhub_events
175 + title: Azure API Management EventHub Events
176 + context: eventhub_events
177 + family: EventHub
178 + type: line
179 + units: events/s
180 + algorithm: incremental
181 + dimensions:
182 + - selector: api_management.event_hub_total_events_total
183 + name: total
184 + - selector: api_management.event_hub_successful_events_total
185 + name: successful
186 + - selector: api_management.event_hub_total_failed_events_total
187 + name: failed
188 + - selector: api_management.event_hub_dropped_events_total
189 + name: dropped
190 + - selector: api_management.event_hub_rejected_events_total
191 + name: rejected
192 + - selector: api_management.event_hub_throttled_events_total
193 + name: throttled
194 + - selector: api_management.event_hub_timedout_events_total
195 + name: timed_out
196 + - id: am_azure_api_management__eventhub_bytes
197 + title: Azure API Management EventHub Bytes Sent
198 + context: eventhub_bytes
199 + family: EventHub
200 + type: line
201 + units: bytes/s
202 + algorithm: incremental
203 + dimensions:
204 + - selector: api_management.event_hub_total_bytes_sent_total
205 + name: sent
206 + - id: am_azure_api_management__websocket_connections
207 + title: Azure API Management WebSocket Connection Attempts
208 + context: websocket_connections
209 + family: WebSocket
210 + type: line
211 + units: attempts/s
212 + algorithm: incremental
213 + dimensions:
214 + - selector: api_management.connection_attempts_total
215 + name: connection_attempts
216 + - id: am_azure_api_management__websocket_messages
217 + title: Azure API Management WebSocket Messages
218 + context: websocket_messages
219 + family: WebSocket
220 + type: line
221 + units: messages/s
222 + algorithm: incremental
223 + dimensions:
224 + - selector: api_management.web_socket_messages_total
225 + name: messages
226 + - id: am_azure_api_management__network_connectivity
227 + title: Azure API Management Network Connectivity Status
228 + context: network_connectivity
229 + family: Network
230 + type: line
231 + units: status
232 + algorithm: absolute
233 + dimensions:
234 + - selector: api_management.network_connectivity_average
235 + name: connectivity
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/app_service.yaml new
+571
@@ -0,0 +1,571 @@
1 +---
2 +id: app_service
3 +name: Azure App Service
4 +resource_type: Microsoft.Web/sites
5 +metrics:
6 +- id: requests
7 + azure_name: Requests
8 + time_grain: PT1M
9 + series:
10 + - aggregation: total
11 + kind: counter
12 +- id: http_response_time
13 + azure_name: HttpResponseTime
14 + time_grain: PT1M
15 + series:
16 + - aggregation: average
17 + kind: gauge
18 +- id: http2xx
19 + azure_name: Http2xx
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: counter
24 +- id: http3xx
25 + azure_name: Http3xx
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: http4xx
31 + azure_name: Http4xx
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: counter
36 +- id: http5xx
37 + azure_name: Http5xx
38 + time_grain: PT1M
39 + series:
40 + - aggregation: total
41 + kind: counter
42 +- id: cpu_percentage
43 + azure_name: CpuPercentage
44 + time_grain: PT1M
45 + series:
46 + - aggregation: average
47 + kind: gauge
48 +- id: cpu_time
49 + azure_name: CpuTime
50 + time_grain: PT1M
51 + series:
52 + - aggregation: total
53 + kind: counter
54 +- id: average_memory_working_set
55 + azure_name: AverageMemoryWorkingSet
56 + time_grain: PT1M
57 + series:
58 + - aggregation: average
59 + kind: gauge
60 +- id: memory_working_set
61 + azure_name: MemoryWorkingSet
62 + time_grain: PT1M
63 + series:
64 + - aggregation: average
65 + kind: gauge
66 +- id: private_bytes
67 + azure_name: PrivateBytes
68 + time_grain: PT1M
69 + series:
70 + - aggregation: average
71 + kind: gauge
72 +- id: bytes_received
73 + azure_name: BytesReceived
74 + time_grain: PT1M
75 + series:
76 + - aggregation: total
77 + kind: counter
78 +- id: bytes_sent
79 + azure_name: BytesSent
80 + time_grain: PT1M
81 + series:
82 + - aggregation: total
83 + kind: counter
84 +- id: health_check_status
85 + azure_name: HealthCheckStatus
86 + time_grain: PT5M
87 + series:
88 + - aggregation: average
89 + kind: gauge
90 +- id: app_connections
91 + azure_name: AppConnections
92 + time_grain: PT1M
93 + series:
94 + - aggregation: average
95 + kind: gauge
96 +- id: io_read_bytes_per_second
97 + azure_name: IoReadBytesPerSecond
98 + time_grain: PT1M
99 + series:
100 + - aggregation: total
101 + kind: counter
102 +- id: io_write_bytes_per_second
103 + azure_name: IoWriteBytesPerSecond
104 + time_grain: PT1M
105 + series:
106 + - aggregation: total
107 + kind: counter
108 +- id: io_read_operations_per_second
109 + azure_name: IoReadOperationsPerSecond
110 + time_grain: PT1M
111 + series:
112 + - aggregation: total
113 + kind: counter
114 +- id: io_write_operations_per_second
115 + azure_name: IoWriteOperationsPerSecond
116 + time_grain: PT1M
117 + series:
118 + - aggregation: total
119 + kind: counter
120 +- id: io_other_bytes_per_second
121 + azure_name: IoOtherBytesPerSecond
122 + time_grain: PT1M
123 + series:
124 + - aggregation: total
125 + kind: counter
126 +- id: io_other_operations_per_second
127 + azure_name: IoOtherOperationsPerSecond
128 + time_grain: PT1M
129 + series:
130 + - aggregation: total
131 + kind: counter
132 +- id: threads
133 + azure_name: Threads
134 + time_grain: PT1M
135 + series:
136 + - aggregation: average
137 + kind: gauge
138 +- id: handles
139 + azure_name: Handles
140 + time_grain: PT1M
141 + series:
142 + - aggregation: average
143 + kind: gauge
144 +- id: gen0_collections
145 + azure_name: Gen0Collections
146 + time_grain: PT1M
147 + series:
148 + - aggregation: total
149 + kind: counter
150 +- id: gen1_collections
151 + azure_name: Gen1Collections
152 + time_grain: PT1M
153 + series:
154 + - aggregation: total
155 + kind: counter
156 +- id: gen2_collections
157 + azure_name: Gen2Collections
158 + time_grain: PT1M
159 + series:
160 + - aggregation: total
161 + kind: counter
162 +- id: http101
163 + azure_name: Http101
164 + time_grain: PT1M
165 + series:
166 + - aggregation: total
167 + kind: counter
168 +- id: http401
169 + azure_name: Http401
170 + time_grain: PT1M
171 + series:
172 + - aggregation: total
173 + kind: counter
174 +- id: http403
175 + azure_name: Http403
176 + time_grain: PT1M
177 + series:
178 + - aggregation: total
179 + kind: counter
180 +- id: http404
181 + azure_name: Http404
182 + time_grain: PT1M
183 + series:
184 + - aggregation: total
185 + kind: counter
186 +- id: http406
187 + azure_name: Http406
188 + time_grain: PT1M
189 + series:
190 + - aggregation: total
191 + kind: counter
192 +- id: requests_in_application_queue
193 + azure_name: RequestsInApplicationQueue
194 + time_grain: PT1M
195 + series:
196 + - aggregation: average
197 + kind: gauge
198 +- id: instance_count
199 + azure_name: InstanceCount
200 + time_grain: PT1M
201 + series:
202 + - aggregation: average
203 + kind: gauge
204 +- id: current_assemblies
205 + azure_name: CurrentAssemblies
206 + time_grain: PT1M
207 + series:
208 + - aggregation: average
209 + kind: gauge
210 +- id: total_app_domains
211 + azure_name: TotalAppDomains
212 + time_grain: PT1M
213 + series:
214 + - aggregation: average
215 + kind: gauge
216 +- id: total_app_domains_unloaded
217 + azure_name: TotalAppDomainsUnloaded
218 + time_grain: PT1M
219 + series:
220 + - aggregation: average
221 + kind: gauge
222 +- id: function_execution_count
223 + azure_name: FunctionExecutionCount
224 + time_grain: PT1M
225 + series:
226 + - aggregation: total
227 + kind: counter
228 +- id: function_execution_units
229 + azure_name: FunctionExecutionUnits
230 + time_grain: PT1M
231 + series:
232 + - aggregation: total
233 + kind: counter
234 +- id: always_ready_function_execution_count
235 + azure_name: AlwaysReadyFunctionExecutionCount
236 + time_grain: PT1M
237 + series:
238 + - aggregation: total
239 + kind: counter
240 +- id: always_ready_function_execution_units
241 + azure_name: AlwaysReadyFunctionExecutionUnits
242 + time_grain: PT1M
243 + series:
244 + - aggregation: total
245 + kind: counter
246 +- id: always_ready_units
247 + azure_name: AlwaysReadyUnits
248 + time_grain: PT1M
249 + series:
250 + - aggregation: total
251 + kind: gauge
252 +- id: on_demand_function_execution_count
253 + azure_name: OnDemandFunctionExecutionCount
254 + time_grain: PT1M
255 + series:
256 + - aggregation: total
257 + kind: counter
258 +- id: on_demand_function_execution_units
259 + azure_name: OnDemandFunctionExecutionUnits
260 + time_grain: PT1M
261 + series:
262 + - aggregation: total
263 + kind: counter
264 +template:
265 + family: Azure App Service
266 + context_namespace: app_service
267 + chart_defaults:
268 + label_promotion:
269 + - resource_name
270 + - resource_group
271 + - region
272 + - resource_type
273 + - profile
274 + instances:
275 + by_labels:
276 + - resource_uid
277 + charts:
278 + - id: am_azure_app_service__requests
279 + title: Azure App Service Requests
280 + context: requests
281 + family: HTTP
282 + type: line
283 + units: requests/s
284 + algorithm: incremental
285 + dimensions:
286 + - selector: app_service.requests_total
287 + name: requests
288 + - id: am_azure_app_service__response_time
289 + title: Azure App Service Response Time
290 + context: response_time
291 + family: HTTP
292 + type: line
293 + units: seconds
294 + algorithm: absolute
295 + dimensions:
296 + - selector: app_service.http_response_time_average
297 + name: average
298 + - id: am_azure_app_service__http_status
299 + title: Azure App Service HTTP Status Codes
300 + context: http_status
301 + family: HTTP
302 + type: line
303 + units: responses/s
304 + algorithm: incremental
305 + dimensions:
306 + - selector: app_service.http2xx_total
307 + name: 2xx
308 + - selector: app_service.http3xx_total
309 + name: 3xx
310 + - selector: app_service.http4xx_total
311 + name: 4xx
312 + - selector: app_service.http5xx_total
313 + name: 5xx
314 + - id: am_azure_app_service__http_error_detail
315 + title: Azure App Service HTTP Error Detail
316 + context: http_error_detail
317 + family: HTTP
318 + type: line
319 + units: responses/s
320 + algorithm: incremental
321 + dimensions:
322 + - selector: app_service.http101_total
323 + name: 101_websocket
324 + - selector: app_service.http401_total
325 + name: 401_unauthorized
326 + - selector: app_service.http403_total
327 + name: 403_forbidden
328 + - selector: app_service.http404_total
329 + name: 404_not_found
330 + - selector: app_service.http406_total
331 + name: 406_not_acceptable
332 + - id: am_azure_app_service__cpu
333 + title: Azure App Service CPU Utilization
334 + context: cpu
335 + family: Compute
336 + type: line
337 + units: percentage
338 + algorithm: absolute
339 + dimensions:
340 + - selector: app_service.cpu_percentage_average
341 + name: average
342 + - id: am_azure_app_service__cpu_time
343 + title: Azure App Service CPU Time
344 + context: cpu_time
345 + family: Compute
346 + type: line
347 + units: seconds
348 + algorithm: incremental
349 + dimensions:
350 + - selector: app_service.cpu_time_total
351 + name: total
352 + - id: am_azure_app_service__memory_usage
353 + title: Azure App Service Memory Usage
354 + context: memory_usage
355 + family: Compute
356 + type: line
357 + units: bytes
358 + algorithm: absolute
359 + dimensions:
360 + - selector: app_service.average_memory_working_set_average
361 + name: average_working_set
362 + - selector: app_service.memory_working_set_average
363 + name: working_set
364 + - selector: app_service.private_bytes_average
365 + name: private
366 + - id: am_azure_app_service__health
367 + title: Azure App Service Health Check Status
368 + context: health
369 + family: Health
370 + type: line
371 + units: percentage
372 + algorithm: absolute
373 + dimensions:
374 + - selector: app_service.health_check_status_average
375 + name: average
376 + - id: am_azure_app_service__network_traffic
377 + title: Azure App Service Network Traffic
378 + context: network_traffic
379 + family: Network
380 + type: line
381 + units: bytes/s
382 + algorithm: incremental
383 + dimensions:
384 + - selector: app_service.bytes_received_total
385 + name: received
386 + - selector: app_service.bytes_sent_total
387 + name: sent
388 + - id: am_azure_app_service__connections
389 + title: Azure App Service Connections
390 + context: connections
391 + family: Connections
392 + type: line
393 + units: connections
394 + algorithm: absolute
395 + dimensions:
396 + - selector: app_service.app_connections_average
397 + name: average
398 + - id: am_azure_app_service__io_throughput
399 + title: Azure App Service IO Throughput
400 + context: io_throughput
401 + family: IO
402 + type: line
403 + units: bytes/s
404 + algorithm: incremental
405 + dimensions:
406 + - selector: app_service.io_read_bytes_per_second_total
407 + name: read
408 + - selector: app_service.io_write_bytes_per_second_total
409 + name: write
410 + - selector: app_service.io_other_bytes_per_second_total
411 + name: other
412 + - id: am_azure_app_service__io_operations
413 + title: Azure App Service IO Operations
414 + context: io_operations
415 + family: IO
416 + type: line
417 + units: operations/s
418 + algorithm: incremental
419 + dimensions:
420 + - selector: app_service.io_read_operations_per_second_total
421 + name: read
422 + - selector: app_service.io_write_operations_per_second_total
423 + name: write
424 + - selector: app_service.io_other_operations_per_second_total
425 + name: other
426 + - id: am_azure_app_service__threads
427 + title: Azure App Service Threads
428 + context: threads
429 + family: Runtime
430 + type: line
431 + units: threads
432 + algorithm: absolute
433 + dimensions:
434 + - selector: app_service.threads_average
435 + name: average
436 + - id: am_azure_app_service__handles
437 + title: Azure App Service Handles
438 + context: handles
439 + family: Runtime
440 + type: line
441 + units: handles
442 + algorithm: absolute
443 + dimensions:
444 + - selector: app_service.handles_average
445 + name: average
446 + - id: am_azure_app_service__gc_collections
447 + title: Azure App Service .NET GC Collections
448 + context: gc_collections
449 + family: Runtime
450 + type: line
451 + units: collections/s
452 + algorithm: incremental
453 + dimensions:
454 + - selector: app_service.gen0_collections_total
455 + name: gen0
456 + - selector: app_service.gen1_collections_total
457 + name: gen1
458 + - selector: app_service.gen2_collections_total
459 + name: gen2
460 + - id: am_azure_app_service__function_executions
461 + title: Azure App Service Function Executions
462 + context: function_executions
463 + family: Functions
464 + type: line
465 + units: executions/s
466 + algorithm: incremental
467 + dimensions:
468 + - selector: app_service.function_execution_count_total
469 + name: total
470 + - id: am_azure_app_service__function_execution_units
471 + title: Azure App Service Function Execution Units
472 + context: function_execution_units
473 + family: Functions
474 + type: line
475 + units: MB-milliseconds/s
476 + algorithm: incremental
477 + dimensions:
478 + - selector: app_service.function_execution_units_total
479 + name: total
480 + - id: am_azure_app_service__always_ready_function_executions
481 + title: Azure App Service Always Ready Function Executions
482 + context: always_ready_function_executions
483 + family: Functions
484 + type: line
485 + units: executions/s
486 + algorithm: incremental
487 + dimensions:
488 + - selector: app_service.always_ready_function_execution_count_total
489 + name: total
490 + - id: am_azure_app_service__always_ready_function_execution_units
491 + title: Azure App Service Always Ready Function Execution Units
492 + context: always_ready_function_execution_units
493 + family: Functions
494 + type: line
495 + units: MB-milliseconds/s
496 + algorithm: incremental
497 + dimensions:
498 + - selector: app_service.always_ready_function_execution_units_total
499 + name: total
500 + - id: am_azure_app_service__always_ready_units
501 + title: Azure App Service Always Ready Units
502 + context: always_ready_units
503 + family: Functions
504 + type: line
505 + units: units
506 + algorithm: absolute
507 + dimensions:
508 + - selector: app_service.always_ready_units_total
509 + name: total
510 + - id: am_azure_app_service__on_demand_function_executions
511 + title: Azure App Service On Demand Function Executions
512 + context: on_demand_function_executions
513 + family: Functions
514 + type: line
515 + units: executions/s
516 + algorithm: incremental
517 + dimensions:
518 + - selector: app_service.on_demand_function_execution_count_total
519 + name: total
520 + - id: am_azure_app_service__on_demand_function_execution_units
521 + title: Azure App Service On Demand Function Execution Units
522 + context: on_demand_function_execution_units
523 + family: Functions
524 + type: line
525 + units: MB-milliseconds/s
526 + algorithm: incremental
527 + dimensions:
528 + - selector: app_service.on_demand_function_execution_units_total
529 + name: total
530 + - id: am_azure_app_service__request_queue
531 + title: Azure App Service Request Queue
532 + context: request_queue
533 + family: Health
534 + type: line
535 + units: requests
536 + algorithm: absolute
537 + dimensions:
538 + - selector: app_service.requests_in_application_queue_average
539 + name: queued
540 + - id: am_azure_app_service__instances
541 + title: Azure App Service Instance Count
542 + context: instances
543 + family: Scaling
544 + type: line
545 + units: instances
546 + algorithm: absolute
547 + dimensions:
548 + - selector: app_service.instance_count_average
549 + name: running
550 + - id: am_azure_app_service__assemblies
551 + title: Azure App Service .NET Assemblies
552 + context: assemblies
553 + family: Runtime
554 + type: line
555 + units: assemblies
556 + algorithm: absolute
557 + dimensions:
558 + - selector: app_service.current_assemblies_average
559 + name: loaded
560 + - id: am_azure_app_service__app_domains
561 + title: Azure App Service App Domains
562 + context: app_domains
563 + family: Runtime
564 + type: line
565 + units: domains
566 + algorithm: absolute
567 + dimensions:
568 + - selector: app_service.total_app_domains_average
569 + name: loaded
570 + - selector: app_service.total_app_domains_unloaded_average
571 + name: unloaded
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/application_gateway.yaml new
+459
@@ -0,0 +1,459 @@
1 +---
2 +id: application_gateway
3 +name: Azure Application Gateway
4 +resource_type: Microsoft.Network/applicationGateways
5 +metrics:
6 +- id: throughput
7 + azure_name: Throughput
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: bytes_received
13 + azure_name: BytesReceived
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: bytes_sent
19 + azure_name: BytesSent
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: counter
24 +- id: total_requests
25 + azure_name: TotalRequests
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: failed_requests
31 + azure_name: FailedRequests
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: counter
36 +- id: response_status
37 + azure_name: ResponseStatus
38 + time_grain: PT1M
39 + series:
40 + - aggregation: total
41 + kind: counter
42 +- id: backend_response_status
43 + azure_name: BackendResponseStatus
44 + time_grain: PT1M
45 + series:
46 + - aggregation: total
47 + kind: counter
48 +- id: healthy_host_count
49 + azure_name: HealthyHostCount
50 + time_grain: PT1M
51 + series:
52 + - aggregation: average
53 + kind: gauge
54 +- id: unhealthy_host_count
55 + azure_name: UnhealthyHostCount
56 + time_grain: PT1M
57 + series:
58 + - aggregation: average
59 + kind: gauge
60 +- id: avg_request_count_per_healthy_host
61 + azure_name: AvgRequestCountPerHealthyHost
62 + time_grain: PT1M
63 + series:
64 + - aggregation: average
65 + kind: gauge
66 +- id: application_gateway_total_time
67 + azure_name: ApplicationGatewayTotalTime
68 + time_grain: PT1M
69 + series:
70 + - aggregation: average
71 + kind: gauge
72 +- id: backend_connect_time
73 + azure_name: BackendConnectTime
74 + time_grain: PT1M
75 + series:
76 + - aggregation: average
77 + kind: gauge
78 +- id: backend_first_byte_response_time
79 + azure_name: BackendFirstByteResponseTime
80 + time_grain: PT1M
81 + series:
82 + - aggregation: average
83 + kind: gauge
84 +- id: backend_last_byte_response_time
85 + azure_name: BackendLastByteResponseTime
86 + time_grain: PT1M
87 + series:
88 + - aggregation: average
89 + kind: gauge
90 +- id: client_rtt
91 + azure_name: ClientRtt
92 + time_grain: PT1M
93 + series:
94 + - aggregation: average
95 + kind: gauge
96 +- id: current_connections
97 + azure_name: CurrentConnections
98 + time_grain: PT1M
99 + series:
100 + - aggregation: total
101 + kind: gauge
102 +- id: new_connections_per_second
103 + azure_name: NewConnectionsPerSecond
104 + time_grain: PT1M
105 + series:
106 + - aggregation: average
107 + kind: gauge
108 +- id: capacity_units
109 + azure_name: CapacityUnits
110 + time_grain: PT1M
111 + series:
112 + - aggregation: average
113 + kind: gauge
114 +- id: compute_units
115 + azure_name: ComputeUnits
116 + time_grain: PT1M
117 + series:
118 + - aggregation: average
119 + kind: gauge
120 +- id: estimated_billed_capacity_units
121 + azure_name: EstimatedBilledCapacityUnits
122 + time_grain: PT1M
123 + series:
124 + - aggregation: average
125 + kind: gauge
126 +- id: fixed_billable_capacity_units
127 + azure_name: FixedBillableCapacityUnits
128 + time_grain: PT1M
129 + series:
130 + - aggregation: average
131 + kind: gauge
132 +- id: cpu_utilization
133 + azure_name: CpuUtilization
134 + time_grain: PT1M
135 + series:
136 + - aggregation: average
137 + kind: gauge
138 +- id: tls_protocol
139 + azure_name: TlsProtocol
140 + time_grain: PT1M
141 + series:
142 + - aggregation: total
143 + kind: counter
144 +- id: web_socket_active_connections
145 + azure_name: WebSocketActiveConnections
146 + time_grain: PT1M
147 + series:
148 + - aggregation: total
149 + kind: gauge
150 +- id: websocket_specific_close_status_code
151 + azure_name: WebsocketSpecificCloseStatusCode
152 + time_grain: PT1M
153 + series:
154 + - aggregation: total
155 + kind: counter
156 +- id: azwaf_total_requests
157 + azure_name: AzwafTotalRequests
158 + time_grain: PT1M
159 + series:
160 + - aggregation: total
161 + kind: counter
162 +- id: blocked_count
163 + azure_name: BlockedCount
164 + time_grain: PT1M
165 + series:
166 + - aggregation: total
167 + kind: counter
168 +- id: matched_count
169 + azure_name: MatchedCount
170 + time_grain: PT1M
171 + series:
172 + - aggregation: total
173 + kind: counter
174 +- id: azwaf_bot_protection
175 + azure_name: AzwafBotProtection
176 + time_grain: PT1M
177 + series:
178 + - aggregation: total
179 + kind: counter
180 +- id: azwaf_custom_rule
181 + azure_name: AzwafCustomRule
182 + time_grain: PT1M
183 + series:
184 + - aggregation: total
185 + kind: counter
186 +- id: azwaf_sec_rule
187 + azure_name: AzwafSecRule
188 + time_grain: PT1M
189 + series:
190 + - aggregation: total
191 + kind: counter
192 +- id: az_waf_captcha_challenge_request_count
193 + azure_name: AzWAFCaptchaChallengeRequestCount
194 + time_grain: PT1M
195 + series:
196 + - aggregation: total
197 + kind: counter
198 +- id: az_wafjs_challenge_request_count
199 + azure_name: AzWAFJSChallengeRequestCount
200 + time_grain: PT1M
201 + series:
202 + - aggregation: total
203 + kind: counter
204 +- id: azwaf_penalty_box_hits
205 + azure_name: AzwafPenaltyBoxHits
206 + time_grain: PT1M
207 + series:
208 + - aggregation: total
209 + kind: counter
210 +- id: azwaf_penalty_box_size
211 + azure_name: AzwafPenaltyBoxSize
212 + time_grain: PT1M
213 + series:
214 + - aggregation: average
215 + kind: gauge
216 +template:
217 + family: Azure Application Gateway
218 + context_namespace: application_gateway
219 + chart_defaults:
220 + label_promotion:
221 + - resource_name
222 + - resource_group
223 + - region
224 + - resource_type
225 + - profile
226 + instances:
227 + by_labels:
228 + - resource_uid
229 + charts:
230 + - id: am_azure_application_gateway__throughput
231 + title: Azure Application Gateway Throughput
232 + context: throughput
233 + family: Traffic
234 + type: line
235 + units: bytes/s
236 + algorithm: absolute
237 + dimensions:
238 + - selector: application_gateway.throughput_average
239 + name: average
240 + - id: am_azure_application_gateway__traffic_volume
241 + title: Azure Application Gateway Traffic Volume
242 + context: traffic_volume
243 + family: Traffic
244 + type: line
245 + units: bytes/s
246 + algorithm: incremental
247 + dimensions:
248 + - selector: application_gateway.bytes_received_total
249 + name: received
250 + - selector: application_gateway.bytes_sent_total
251 + name: sent
252 + - id: am_azure_application_gateway__requests
253 + title: Azure Application Gateway Requests
254 + context: requests
255 + family: Traffic
256 + type: line
257 + units: requests/s
258 + algorithm: incremental
259 + dimensions:
260 + - selector: application_gateway.total_requests_total
261 + name: total
262 + - selector: application_gateway.failed_requests_total
263 + name: failed
264 + - id: am_azure_application_gateway__response_status
265 + title: Azure Application Gateway Response Status
266 + context: response_status
267 + family: Traffic
268 + type: line
269 + units: responses/s
270 + algorithm: incremental
271 + dimensions:
272 + - selector: application_gateway.response_status_total
273 + name: gateway
274 + - selector: application_gateway.backend_response_status_total
275 + name: backend
276 + - id: am_azure_application_gateway__backend_health
277 + title: Azure Application Gateway Backend Health
278 + context: backend_health
279 + family: Backend
280 + type: line
281 + units: hosts
282 + algorithm: absolute
283 + dimensions:
284 + - selector: application_gateway.healthy_host_count_average
285 + name: healthy
286 + - selector: application_gateway.unhealthy_host_count_average
287 + name: unhealthy
288 + - id: am_azure_application_gateway__backend_request_load
289 + title: Azure Application Gateway Backend Request Load
290 + context: backend_request_load
291 + family: Backend
292 + type: line
293 + units: requests
294 + algorithm: absolute
295 + dimensions:
296 + - selector: application_gateway.avg_request_count_per_healthy_host_average
297 + name: per_healthy_host
298 + - id: am_azure_application_gateway__backend_latency
299 + title: Azure Application Gateway Backend Latency
300 + context: backend_latency
301 + family: Backend
302 + type: line
303 + units: milliseconds
304 + algorithm: absolute
305 + dimensions:
306 + - selector: application_gateway.backend_connect_time_average
307 + name: connect
308 + - selector: application_gateway.backend_first_byte_response_time_average
309 + name: first_byte
310 + - selector: application_gateway.backend_last_byte_response_time_average
311 + name: last_byte
312 + - id: am_azure_application_gateway__client_latency
313 + title: Azure Application Gateway Client Latency
314 + context: client_latency
315 + family: Latency
316 + type: line
317 + units: milliseconds
318 + algorithm: absolute
319 + dimensions:
320 + - selector: application_gateway.application_gateway_total_time_average
321 + name: total_time
322 + - selector: application_gateway.client_rtt_average
323 + name: client_rtt
324 + - id: am_azure_application_gateway__current_connections
325 + title: Azure Application Gateway Current Connections
326 + context: current_connections
327 + family: Connections
328 + type: line
329 + units: connections
330 + algorithm: absolute
331 + dimensions:
332 + - selector: application_gateway.current_connections_total
333 + name: current
334 + - id: am_azure_application_gateway__new_connections
335 + title: Azure Application Gateway New Connections
336 + context: new_connections
337 + family: Connections
338 + type: line
339 + units: connections/s
340 + algorithm: absolute
341 + dimensions:
342 + - selector: application_gateway.new_connections_per_second_average
343 + name: average
344 + - id: am_azure_application_gateway__websocket_connections
345 + title: Azure Application Gateway WebSocket Connections
346 + context: websocket_connections
347 + family: Connections
348 + type: line
349 + units: connections
350 + algorithm: absolute
351 + dimensions:
352 + - selector: application_gateway.web_socket_active_connections_total
353 + name: active
354 + - id: am_azure_application_gateway__websocket_close_codes
355 + title: Azure Application Gateway WebSocket Close Codes
356 + context: websocket_close_codes
357 + family: Connections
358 + type: line
359 + units: connections/s
360 + algorithm: incremental
361 + dimensions:
362 + - selector: application_gateway.websocket_specific_close_status_code_total
363 + name: total
364 + - id: am_azure_application_gateway__capacity
365 + title: Azure Application Gateway Capacity
366 + context: capacity
367 + family: Capacity
368 + type: line
369 + units: units
370 + algorithm: absolute
371 + dimensions:
372 + - selector: application_gateway.capacity_units_average
373 + name: capacity
374 + - selector: application_gateway.compute_units_average
375 + name: compute
376 + - selector: application_gateway.estimated_billed_capacity_units_average
377 + name: billed
378 + - selector: application_gateway.fixed_billable_capacity_units_average
379 + name: fixed_billed
380 + - id: am_azure_application_gateway__cpu
381 + title: Azure Application Gateway CPU Utilization
382 + context: cpu
383 + family: Capacity
384 + type: line
385 + units: percentage
386 + algorithm: absolute
387 + dimensions:
388 + - selector: application_gateway.cpu_utilization_average
389 + name: average
390 + - id: am_azure_application_gateway__tls_connections
391 + title: Azure Application Gateway TLS Connections
392 + context: tls_connections
393 + family: Security
394 + type: line
395 + units: connections/s
396 + algorithm: incremental
397 + dimensions:
398 + - selector: application_gateway.tls_protocol_total
399 + name: total
400 + - id: am_azure_application_gateway__waf_requests
401 + title: Azure Application Gateway WAF Requests
402 + context: waf_requests
403 + family: WAF
404 + type: line
405 + units: requests/s
406 + algorithm: incremental
407 + dimensions:
408 + - selector: application_gateway.azwaf_total_requests_total
409 + name: total
410 + - selector: application_gateway.blocked_count_total
411 + name: blocked
412 + - selector: application_gateway.matched_count_total
413 + name: matched
414 + - id: am_azure_application_gateway__waf_rule_matches
415 + title: Azure Application Gateway WAF Rule Matches
416 + context: waf_rule_matches
417 + family: WAF
418 + type: line
419 + units: matches/s
420 + algorithm: incremental
421 + dimensions:
422 + - selector: application_gateway.azwaf_sec_rule_total
423 + name: managed
424 + - selector: application_gateway.azwaf_custom_rule_total
425 + name: custom
426 + - selector: application_gateway.azwaf_bot_protection_total
427 + name: bot
428 + - id: am_azure_application_gateway__waf_challenges
429 + title: Azure Application Gateway WAF Challenges
430 + context: waf_challenges
431 + family: WAF
432 + type: line
433 + units: requests/s
434 + algorithm: incremental
435 + dimensions:
436 + - selector: application_gateway.az_waf_captcha_challenge_request_count_total
437 + name: captcha
438 + - selector: application_gateway.az_wafjs_challenge_request_count_total
439 + name: js_challenge
440 + - id: am_azure_application_gateway__waf_penalty_box
441 + title: Azure Application Gateway WAF Penalty Box
442 + context: waf_penalty_box
443 + family: WAF
444 + type: line
445 + units: IPs
446 + algorithm: absolute
447 + dimensions:
448 + - selector: application_gateway.azwaf_penalty_box_size_average
449 + name: size
450 + - id: am_azure_application_gateway__waf_penalty_box_hits
451 + title: Azure Application Gateway WAF Penalty Box Hits
452 + context: waf_penalty_box_hits
453 + family: WAF
454 + type: line
455 + units: hits/s
456 + algorithm: incremental
457 + dimensions:
458 + - selector: application_gateway.azwaf_penalty_box_hits_total
459 + name: total
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/application_insights.yaml new
+427
@@ -0,0 +1,427 @@
1 +---
2 +id: application_insights
3 +name: Azure Application Insights
4 +resource_type: Microsoft.Insights/components
5 +metrics:
6 +- id: availability_results_availability_percentage
7 + azure_name: availabilityResults/availabilityPercentage
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: availability_results_count
13 + azure_name: availabilityResults/count
14 + time_grain: PT1M
15 + series:
16 + - aggregation: count
17 + kind: counter
18 +- id: availability_results_duration
19 + azure_name: availabilityResults/duration
20 + time_grain: PT1M
21 + series:
22 + - aggregation: average
23 + kind: gauge
24 +- id: browser_timings_network_duration
25 + azure_name: browserTimings/networkDuration
26 + time_grain: PT1M
27 + series:
28 + - aggregation: average
29 + kind: gauge
30 +- id: browser_timings_processing_duration
31 + azure_name: browserTimings/processingDuration
32 + time_grain: PT1M
33 + series:
34 + - aggregation: average
35 + kind: gauge
36 +- id: browser_timings_receive_duration
37 + azure_name: browserTimings/receiveDuration
38 + time_grain: PT1M
39 + series:
40 + - aggregation: average
41 + kind: gauge
42 +- id: browser_timings_send_duration
43 + azure_name: browserTimings/sendDuration
44 + time_grain: PT1M
45 + series:
46 + - aggregation: average
47 + kind: gauge
48 +- id: browser_timings_total_duration
49 + azure_name: browserTimings/totalDuration
50 + time_grain: PT1M
51 + series:
52 + - aggregation: average
53 + kind: gauge
54 +- id: requests_count
55 + azure_name: requests/count
56 + time_grain: PT1M
57 + series:
58 + - aggregation: count
59 + kind: counter
60 +- id: requests_duration
61 + azure_name: requests/duration
62 + time_grain: PT1M
63 + series:
64 + - aggregation: average
65 + kind: gauge
66 +- id: requests_failed
67 + azure_name: requests/failed
68 + time_grain: PT1M
69 + series:
70 + - aggregation: count
71 + kind: counter
72 +- id: requests_rate
73 + azure_name: requests/rate
74 + time_grain: PT1M
75 + series:
76 + - aggregation: average
77 + kind: gauge
78 +- id: dependencies_count
79 + azure_name: dependencies/count
80 + time_grain: PT1M
81 + series:
82 + - aggregation: count
83 + kind: counter
84 +- id: dependencies_duration
85 + azure_name: dependencies/duration
86 + time_grain: PT1M
87 + series:
88 + - aggregation: average
89 + kind: gauge
90 +- id: dependencies_failed
91 + azure_name: dependencies/failed
92 + time_grain: PT1M
93 + series:
94 + - aggregation: count
95 + kind: counter
96 +- id: exceptions_count
97 + azure_name: exceptions/count
98 + time_grain: PT1M
99 + series:
100 + - aggregation: count
101 + kind: counter
102 +- id: exceptions_browser
103 + azure_name: exceptions/browser
104 + time_grain: PT1M
105 + series:
106 + - aggregation: count
107 + kind: counter
108 +- id: exceptions_server
109 + azure_name: exceptions/server
110 + time_grain: PT1M
111 + series:
112 + - aggregation: count
113 + kind: counter
114 +- id: performance_counters_process_cpu_percentage
115 + azure_name: performanceCounters/processCpuPercentage
116 + time_grain: PT1M
117 + series:
118 + - aggregation: average
119 + kind: gauge
120 +- id: performance_counters_processor_cpu_percentage
121 + azure_name: performanceCounters/processorCpuPercentage
122 + time_grain: PT1M
123 + series:
124 + - aggregation: average
125 + kind: gauge
126 +- id: performance_counters_memory_available_bytes
127 + azure_name: performanceCounters/memoryAvailableBytes
128 + time_grain: PT1M
129 + series:
130 + - aggregation: average
131 + kind: gauge
132 +- id: performance_counters_process_private_bytes
133 + azure_name: performanceCounters/processPrivateBytes
134 + time_grain: PT1M
135 + series:
136 + - aggregation: average
137 + kind: gauge
138 +- id: performance_counters_process_io_bytes_per_second
139 + azure_name: performanceCounters/processIOBytesPerSecond
140 + time_grain: PT1M
141 + series:
142 + - aggregation: average
143 + kind: gauge
144 +- id: performance_counters_exceptions_per_second
145 + azure_name: performanceCounters/exceptionsPerSecond
146 + time_grain: PT1M
147 + series:
148 + - aggregation: average
149 + kind: gauge
150 +- id: performance_counters_request_execution_time
151 + azure_name: performanceCounters/requestExecutionTime
152 + time_grain: PT1M
153 + series:
154 + - aggregation: average
155 + kind: gauge
156 +- id: performance_counters_requests_in_queue
157 + azure_name: performanceCounters/requestsInQueue
158 + time_grain: PT1M
159 + series:
160 + - aggregation: average
161 + kind: gauge
162 +- id: performance_counters_requests_per_second
163 + azure_name: performanceCounters/requestsPerSecond
164 + time_grain: PT1M
165 + series:
166 + - aggregation: average
167 + kind: gauge
168 +- id: page_views_count
169 + azure_name: pageViews/count
170 + time_grain: PT1M
171 + series:
172 + - aggregation: count
173 + kind: counter
174 +- id: page_views_duration
175 + azure_name: pageViews/duration
176 + time_grain: PT1M
177 + series:
178 + - aggregation: average
179 + kind: gauge
180 +- id: traces_count
181 + azure_name: traces/count
182 + time_grain: PT1M
183 + series:
184 + - aggregation: count
185 + kind: counter
186 +template:
187 + family: Azure Application Insights
188 + context_namespace: application_insights
189 + chart_defaults:
190 + label_promotion:
191 + - resource_name
192 + - resource_group
193 + - region
194 + - resource_type
195 + - profile
196 + instances:
197 + by_labels:
198 + - resource_uid
199 + charts:
200 + - id: am_azure_application_insights__availability_percentage
201 + title: Azure Application Insights Availability
202 + context: availability_percentage
203 + family: Availability
204 + type: line
205 + units: percentage
206 + algorithm: absolute
207 + dimensions:
208 + - selector: application_insights.availability_results_availability_percentage_average
209 + name: average
210 + - id: am_azure_application_insights__availability_tests
211 + title: Azure Application Insights Availability Tests
212 + context: availability_tests
213 + family: Availability
214 + type: line
215 + units: tests/s
216 + algorithm: incremental
217 + dimensions:
218 + - selector: application_insights.availability_results_count_count
219 + name: tests
220 + - id: am_azure_application_insights__availability_duration
221 + title: Azure Application Insights Availability Test Duration
222 + context: availability_duration
223 + family: Availability
224 + type: line
225 + units: milliseconds
226 + algorithm: absolute
227 + dimensions:
228 + - selector: application_insights.availability_results_duration_average
229 + name: average
230 + - id: am_azure_application_insights__server_requests
231 + title: Azure Application Insights Server Requests
232 + context: server_requests
233 + family: Requests
234 + type: line
235 + units: requests/s
236 + algorithm: incremental
237 + dimensions:
238 + - selector: application_insights.requests_count_count
239 + name: total
240 + - selector: application_insights.requests_failed_count
241 + name: failed
242 + - id: am_azure_application_insights__server_request_rate
243 + title: Azure Application Insights Server Request Rate
244 + context: server_request_rate
245 + family: Requests
246 + type: line
247 + units: requests/s
248 + algorithm: absolute
249 + dimensions:
250 + - selector: application_insights.requests_rate_average
251 + name: average
252 + - id: am_azure_application_insights__server_response_time
253 + title: Azure Application Insights Server Response Time
254 + context: server_response_time
255 + family: Requests
256 + type: line
257 + units: milliseconds
258 + algorithm: absolute
259 + dimensions:
260 + - selector: application_insights.requests_duration_average
261 + name: average
262 + - id: am_azure_application_insights__dependency_calls
263 + title: Azure Application Insights Dependency Calls
264 + context: dependency_calls
265 + family: Dependencies
266 + type: line
267 + units: calls/s
268 + algorithm: incremental
269 + dimensions:
270 + - selector: application_insights.dependencies_count_count
271 + name: total
272 + - selector: application_insights.dependencies_failed_count
273 + name: failed
274 + - id: am_azure_application_insights__dependency_duration
275 + title: Azure Application Insights Dependency Duration
276 + context: dependency_duration
277 + family: Dependencies
278 + type: line
279 + units: milliseconds
280 + algorithm: absolute
281 + dimensions:
282 + - selector: application_insights.dependencies_duration_average
283 + name: average
284 + - id: am_azure_application_insights__exceptions
285 + title: Azure Application Insights Exceptions
286 + context: exceptions
287 + family: Exceptions
288 + type: line
289 + units: exceptions/s
290 + algorithm: incremental
291 + dimensions:
292 + - selector: application_insights.exceptions_count_count
293 + name: total
294 + - selector: application_insights.exceptions_browser_count
295 + name: browser
296 + - selector: application_insights.exceptions_server_count
297 + name: server
298 + - id: am_azure_application_insights__browser_page_load_time
299 + title: Azure Application Insights Browser Page Load Time
300 + context: browser_page_load_time
301 + family: Browser
302 + type: line
303 + units: milliseconds
304 + algorithm: absolute
305 + dimensions:
306 + - selector: application_insights.browser_timings_total_duration_average
307 + name: total
308 + - id: am_azure_application_insights__browser_timing_breakdown
309 + title: Azure Application Insights Browser Timing Breakdown
310 + context: browser_timing_breakdown
311 + family: Browser
312 + type: line
313 + units: milliseconds
314 + algorithm: absolute
315 + dimensions:
316 + - selector: application_insights.browser_timings_network_duration_average
317 + name: network
318 + - selector: application_insights.browser_timings_send_duration_average
319 + name: send
320 + - selector: application_insights.browser_timings_receive_duration_average
321 + name: receive
322 + - selector: application_insights.browser_timings_processing_duration_average
323 + name: processing
324 + - id: am_azure_application_insights__cpu_utilization
325 + title: Azure Application Insights CPU Utilization
326 + context: cpu_utilization
327 + family: Performance
328 + type: line
329 + units: percentage
330 + algorithm: absolute
331 + dimensions:
332 + - selector: application_insights.performance_counters_process_cpu_percentage_average
333 + name: process
334 + - selector: application_insights.performance_counters_processor_cpu_percentage_average
335 + name: processor
336 + - id: am_azure_application_insights__memory
337 + title: Azure Application Insights Memory
338 + context: memory
339 + family: Performance
340 + type: line
341 + units: bytes
342 + algorithm: absolute
343 + dimensions:
344 + - selector: application_insights.performance_counters_memory_available_bytes_average
345 + name: available
346 + - selector: application_insights.performance_counters_process_private_bytes_average
347 + name: private
348 + - id: am_azure_application_insights__process_io_rate
349 + title: Azure Application Insights Process IO Rate
350 + context: process_io_rate
351 + family: Performance
352 + type: line
353 + units: bytes/s
354 + algorithm: absolute
355 + dimensions:
356 + - selector: application_insights.performance_counters_process_io_bytes_per_second_average
357 + name: average
358 + - id: am_azure_application_insights__exception_rate
359 + title: Azure Application Insights Exception Rate
360 + context: exception_rate
361 + family: Performance
362 + type: line
363 + units: exceptions/s
364 + algorithm: absolute
365 + dimensions:
366 + - selector: application_insights.performance_counters_exceptions_per_second_average
367 + name: average
368 + - id: am_azure_application_insights__http_request_execution_time
369 + title: Azure Application Insights HTTP Request Execution Time
370 + context: http_request_execution_time
371 + family: Performance
372 + type: line
373 + units: milliseconds
374 + algorithm: absolute
375 + dimensions:
376 + - selector: application_insights.performance_counters_request_execution_time_average
377 + name: average
378 + - id: am_azure_application_insights__http_request_queue
379 + title: Azure Application Insights HTTP Requests in Queue
380 + context: http_request_queue
381 + family: Performance
382 + type: line
383 + units: requests
384 + algorithm: absolute
385 + dimensions:
386 + - selector: application_insights.performance_counters_requests_in_queue_average
387 + name: queued
388 + - id: am_azure_application_insights__http_request_rate
389 + title: Azure Application Insights HTTP Request Rate
390 + context: http_request_rate
391 + family: Performance
392 + type: line
393 + units: requests/s
394 + algorithm: absolute
395 + dimensions:
396 + - selector: application_insights.performance_counters_requests_per_second_average
397 + name: average
398 + - id: am_azure_application_insights__page_views
399 + title: Azure Application Insights Page Views
400 + context: page_views
401 + family: Usage
402 + type: line
403 + units: views/s
404 + algorithm: incremental
405 + dimensions:
406 + - selector: application_insights.page_views_count_count
407 + name: views
408 + - id: am_azure_application_insights__page_view_load_time
409 + title: Azure Application Insights Page View Load Time
410 + context: page_view_load_time
411 + family: Usage
412 + type: line
413 + units: milliseconds
414 + algorithm: absolute
415 + dimensions:
416 + - selector: application_insights.page_views_duration_average
417 + name: average
418 + - id: am_azure_application_insights__traces
419 + title: Azure Application Insights Traces
420 + context: traces
421 + family: Usage
422 + type: line
423 + units: traces/s
424 + algorithm: incremental
425 + dimensions:
426 + - selector: application_insights.traces_count_count
427 + name: traces
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/cognitive_services.yaml new
+1691
@@ -0,0 +1,1691 @@
1 +---
2 +id: cognitive_services
3 +name: Azure Cognitive Services
4 +resource_type: Microsoft.CognitiveServices/accounts
5 +metrics:
6 +- id: success_rate
7 + azure_name: SuccessRate
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: total_calls
13 + azure_name: TotalCalls
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: successful_calls
19 + azure_name: SuccessfulCalls
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: counter
24 +- id: blocked_calls
25 + azure_name: BlockedCalls
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: total_errors
31 + azure_name: TotalErrors
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: counter
36 +- id: client_errors
37 + azure_name: ClientErrors
38 + time_grain: PT1M
39 + series:
40 + - aggregation: total
41 + kind: counter
42 +- id: server_errors
43 + azure_name: ServerErrors
44 + time_grain: PT1M
45 + series:
46 + - aggregation: total
47 + kind: counter
48 +- id: total_token_calls
49 + azure_name: TotalTokenCalls
50 + time_grain: PT1M
51 + series:
52 + - aggregation: total
53 + kind: counter
54 +- id: latency
55 + azure_name: Latency
56 + time_grain: PT1M
57 + series:
58 + - aggregation: average
59 + kind: gauge
60 +- id: data_in
61 + azure_name: DataIn
62 + time_grain: PT1M
63 + series:
64 + - aggregation: total
65 + kind: counter
66 +- id: data_out
67 + azure_name: DataOut
68 + time_grain: PT1M
69 + series:
70 + - aggregation: total
71 + kind: counter
72 +- id: ratelimit
73 + azure_name: Ratelimit
74 + time_grain: PT1M
75 + series:
76 + - aggregation: total
77 + kind: counter
78 +- id: azure_open_ai_availability_rate
79 + azure_name: AzureOpenAIAvailabilityRate
80 + time_grain: PT1M
81 + series:
82 + - aggregation: average
83 + kind: gauge
84 +- id: azure_open_ai_requests
85 + azure_name: AzureOpenAIRequests
86 + time_grain: PT1M
87 + series:
88 + - aggregation: total
89 + kind: counter
90 +- id: azure_open_ai_normalized_tbt_in_ms
91 + azure_name: AzureOpenAINormalizedTBTInMS
92 + time_grain: PT1M
93 + series:
94 + - aggregation: average
95 + kind: gauge
96 +- id: azure_open_ai_normalized_ttft_in_ms
97 + azure_name: AzureOpenAINormalizedTTFTInMS
98 + time_grain: PT1M
99 + series:
100 + - aggregation: average
101 + kind: gauge
102 +- id: azure_open_ai_time_to_response
103 + azure_name: AzureOpenAITimeToResponse
104 + time_grain: PT1M
105 + series:
106 + - aggregation: average
107 + kind: gauge
108 +- id: azure_open_ai_token_per_second
109 + azure_name: AzureOpenAITokenPerSecond
110 + time_grain: PT1M
111 + series:
112 + - aggregation: average
113 + kind: gauge
114 +- id: azure_open_aittlt_in_ms
115 + azure_name: AzureOpenAITTLTInMS
116 + time_grain: PT1M
117 + series:
118 + - aggregation: average
119 + kind: gauge
120 +- id: active_tokens
121 + azure_name: ActiveTokens
122 + time_grain: PT1M
123 + series:
124 + - aggregation: total
125 + kind: counter
126 +- id: audio_completion_tokens
127 + azure_name: AudioCompletionTokens
128 + time_grain: PT1M
129 + series:
130 + - aggregation: total
131 + kind: counter
132 +- id: audio_prompt_tokens
133 + azure_name: AudioPromptTokens
134 + time_grain: PT1M
135 + series:
136 + - aggregation: total
137 + kind: counter
138 +- id: azure_open_ai_context_tokens_cache_match_rate
139 + azure_name: AzureOpenAIContextTokensCacheMatchRate
140 + time_grain: PT1M
141 + series:
142 + - aggregation: average
143 + kind: gauge
144 +- id: azure_open_ai_provisioned_managed_utilization_v2
145 + azure_name: AzureOpenAIProvisionedManagedUtilizationV2
146 + time_grain: PT1M
147 + series:
148 + - aggregation: average
149 + kind: gauge
150 +- id: fine_tuned_training_hours
151 + azure_name: FineTunedTrainingHours
152 + time_grain: PT1M
153 + series:
154 + - aggregation: total
155 + kind: counter
156 +- id: generated_tokens
157 + azure_name: GeneratedTokens
158 + time_grain: PT1M
159 + series:
160 + - aggregation: total
161 + kind: counter
162 +- id: processed_prompt_tokens
163 + azure_name: ProcessedPromptTokens
164 + time_grain: PT1M
165 + series:
166 + - aggregation: total
167 + kind: counter
168 +- id: realtime_usage_time
169 + azure_name: RealtimeUsageTime
170 + time_grain: PT1M
171 + series:
172 + - aggregation: total
173 + kind: counter
174 +- id: token_transaction
175 + azure_name: TokenTransaction
176 + time_grain: PT1M
177 + series:
178 + - aggregation: total
179 + kind: counter
180 +- id: model_availability_rate
181 + azure_name: ModelAvailabilityRate
182 + time_grain: PT1M
183 + series:
184 + - aggregation: average
185 + kind: gauge
186 +- id: model_requests
187 + azure_name: ModelRequests
188 + time_grain: PT1M
189 + series:
190 + - aggregation: total
191 + kind: counter
192 +- id: normalized_time_between_tokens
193 + azure_name: NormalizedTimeBetweenTokens
194 + time_grain: PT1M
195 + series:
196 + - aggregation: average
197 + kind: gauge
198 +- id: normalized_time_to_first_token
199 + azure_name: NormalizedTimeToFirstToken
200 + time_grain: PT1M
201 + series:
202 + - aggregation: average
203 + kind: gauge
204 +- id: time_to_last_byte
205 + azure_name: TimeToLastByte
206 + time_grain: PT1M
207 + series:
208 + - aggregation: average
209 + kind: gauge
210 +- id: time_to_response
211 + azure_name: TimeToResponse
212 + time_grain: PT1M
213 + series:
214 + - aggregation: average
215 + kind: gauge
216 +- id: tokens_per_second
217 + azure_name: TokensPerSecond
218 + time_grain: PT1M
219 + series:
220 + - aggregation: average
221 + kind: gauge
222 +- id: annotated_pages
223 + azure_name: AnnotatedPages
224 + time_grain: PT1M
225 + series:
226 + - aggregation: total
227 + kind: counter
228 +- id: audio_input_tokens
229 + azure_name: AudioInputTokens
230 + time_grain: PT1M
231 + series:
232 + - aggregation: total
233 + kind: counter
234 +- id: audio_output_tokens
235 + azure_name: AudioOutputTokens
236 + time_grain: PT1M
237 + series:
238 + - aggregation: total
239 + kind: counter
240 +- id: cache_read_input_tokens
241 + azure_name: cacheReadInputTokens
242 + time_grain: PT1M
243 + series:
244 + - aggregation: total
245 + kind: counter
246 +- id: ephemeral1h_input_tokens
247 + azure_name: ephemeral1hInputTokens
248 + time_grain: PT1M
249 + series:
250 + - aggregation: total
251 + kind: counter
252 +- id: ephemeral5m_input_tokens
253 + azure_name: ephemeral5mInputTokens
254 + time_grain: PT1M
255 + series:
256 + - aggregation: total
257 + kind: counter
258 +- id: generated_images
259 + azure_name: GeneratedImages
260 + time_grain: PT1M
261 + series:
262 + - aggregation: total
263 + kind: counter
264 +- id: input_tokens
265 + azure_name: InputTokens
266 + time_grain: PT1M
267 + series:
268 + - aggregation: total
269 + kind: counter
270 +- id: output_tokens
271 + azure_name: OutputTokens
272 + time_grain: PT1M
273 + series:
274 + - aggregation: total
275 + kind: counter
276 +- id: provisioned_utilization
277 + azure_name: ProvisionedUtilization
278 + time_grain: PT1M
279 + series:
280 + - aggregation: average
281 + kind: gauge
282 +- id: total_pages
283 + azure_name: TotalPages
284 + time_grain: PT1M
285 + series:
286 + - aggregation: total
287 + kind: counter
288 +- id: total_tokens
289 + azure_name: TotalTokens
290 + time_grain: PT1M
291 + series:
292 + - aggregation: total
293 + kind: counter
294 +- id: rai_abusive_users_count
295 + azure_name: RAIAbusiveUsersCount
296 + time_grain: PT1M
297 + series:
298 + - aggregation: total
299 + kind: counter
300 +- id: rai_harmful_requests
301 + azure_name: RAIHarmfulRequests
302 + time_grain: PT1M
303 + series:
304 + - aggregation: total
305 + kind: counter
306 +- id: rai_rejected_requests
307 + azure_name: RAIRejectedRequests
308 + time_grain: PT1M
309 + series:
310 + - aggregation: total
311 + kind: counter
312 +- id: rai_system_event
313 + azure_name: RAISystemEvent
314 + time_grain: PT1M
315 + series:
316 + - aggregation: average
317 + kind: gauge
318 +- id: rai_total_requests
319 + azure_name: RAITotalRequests
320 + time_grain: PT1M
321 + series:
322 + - aggregation: total
323 + kind: counter
324 +- id: content_safety_image_analyze_request_count
325 + azure_name: ContentSafetyImageAnalyzeRequestCount
326 + time_grain: PT1M
327 + series:
328 + - aggregation: total
329 + kind: counter
330 +- id: content_safety_text_analyze_request_count
331 + azure_name: ContentSafetyTextAnalyzeRequestCount
332 + time_grain: PT1M
333 + series:
334 + - aggregation: total
335 + kind: counter
336 +- id: job_duration
337 + azure_name: JobDuration
338 + time_grain: PT1M
339 + series:
340 + - aggregation: average
341 + kind: gauge
342 +- id: action_id_occurrences
343 + azure_name: ActionIdOccurrences
344 + time_grain: PT1M
345 + series:
346 + - aggregation: total
347 + kind: counter
348 +- id: actions_per_event
349 + azure_name: ActionsPerEvent
350 + time_grain: PT1M
351 + series:
352 + - aggregation: average
353 + kind: gauge
354 +- id: action_feature_id_occurrences
355 + azure_name: ActionFeatureIdOccurrences
356 + time_grain: PT1M
357 + series:
358 + - aggregation: total
359 + kind: counter
360 +- id: context_feature_id_occurrences
361 + azure_name: ContextFeatureIdOccurrences
362 + time_grain: PT1M
363 + series:
364 + - aggregation: total
365 + kind: counter
366 +- id: slot_feature_id_occurrences
367 + azure_name: SlotFeatureIdOccurrences
368 + time_grain: PT1M
369 + series:
370 + - aggregation: total
371 + kind: counter
372 +- id: feature_cardinality_action
373 + azure_name: FeatureCardinality_Action
374 + time_grain: PT1M
375 + series:
376 + - aggregation: average
377 + kind: gauge
378 +- id: feature_cardinality_context
379 + azure_name: FeatureCardinality_Context
380 + time_grain: PT1M
381 + series:
382 + - aggregation: average
383 + kind: gauge
384 +- id: feature_cardinality_slot
385 + azure_name: FeatureCardinality_Slot
386 + time_grain: PT1M
387 + series:
388 + - aggregation: average
389 + kind: gauge
390 +- id: action_features_per_event
391 + azure_name: ActionFeaturesPerEvent
392 + time_grain: PT1M
393 + series:
394 + - aggregation: average
395 + kind: gauge
396 +- id: context_features_per_event
397 + azure_name: ContextFeaturesPerEvent
398 + time_grain: PT1M
399 + series:
400 + - aggregation: average
401 + kind: gauge
402 +- id: slot_features_per_event
403 + azure_name: SlotFeaturesPerEvent
404 + time_grain: PT1M
405 + series:
406 + - aggregation: average
407 + kind: gauge
408 +- id: action_namespaces_per_event
409 + azure_name: ActionNamespacesPerEvent
410 + time_grain: PT1M
411 + series:
412 + - aggregation: average
413 + kind: gauge
414 +- id: context_namespaces_per_event
415 + azure_name: ContextNamespacesPerEvent
416 + time_grain: PT1M
417 + series:
418 + - aggregation: average
419 + kind: gauge
420 +- id: slot_namespaces_per_event
421 + azure_name: SlotNamespacesPerEvent
422 + time_grain: PT1M
423 + series:
424 + - aggregation: average
425 + kind: gauge
426 +- id: reward
427 + azure_name: Reward
428 + time_grain: PT1M
429 + series:
430 + - aggregation: average
431 + kind: gauge
432 +- id: slot_reward
433 + azure_name: SlotReward
434 + time_grain: PT1M
435 + series:
436 + - aggregation: average
437 + kind: gauge
438 +- id: baseline_estimator_overall_reward
439 + azure_name: BaselineEstimatorOverallReward
440 + time_grain: PT1M
441 + series:
442 + - aggregation: average
443 + kind: gauge
444 +- id: baseline_estimator_slot_reward
445 + azure_name: BaselineEstimatorSlotReward
446 + time_grain: PT1M
447 + series:
448 + - aggregation: average
449 + kind: gauge
450 +- id: baseline_random_estimator_overall_reward
451 + azure_name: BaselineRandomEstimatorOverallReward
452 + time_grain: PT1M
453 + series:
454 + - aggregation: average
455 + kind: gauge
456 +- id: baseline_random_estimator_slot_reward
457 + azure_name: BaselineRandomEstimatorSlotReward
458 + time_grain: PT1M
459 + series:
460 + - aggregation: average
461 + kind: gauge
462 +- id: number_of_slots
463 + azure_name: NumberOfSlots
464 + time_grain: PT1M
465 + series:
466 + - aggregation: average
467 + kind: gauge
468 +- id: online_estimator_overall_reward
469 + azure_name: OnlineEstimatorOverallReward
470 + time_grain: PT1M
471 + series:
472 + - aggregation: average
473 + kind: gauge
474 +- id: online_estimator_slot_reward
475 + azure_name: OnlineEstimatorSlotReward
476 + time_grain: PT1M
477 + series:
478 + - aggregation: average
479 + kind: gauge
480 +- id: slot_id_occurrences
481 + azure_name: SlotIdOccurrences
482 + time_grain: PT1M
483 + series:
484 + - aggregation: total
485 + kind: counter
486 +- id: baseline_random_event_count
487 + azure_name: BaselineRandomEventCount
488 + time_grain: PT1M
489 + series:
490 + - aggregation: total
491 + kind: counter
492 +- id: baseline_random_reward
493 + azure_name: BaselineRandomReward
494 + time_grain: PT1M
495 + series:
496 + - aggregation: total
497 + kind: counter
498 +- id: online_event_count
499 + azure_name: OnlineEventCount
500 + time_grain: PT1M
501 + series:
502 + - aggregation: total
503 + kind: counter
504 +- id: online_reward
505 + azure_name: OnlineReward
506 + time_grain: PT1M
507 + series:
508 + - aggregation: total
509 + kind: counter
510 +- id: user_baseline_event_count
511 + azure_name: UserBaselineEventCount
512 + time_grain: PT1M
513 + series:
514 + - aggregation: total
515 + kind: counter
516 +- id: user_baseline_reward
517 + azure_name: UserBaselineReward
518 + time_grain: PT1M
519 + series:
520 + - aggregation: total
521 + kind: counter
522 +- id: audio_seconds_transcribed
523 + azure_name: AudioSecondsTranscribed
524 + time_grain: PT1M
525 + series:
526 + - aggregation: total
527 + kind: counter
528 +- id: audio_seconds_batch_transcribed
529 + azure_name: AudioSecondsBatchTranscribed
530 + time_grain: PT1M
531 + series:
532 + - aggregation: total
533 + kind: counter
534 +- id: audio_seconds_batch_whisper_transcribed
535 + azure_name: AudioSecondsBatchWhisperTranscribed
536 + time_grain: PT1M
537 + series:
538 + - aggregation: total
539 + kind: counter
540 +- id: audio_seconds_fast_transcribed
541 + azure_name: AudioSecondsFastTranscribed
542 + time_grain: PT1M
543 + series:
544 + - aggregation: total
545 + kind: counter
546 +- id: audio_seconds_fast_whisper_transcribed
547 + azure_name: AudioSecondsFastWhisperTranscribed
548 + time_grain: PT1M
549 + series:
550 + - aggregation: total
551 + kind: counter
552 +- id: audio_seconds_translated
553 + azure_name: AudioSecondsTranslated
554 + time_grain: PT1M
555 + series:
556 + - aggregation: total
557 + kind: counter
558 +- id: avatar_model_hosting_seconds
559 + azure_name: AvatarModelHostingSeconds
560 + time_grain: PT1M
561 + series:
562 + - aggregation: total
563 + kind: counter
564 +- id: avatar_model_training_seconds
565 + azure_name: AvatarModelTrainingSeconds
566 + time_grain: PT1M
567 + series:
568 + - aggregation: total
569 + kind: counter
570 +- id: numberof_speaker_profiles
571 + azure_name: NumberofSpeakerProfiles
572 + time_grain: PT1M
573 + series:
574 + - aggregation: total
575 + kind: counter
576 +- id: speaker_recognition_transactions
577 + azure_name: SpeakerRecognitionTransactions
578 + time_grain: PT1M
579 + series:
580 + - aggregation: total
581 + kind: counter
582 +- id: speech_model_hosting_hours
583 + azure_name: SpeechModelHostingHours
584 + time_grain: PT1M
585 + series:
586 + - aggregation: total
587 + kind: counter
588 +- id: synthesized_characters
589 + azure_name: SynthesizedCharacters
590 + time_grain: PT1M
591 + series:
592 + - aggregation: total
593 + kind: counter
594 +- id: video_seconds_synthesized
595 + azure_name: VideoSecondsSynthesized
596 + time_grain: PT1M
597 + series:
598 + - aggregation: total
599 + kind: counter
600 +- id: voice_live_audio_input_tokens
601 + azure_name: VoiceLiveAudioInputTokens
602 + time_grain: PT1M
603 + series:
604 + - aggregation: total
605 + kind: counter
606 +- id: voice_live_audio_output_tokens
607 + azure_name: VoiceLiveAudioOutputTokens
608 + time_grain: PT1M
609 + series:
610 + - aggregation: total
611 + kind: counter
612 +- id: voice_live_cached_audio_input_tokens
613 + azure_name: VoiceLiveCachedAudioInputTokens
614 + time_grain: PT1M
615 + series:
616 + - aggregation: total
617 + kind: counter
618 +- id: voice_live_cached_text_input_tokens
619 + azure_name: VoiceLiveCachedTextInputTokens
620 + time_grain: PT1M
621 + series:
622 + - aggregation: total
623 + kind: counter
624 +- id: voice_live_text_input_tokens
625 + azure_name: VoiceLiveTextInputTokens
626 + time_grain: PT1M
627 + series:
628 + - aggregation: total
629 + kind: counter
630 +- id: voice_live_text_output_tokens
631 + azure_name: VoiceLiveTextOutputTokens
632 + time_grain: PT1M
633 + series:
634 + - aggregation: total
635 + kind: counter
636 +- id: voice_model_hosting_hours
637 + azure_name: VoiceModelHostingHours
638 + time_grain: PT1M
639 + series:
640 + - aggregation: total
641 + kind: counter
642 +- id: voice_model_training_minutes
643 + azure_name: VoiceModelTrainingMinutes
644 + time_grain: PT1M
645 + series:
646 + - aggregation: total
647 + kind: counter
648 +- id: document_characters_translated
649 + azure_name: DocumentCharactersTranslated
650 + time_grain: PT1M
651 + series:
652 + - aggregation: total
653 + kind: counter
654 +- id: document_custom_characters_translated
655 + azure_name: DocumentCustomCharactersTranslated
656 + time_grain: PT1M
657 + series:
658 + - aggregation: total
659 + kind: counter
660 +- id: one_document_characters_translated
661 + azure_name: OneDocumentCharactersTranslated
662 + time_grain: PT1M
663 + series:
664 + - aggregation: total
665 + kind: counter
666 +- id: one_document_custom_characters_translated
667 + azure_name: OneDocumentCustomCharactersTranslated
668 + time_grain: PT1M
669 + series:
670 + - aggregation: total
671 + kind: counter
672 +- id: text_characters_translated
673 + azure_name: TextCharactersTranslated
674 + time_grain: PT1M
675 + series:
676 + - aggregation: total
677 + kind: counter
678 +- id: text_custom_characters_translated
679 + azure_name: TextCustomCharactersTranslated
680 + time_grain: PT1M
681 + series:
682 + - aggregation: total
683 + kind: counter
684 +- id: text_trained_characters
685 + azure_name: TextTrainedCharacters
686 + time_grain: PT1M
687 + series:
688 + - aggregation: total
689 + kind: counter
690 +- id: translator_pro_app_seconds
691 + azure_name: TranslatorProAppSeconds
692 + time_grain: PT1M
693 + series:
694 + - aggregation: total
695 + kind: counter
696 +- id: carnegie_inference_count
697 + azure_name: CarnegieInferenceCount
698 + time_grain: PT1M
699 + series:
700 + - aggregation: total
701 + kind: counter
702 +- id: computer_vision_transactions
703 + azure_name: ComputerVisionTransactions
704 + time_grain: PT1M
705 + series:
706 + - aggregation: total
707 + kind: counter
708 +- id: custom_vision_training_time
709 + azure_name: CustomVisionTrainingTime
710 + time_grain: PT1M
711 + series:
712 + - aggregation: total
713 + kind: counter
714 +- id: custom_vision_transactions
715 + azure_name: CustomVisionTransactions
716 + time_grain: PT1M
717 + series:
718 + - aggregation: total
719 + kind: counter
720 +- id: face_images_trained
721 + azure_name: FaceImagesTrained
722 + time_grain: PT1M
723 + series:
724 + - aggregation: total
725 + kind: counter
726 +- id: faces_stored
727 + azure_name: FacesStored
728 + time_grain: PT1M
729 + series:
730 + - aggregation: total
731 + kind: counter
732 +- id: face_transactions
733 + azure_name: FaceTransactions
734 + time_grain: PT1M
735 + series:
736 + - aggregation: total
737 + kind: counter
738 +- id: images_stored
739 + azure_name: ImagesStored
740 + time_grain: PT1M
741 + series:
742 + - aggregation: total
743 + kind: counter
744 +- id: learned_events
745 + azure_name: LearnedEvents
746 + time_grain: PT1M
747 + series:
748 + - aggregation: total
749 + kind: counter
750 +- id: luis_speech_requests
751 + azure_name: LUISSpeechRequests
752 + time_grain: PT1M
753 + series:
754 + - aggregation: total
755 + kind: counter
756 +- id: luis_text_requests
757 + azure_name: LUISTextRequests
758 + time_grain: PT1M
759 + series:
760 + - aggregation: total
761 + kind: counter
762 +- id: matched_rewards
763 + azure_name: MatchedRewards
764 + time_grain: PT1M
765 + series:
766 + - aggregation: total
767 + kind: counter
768 +- id: non_activated_events
769 + azure_name: NonActivatedEvents
770 + time_grain: PT1M
771 + series:
772 + - aggregation: total
773 + kind: counter
774 +- id: observed_rewards
775 + azure_name: ObservedRewards
776 + time_grain: PT1M
777 + series:
778 + - aggregation: total
779 + kind: counter
780 +- id: processed_characters
781 + azure_name: ProcessedCharacters
782 + time_grain: PT1M
783 + series:
784 + - aggregation: total
785 + kind: counter
786 +- id: processed_health_text_records
787 + azure_name: ProcessedHealthTextRecords
788 + time_grain: PT1M
789 + series:
790 + - aggregation: total
791 + kind: counter
792 +- id: processed_images
793 + azure_name: ProcessedImages
794 + time_grain: PT1M
795 + series:
796 + - aggregation: total
797 + kind: counter
798 +- id: processed_pages
799 + azure_name: ProcessedPages
800 + time_grain: PT1M
801 + series:
802 + - aggregation: total
803 + kind: counter
804 +- id: processed_text_records
805 + azure_name: ProcessedTextRecords
806 + time_grain: PT1M
807 + series:
808 + - aggregation: total
809 + kind: counter
810 +- id: question_answering_text_records
811 + azure_name: QuestionAnsweringTextRecords
812 + time_grain: PT1M
813 + series:
814 + - aggregation: total
815 + kind: counter
816 +- id: total_events
817 + azure_name: TotalEvents
818 + time_grain: PT1M
819 + series:
820 + - aggregation: total
821 + kind: counter
822 +template:
823 + family: Azure Cognitive Services
824 + context_namespace: cognitive_services
825 + chart_defaults:
826 + label_promotion:
827 + - resource_name
828 + - resource_group
829 + - region
830 + - resource_type
831 + - profile
832 + instances:
833 + by_labels:
834 + - resource_uid
835 + charts:
836 + - id: am_azure_cognitive_services__availability
837 + title: Azure Cognitive Services Availability
838 + context: availability
839 + family: Availability
840 + type: line
841 + units: percentage
842 + algorithm: absolute
843 + dimensions:
844 + - selector: cognitive_services.success_rate_average
845 + name: availability
846 + - id: am_azure_cognitive_services__calls
847 + title: Azure Cognitive Services Calls
848 + context: calls
849 + family: HTTP Requests
850 + type: line
851 + units: calls/s
852 + algorithm: incremental
853 + dimensions:
854 + - selector: cognitive_services.total_calls_total
855 + name: total
856 + - selector: cognitive_services.successful_calls_total
857 + name: successful
858 + - selector: cognitive_services.blocked_calls_total
859 + name: blocked
860 + - selector: cognitive_services.total_token_calls_total
861 + name: token
862 + - id: am_azure_cognitive_services__errors
863 + title: Azure Cognitive Services Errors
864 + context: errors
865 + family: HTTP Requests
866 + type: line
867 + units: errors/s
868 + algorithm: incremental
869 + dimensions:
870 + - selector: cognitive_services.total_errors_total
871 + name: total
872 + - selector: cognitive_services.client_errors_total
873 + name: client
874 + - selector: cognitive_services.server_errors_total
875 + name: server
876 + - id: am_azure_cognitive_services__latency
877 + title: Azure Cognitive Services Latency
878 + context: latency
879 + family: Performance
880 + type: line
881 + units: milliseconds
882 + algorithm: absolute
883 + dimensions:
884 + - selector: cognitive_services.latency_average
885 + name: average
886 + - id: am_azure_cognitive_services__data_transfer
887 + title: Azure Cognitive Services Data Transfer
888 + context: data_transfer
889 + family: HTTP Requests
890 + type: line
891 + units: bytes/s
892 + algorithm: incremental
893 + dimensions:
894 + - selector: cognitive_services.data_in_total
895 + name: in
896 + - selector: cognitive_services.data_out_total
897 + name: out
898 + - id: am_azure_cognitive_services__rate_limit
899 + title: Azure Cognitive Services Rate Limit
900 + context: rate_limit
901 + family: HTTP Requests
902 + type: line
903 + units: requests/s
904 + algorithm: incremental
905 + dimensions:
906 + - selector: cognitive_services.ratelimit_total
907 + name: rate_limit
908 + - id: am_azure_cognitive_services__openai_availability
909 + title: Azure OpenAI Availability
910 + context: openai_availability
911 + family: Azure OpenAI
912 + type: line
913 + units: percentage
914 + algorithm: absolute
915 + dimensions:
916 + - selector: cognitive_services.azure_open_ai_availability_rate_average
917 + name: availability
918 + - id: am_azure_cognitive_services__openai_requests
919 + title: Azure OpenAI Requests
920 + context: openai_requests
921 + family: Azure OpenAI
922 + type: line
923 + units: requests/s
924 + algorithm: incremental
925 + dimensions:
926 + - selector: cognitive_services.azure_open_ai_requests_total
927 + name: requests
928 + - id: am_azure_cognitive_services__openai_latency
929 + title: Azure OpenAI Latency
930 + context: openai_latency
931 + family: Azure OpenAI
932 + type: line
933 + units: milliseconds
934 + algorithm: absolute
935 + dimensions:
936 + - selector: cognitive_services.azure_open_ai_time_to_response_average
937 + name: time_to_response
938 + - selector: cognitive_services.azure_open_ai_normalized_ttft_in_ms_average
939 + name: time_to_first_token
940 + - selector: cognitive_services.azure_open_ai_normalized_tbt_in_ms_average
941 + name: time_between_tokens
942 + - selector: cognitive_services.azure_open_aittlt_in_ms_average
943 + name: time_to_last_byte
944 + - id: am_azure_cognitive_services__openai_generation_speed
945 + title: Azure OpenAI Token Generation Speed
946 + context: openai_generation_speed
947 + family: Azure OpenAI
948 + type: line
949 + units: tokens/s
950 + algorithm: absolute
951 + dimensions:
952 + - selector: cognitive_services.azure_open_ai_token_per_second_average
953 + name: tokens_per_second
954 + - id: am_azure_cognitive_services__openai_token_usage
955 + title: Azure OpenAI Token Usage
956 + context: openai_token_usage
957 + family: Azure OpenAI
958 + type: line
959 + units: tokens/s
960 + algorithm: incremental
961 + dimensions:
962 + - selector: cognitive_services.token_transaction_total
963 + name: total
964 + - selector: cognitive_services.processed_prompt_tokens_total
965 + name: prompt
966 + - selector: cognitive_services.generated_tokens_total
967 + name: generated
968 + - selector: cognitive_services.active_tokens_total
969 + name: active
970 + - id: am_azure_cognitive_services__openai_audio_tokens
971 + title: Azure OpenAI Audio Tokens
972 + context: openai_audio_tokens
973 + family: Azure OpenAI
974 + type: line
975 + units: tokens/s
976 + algorithm: incremental
977 + dimensions:
978 + - selector: cognitive_services.audio_prompt_tokens_total
979 + name: prompt
980 + - selector: cognitive_services.audio_completion_tokens_total
981 + name: completion
982 + - id: am_azure_cognitive_services__openai_cache_match_rate
983 + title: Azure OpenAI Prompt Token Cache Match Rate
984 + context: openai_cache_match_rate
985 + family: Azure OpenAI
986 + type: line
987 + units: percentage
988 + algorithm: absolute
989 + dimensions:
990 + - selector: cognitive_services.azure_open_ai_context_tokens_cache_match_rate_average
991 + name: cache_match_rate
992 + - id: am_azure_cognitive_services__openai_provisioned_utilization
993 + title: Azure OpenAI Provisioned-managed Utilization
994 + context: openai_provisioned_utilization
995 + family: Azure OpenAI
996 + type: line
997 + units: percentage
998 + algorithm: absolute
999 + dimensions:
1000 + - selector: cognitive_services.azure_open_ai_provisioned_managed_utilization_v2_average
1001 + name: utilization
1002 + - id: am_azure_cognitive_services__openai_finetuning
1003 + title: Azure OpenAI Fine-Tuning Training Hours
1004 + context: openai_finetuning
1005 + family: Azure OpenAI
1006 + type: line
1007 + units: hours/s
1008 + algorithm: incremental
1009 + dimensions:
1010 + - selector: cognitive_services.fine_tuned_training_hours_total
1011 + name: training_hours
1012 + - id: am_azure_cognitive_services__openai_realtime_usage
1013 + title: Azure OpenAI Realtime API Usage
1014 + context: openai_realtime_usage
1015 + family: Azure OpenAI
1016 + type: line
1017 + units: seconds/s
1018 + algorithm: incremental
1019 + dimensions:
1020 + - selector: cognitive_services.realtime_usage_time_total
1021 + name: seconds_used
1022 + - id: am_azure_cognitive_services__model_availability
1023 + title: Azure Cognitive Services Model Availability
1024 + context: model_availability
1025 + family: Models
1026 + type: line
1027 + units: percentage
1028 + algorithm: absolute
1029 + dimensions:
1030 + - selector: cognitive_services.model_availability_rate_average
1031 + name: availability
1032 + - id: am_azure_cognitive_services__model_requests
1033 + title: Azure Cognitive Services Model Requests
1034 + context: model_requests
1035 + family: Models
1036 + type: line
1037 + units: requests/s
1038 + algorithm: incremental
1039 + dimensions:
1040 + - selector: cognitive_services.model_requests_total
1041 + name: requests
1042 + - id: am_azure_cognitive_services__model_latency
1043 + title: Azure Cognitive Services Model Latency
1044 + context: model_latency
1045 + family: Models
1046 + type: line
1047 + units: milliseconds
1048 + algorithm: absolute
1049 + dimensions:
1050 + - selector: cognitive_services.time_to_response_average
1051 + name: time_to_response
1052 + - selector: cognitive_services.normalized_time_to_first_token_average
1053 + name: time_to_first_token
1054 + - selector: cognitive_services.normalized_time_between_tokens_average
1055 + name: time_between_tokens
1056 + - selector: cognitive_services.time_to_last_byte_average
1057 + name: time_to_last_byte
1058 + - id: am_azure_cognitive_services__model_generation_speed
1059 + title: Azure Cognitive Services Model Token Generation Speed
1060 + context: model_generation_speed
1061 + family: Models
1062 + type: line
1063 + units: tokens/s
1064 + algorithm: absolute
1065 + dimensions:
1066 + - selector: cognitive_services.tokens_per_second_average
1067 + name: tokens_per_second
1068 + - id: am_azure_cognitive_services__model_token_usage
1069 + title: Azure Cognitive Services Model Token Usage
1070 + context: model_token_usage
1071 + family: Models
1072 + type: line
1073 + units: tokens/s
1074 + algorithm: incremental
1075 + dimensions:
1076 + - selector: cognitive_services.total_tokens_total
1077 + name: total
1078 + - selector: cognitive_services.input_tokens_total
1079 + name: input
1080 + - selector: cognitive_services.output_tokens_total
1081 + name: output
1082 + - id: am_azure_cognitive_services__model_audio_tokens
1083 + title: Azure Cognitive Services Model Audio Tokens
1084 + context: model_audio_tokens
1085 + family: Models
1086 + type: line
1087 + units: tokens/s
1088 + algorithm: incremental
1089 + dimensions:
1090 + - selector: cognitive_services.audio_input_tokens_total
1091 + name: input
1092 + - selector: cognitive_services.audio_output_tokens_total
1093 + name: output
1094 + - id: am_azure_cognitive_services__model_cache_tokens
1095 + title: Azure Cognitive Services Model Cache Tokens
1096 + context: model_cache_tokens
1097 + family: Models
1098 + type: line
1099 + units: tokens/s
1100 + algorithm: incremental
1101 + dimensions:
1102 + - selector: cognitive_services.cache_read_input_tokens_total
1103 + name: cache_read
1104 + - selector: cognitive_services.ephemeral1h_input_tokens_total
1105 + name: cache_write_1h
1106 + - selector: cognitive_services.ephemeral5m_input_tokens_total
1107 + name: cache_write_5m
1108 + - id: am_azure_cognitive_services__model_provisioned_utilization
1109 + title: Azure Cognitive Services Model Provisioned Utilization
1110 + context: model_provisioned_utilization
1111 + family: Models
1112 + type: line
1113 + units: percentage
1114 + algorithm: absolute
1115 + dimensions:
1116 + - selector: cognitive_services.provisioned_utilization_average
1117 + name: utilization
1118 + - id: am_azure_cognitive_services__model_pages
1119 + title: Azure Cognitive Services Model Pages Processed
1120 + context: model_pages
1121 + family: Models
1122 + type: line
1123 + units: pages/s
1124 + algorithm: incremental
1125 + dimensions:
1126 + - selector: cognitive_services.total_pages_total
1127 + name: total
1128 + - selector: cognitive_services.annotated_pages_total
1129 + name: annotated
1130 + - id: am_azure_cognitive_services__model_generated_images
1131 + title: Azure Cognitive Services Generated Images
1132 + context: model_generated_images
1133 + family: Models
1134 + type: line
1135 + units: images/s
1136 + algorithm: incremental
1137 + dimensions:
1138 + - selector: cognitive_services.generated_images_total
1139 + name: generated
1140 + - id: am_azure_cognitive_services__content_safety_requests
1141 + title: Azure Cognitive Services Content Safety Requests
1142 + context: content_safety_requests
1143 + family: Content Safety
1144 + type: line
1145 + units: requests/s
1146 + algorithm: incremental
1147 + dimensions:
1148 + - selector: cognitive_services.rai_total_requests_total
1149 + name: total
1150 + - selector: cognitive_services.rai_harmful_requests_total
1151 + name: harmful
1152 + - selector: cognitive_services.rai_rejected_requests_total
1153 + name: blocked
1154 + - id: am_azure_cognitive_services__content_safety_abusive_users
1155 + title: Azure Cognitive Services Potentially Abusive Users
1156 + context: content_safety_abusive_users
1157 + family: Content Safety
1158 + type: line
1159 + units: users/s
1160 + algorithm: incremental
1161 + dimensions:
1162 + - selector: cognitive_services.rai_abusive_users_count_total
1163 + name: abusive_users
1164 + - id: am_azure_cognitive_services__content_safety_system_events
1165 + title: Azure Cognitive Services Safety System Events
1166 + context: content_safety_system_events
1167 + family: Content Safety
1168 + type: line
1169 + units: events
1170 + algorithm: absolute
1171 + dimensions:
1172 + - selector: cognitive_services.rai_system_event_average
1173 + name: events
1174 + - id: am_azure_cognitive_services__content_safety_moderation
1175 + title: Azure Cognitive Services Content Moderation Calls
1176 + context: content_safety_moderation
1177 + family: Content Safety
1178 + type: line
1179 + units: requests/s
1180 + algorithm: incremental
1181 + dimensions:
1182 + - selector: cognitive_services.content_safety_text_analyze_request_count_total
1183 + name: text
1184 + - selector: cognitive_services.content_safety_image_analyze_request_count_total
1185 + name: image
1186 + - id: am_azure_cognitive_services__job_duration
1187 + title: Azure Cognitive Services Job Duration
1188 + context: job_duration
1189 + family: Language
1190 + type: line
1191 + units: milliseconds
1192 + algorithm: absolute
1193 + dimensions:
1194 + - selector: cognitive_services.job_duration_average
1195 + name: average
1196 + - id: am_azure_cognitive_services__personalizer_actions
1197 + title: Azure Cognitive Services Personalizer Action Occurrences
1198 + context: personalizer_actions
1199 + family: Personalizer
1200 + type: line
1201 + units: occurrences/s
1202 + algorithm: incremental
1203 + dimensions:
1204 + - selector: cognitive_services.action_id_occurrences_total
1205 + name: occurrences
1206 + - id: am_azure_cognitive_services__personalizer_actions_per_event
1207 + title: Azure Cognitive Services Personalizer Actions Per Event
1208 + context: personalizer_actions_per_event
1209 + family: Personalizer
1210 + type: line
1211 + units: actions
1212 + algorithm: absolute
1213 + dimensions:
1214 + - selector: cognitive_services.actions_per_event_average
1215 + name: average
1216 + - id: am_azure_cognitive_services__personalizer_feature_occurrences
1217 + title: Azure Cognitive Services Personalizer Feature Occurrences
1218 + context: personalizer_feature_occurrences
1219 + family: Personalizer
1220 + type: line
1221 + units: occurrences/s
1222 + algorithm: incremental
1223 + dimensions:
1224 + - selector: cognitive_services.action_feature_id_occurrences_total
1225 + name: action
1226 + - selector: cognitive_services.context_feature_id_occurrences_total
1227 + name: context
1228 + - selector: cognitive_services.slot_feature_id_occurrences_total
1229 + name: slot
1230 + - id: am_azure_cognitive_services__personalizer_feature_cardinality
1231 + title: Azure Cognitive Services Personalizer Feature Cardinality
1232 + context: personalizer_feature_cardinality
1233 + family: Personalizer
1234 + type: line
1235 + units: features
1236 + algorithm: absolute
1237 + dimensions:
1238 + - selector: cognitive_services.feature_cardinality_action_average
1239 + name: action
1240 + - selector: cognitive_services.feature_cardinality_context_average
1241 + name: context
1242 + - selector: cognitive_services.feature_cardinality_slot_average
1243 + name: slot
1244 + - id: am_azure_cognitive_services__personalizer_features_per_event
1245 + title: Azure Cognitive Services Personalizer Features Per Event
1246 + context: personalizer_features_per_event
1247 + family: Personalizer
1248 + type: line
1249 + units: features
1250 + algorithm: absolute
1251 + dimensions:
1252 + - selector: cognitive_services.action_features_per_event_average
1253 + name: action
1254 + - selector: cognitive_services.context_features_per_event_average
1255 + name: context
1256 + - selector: cognitive_services.slot_features_per_event_average
1257 + name: slot
1258 + - id: am_azure_cognitive_services__personalizer_namespaces_per_event
1259 + title: Azure Cognitive Services Personalizer Namespaces Per Event
1260 + context: personalizer_namespaces_per_event
1261 + family: Personalizer
1262 + type: line
1263 + units: namespaces
1264 + algorithm: absolute
1265 + dimensions:
1266 + - selector: cognitive_services.action_namespaces_per_event_average
1267 + name: action
1268 + - selector: cognitive_services.context_namespaces_per_event_average
1269 + name: context
1270 + - selector: cognitive_services.slot_namespaces_per_event_average
1271 + name: slot
1272 + - id: am_azure_cognitive_services__personalizer_rewards
1273 + title: Azure Cognitive Services Personalizer Rewards
1274 + context: personalizer_rewards
1275 + family: Personalizer
1276 + type: line
1277 + units: reward
1278 + algorithm: absolute
1279 + dimensions:
1280 + - selector: cognitive_services.reward_average
1281 + name: average
1282 + - selector: cognitive_services.slot_reward_average
1283 + name: slot
1284 + - id: am_azure_cognitive_services__personalizer_estimator_rewards
1285 + title: Azure Cognitive Services Personalizer Estimator Rewards
1286 + context: personalizer_estimator_rewards
1287 + family: Personalizer
1288 + type: line
1289 + units: reward
1290 + algorithm: absolute
1291 + dimensions:
1292 + - selector: cognitive_services.online_estimator_overall_reward_average
1293 + name: online
1294 + - selector: cognitive_services.baseline_estimator_overall_reward_average
1295 + name: baseline
1296 + - selector: cognitive_services.baseline_random_estimator_overall_reward_average
1297 + name: baseline_random
1298 + - id: am_azure_cognitive_services__personalizer_estimator_slot_rewards
1299 + title: Azure Cognitive Services Personalizer Estimator Slot Rewards
1300 + context: personalizer_estimator_slot_rewards
1301 + family: Personalizer
1302 + type: line
1303 + units: reward
1304 + algorithm: absolute
1305 + dimensions:
1306 + - selector: cognitive_services.online_estimator_slot_reward_average
1307 + name: online
1308 + - selector: cognitive_services.baseline_estimator_slot_reward_average
1309 + name: baseline
1310 + - selector: cognitive_services.baseline_random_estimator_slot_reward_average
1311 + name: baseline_random
1312 + - id: am_azure_cognitive_services__personalizer_slots
1313 + title: Azure Cognitive Services Personalizer Slots
1314 + context: personalizer_slots
1315 + family: Personalizer
1316 + type: line
1317 + units: slots
1318 + algorithm: absolute
1319 + dimensions:
1320 + - selector: cognitive_services.number_of_slots_average
1321 + name: average
1322 + - id: am_azure_cognitive_services__personalizer_slot_occurrences
1323 + title: Azure Cognitive Services Personalizer Slot Occurrences
1324 + context: personalizer_slot_occurrences
1325 + family: Personalizer
1326 + type: line
1327 + units: occurrences/s
1328 + algorithm: incremental
1329 + dimensions:
1330 + - selector: cognitive_services.slot_id_occurrences_total
1331 + name: occurrences
1332 + - id: am_azure_cognitive_services__personalizer_event_counts
1333 + title: Azure Cognitive Services Personalizer Event Counts
1334 + context: personalizer_event_counts
1335 + family: Personalizer
1336 + type: line
1337 + units: events/s
1338 + algorithm: incremental
1339 + dimensions:
1340 + - selector: cognitive_services.online_event_count_total
1341 + name: online
1342 + - selector: cognitive_services.baseline_random_event_count_total
1343 + name: baseline_random
1344 + - selector: cognitive_services.user_baseline_event_count_total
1345 + name: user_baseline
1346 + - id: am_azure_cognitive_services__personalizer_estimated_rewards
1347 + title: Azure Cognitive Services Personalizer Estimated Rewards
1348 + context: personalizer_estimated_rewards
1349 + family: Personalizer
1350 + type: line
1351 + units: reward/s
1352 + algorithm: incremental
1353 + dimensions:
1354 + - selector: cognitive_services.online_reward_total
1355 + name: online
1356 + - selector: cognitive_services.baseline_random_reward_total
1357 + name: baseline_random
1358 + - selector: cognitive_services.user_baseline_reward_total
1359 + name: user_baseline
1360 + - id: am_azure_cognitive_services__speech_transcription
1361 + title: Azure Cognitive Services Speech Transcription
1362 + context: speech_transcription
1363 + family: Speech Services
1364 + type: line
1365 + units: seconds/s
1366 + algorithm: incremental
1367 + dimensions:
1368 + - selector: cognitive_services.audio_seconds_transcribed_total
1369 + name: realtime
1370 + - selector: cognitive_services.audio_seconds_batch_transcribed_total
1371 + name: batch
1372 + - selector: cognitive_services.audio_seconds_batch_whisper_transcribed_total
1373 + name: batch_whisper
1374 + - selector: cognitive_services.audio_seconds_fast_transcribed_total
1375 + name: fast
1376 + - selector: cognitive_services.audio_seconds_fast_whisper_transcribed_total
1377 + name: fast_whisper
1378 + - id: am_azure_cognitive_services__speech_translation
1379 + title: Azure Cognitive Services Speech Translation
1380 + context: speech_translation
1381 + family: Speech Services
1382 + type: line
1383 + units: seconds/s
1384 + algorithm: incremental
1385 + dimensions:
1386 + - selector: cognitive_services.audio_seconds_translated_total
1387 + name: translated
1388 + - id: am_azure_cognitive_services__speech_synthesis
1389 + title: Azure Cognitive Services Speech Synthesis
1390 + context: speech_synthesis
1391 + family: Speech Services
1392 + type: line
1393 + units: characters/s
1394 + algorithm: incremental
1395 + dimensions:
1396 + - selector: cognitive_services.synthesized_characters_total
1397 + name: synthesized
1398 + - id: am_azure_cognitive_services__speech_video_synthesis
1399 + title: Azure Cognitive Services Video Synthesis
1400 + context: speech_video_synthesis
1401 + family: Speech Services
1402 + type: line
1403 + units: seconds/s
1404 + algorithm: incremental
1405 + dimensions:
1406 + - selector: cognitive_services.video_seconds_synthesized_total
1407 + name: synthesized
1408 + - id: am_azure_cognitive_services__speech_avatar
1409 + title: Azure Cognitive Services Avatar Usage
1410 + context: speech_avatar
1411 + family: Speech Services
1412 + type: line
1413 + units: seconds/s
1414 + algorithm: incremental
1415 + dimensions:
1416 + - selector: cognitive_services.avatar_model_hosting_seconds_total
1417 + name: hosting
1418 + - selector: cognitive_services.avatar_model_training_seconds_total
1419 + name: training
1420 + - id: am_azure_cognitive_services__speech_speaker_recognition
1421 + title: Azure Cognitive Services Speaker Recognition
1422 + context: speech_speaker_recognition
1423 + family: Speech Services
1424 + type: line
1425 + units: transactions/s
1426 + algorithm: incremental
1427 + dimensions:
1428 + - selector: cognitive_services.speaker_recognition_transactions_total
1429 + name: transactions
1430 + - id: am_azure_cognitive_services__speech_speaker_profiles
1431 + title: Azure Cognitive Services Speaker Profiles
1432 + context: speech_speaker_profiles
1433 + family: Speech Services
1434 + type: line
1435 + units: profiles/s
1436 + algorithm: incremental
1437 + dimensions:
1438 + - selector: cognitive_services.numberof_speaker_profiles_total
1439 + name: profiles
1440 + - id: am_azure_cognitive_services__speech_model_hosting
1441 + title: Azure Cognitive Services Speech Model Hosting
1442 + context: speech_model_hosting
1443 + family: Speech Services
1444 + type: line
1445 + units: hours/s
1446 + algorithm: incremental
1447 + dimensions:
1448 + - selector: cognitive_services.speech_model_hosting_hours_total
1449 + name: hosting
1450 + - id: am_azure_cognitive_services__speech_voice_live_tokens
1451 + title: Azure Cognitive Services Voice Live Tokens
1452 + context: speech_voice_live_tokens
1453 + family: Speech Services
1454 + type: line
1455 + units: tokens/s
1456 + algorithm: incremental
1457 + dimensions:
1458 + - selector: cognitive_services.voice_live_audio_input_tokens_total
1459 + name: audio_input
1460 + - selector: cognitive_services.voice_live_audio_output_tokens_total
1461 + name: audio_output
1462 + - selector: cognitive_services.voice_live_cached_audio_input_tokens_total
1463 + name: cached_audio_input
1464 + - selector: cognitive_services.voice_live_text_input_tokens_total
1465 + name: text_input
1466 + - selector: cognitive_services.voice_live_text_output_tokens_total
1467 + name: text_output
1468 + - selector: cognitive_services.voice_live_cached_text_input_tokens_total
1469 + name: cached_text_input
1470 + - id: am_azure_cognitive_services__speech_voice_model
1471 + title: Azure Cognitive Services Voice Model Usage
1472 + context: speech_voice_model
1473 + family: Speech Services
1474 + type: line
1475 + units: hours/s
1476 + algorithm: incremental
1477 + dimensions:
1478 + - selector: cognitive_services.voice_model_hosting_hours_total
1479 + name: hosting
1480 + - id: am_azure_cognitive_services__speech_voice_training
1481 + title: Azure Cognitive Services Voice Model Training
1482 + context: speech_voice_training
1483 + family: Speech Services
1484 + type: line
1485 + units: minutes/s
1486 + algorithm: incremental
1487 + dimensions:
1488 + - selector: cognitive_services.voice_model_training_minutes_total
1489 + name: training
1490 + - id: am_azure_cognitive_services__translator_text
1491 + title: Azure Cognitive Services Translator Text Characters
1492 + context: translator_text
1493 + family: Translator
1494 + type: line
1495 + units: characters/s
1496 + algorithm: incremental
1497 + dimensions:
1498 + - selector: cognitive_services.text_characters_translated_total
1499 + name: standard
1500 + - selector: cognitive_services.text_custom_characters_translated_total
1501 + name: custom
1502 + - selector: cognitive_services.text_trained_characters_total
1503 + name: trained
1504 + - id: am_azure_cognitive_services__translator_document
1505 + title: Azure Cognitive Services Translator Document Characters
1506 + context: translator_document
1507 + family: Translator
1508 + type: line
1509 + units: characters/s
1510 + algorithm: incremental
1511 + dimensions:
1512 + - selector: cognitive_services.document_characters_translated_total
1513 + name: standard
1514 + - selector: cognitive_services.document_custom_characters_translated_total
1515 + name: custom
1516 + - id: am_azure_cognitive_services__translator_document_sync
1517 + title: Azure Cognitive Services Translator Document Sync Characters
1518 + context: translator_document_sync
1519 + family: Translator
1520 + type: line
1521 + units: characters/s
1522 + algorithm: incremental
1523 + dimensions:
1524 + - selector: cognitive_services.one_document_characters_translated_total
1525 + name: standard
1526 + - selector: cognitive_services.one_document_custom_characters_translated_total
1527 + name: custom
1528 + - id: am_azure_cognitive_services__translator_pro_app
1529 + title: Azure Cognitive Services Translator Pro App Usage
1530 + context: translator_pro_app
1531 + family: Translator
1532 + type: line
1533 + units: seconds/s
1534 + algorithm: incremental
1535 + dimensions:
1536 + - selector: cognitive_services.translator_pro_app_seconds_total
1537 + name: seconds
1538 + - id: am_azure_cognitive_services__vision_transactions
1539 + title: Azure Cognitive Services Vision Transactions
1540 + context: vision_transactions
1541 + family: Vision
1542 + type: line
1543 + units: transactions/s
1544 + algorithm: incremental
1545 + dimensions:
1546 + - selector: cognitive_services.computer_vision_transactions_total
1547 + name: computer_vision
1548 + - selector: cognitive_services.custom_vision_transactions_total
1549 + name: custom_vision
1550 + - id: am_azure_cognitive_services__vision_training
1551 + title: Azure Cognitive Services Custom Vision Training
1552 + context: vision_training
1553 + family: Vision
1554 + type: line
1555 + units: seconds/s
1556 + algorithm: incremental
1557 + dimensions:
1558 + - selector: cognitive_services.custom_vision_training_time_total
1559 + name: training_time
1560 + - id: am_azure_cognitive_services__vision_images_stored
1561 + title: Azure Cognitive Services Images Stored
1562 + context: vision_images_stored
1563 + family: Vision
1564 + type: line
1565 + units: images/s
1566 + algorithm: incremental
1567 + dimensions:
1568 + - selector: cognitive_services.images_stored_total
1569 + name: stored
1570 + - id: am_azure_cognitive_services__face_transactions
1571 + title: Azure Cognitive Services Face Transactions
1572 + context: face_transactions
1573 + family: Face
1574 + type: line
1575 + units: transactions/s
1576 + algorithm: incremental
1577 + dimensions:
1578 + - selector: cognitive_services.face_transactions_total
1579 + name: transactions
1580 + - id: am_azure_cognitive_services__face_images_trained
1581 + title: Azure Cognitive Services Face Images Trained
1582 + context: face_images_trained
1583 + family: Face
1584 + type: line
1585 + units: images/s
1586 + algorithm: incremental
1587 + dimensions:
1588 + - selector: cognitive_services.face_images_trained_total
1589 + name: trained
1590 + - id: am_azure_cognitive_services__faces_stored
1591 + title: Azure Cognitive Services Faces Stored
1592 + context: faces_stored
1593 + family: Face
1594 + type: line
1595 + units: faces/s
1596 + algorithm: incremental
1597 + dimensions:
1598 + - selector: cognitive_services.faces_stored_total
1599 + name: stored
1600 + - id: am_azure_cognitive_services__luis_requests
1601 + title: Azure Cognitive Services LUIS Requests
1602 + context: luis_requests
1603 + family: LUIS
1604 + type: line
1605 + units: requests/s
1606 + algorithm: incremental
1607 + dimensions:
1608 + - selector: cognitive_services.luis_speech_requests_total
1609 + name: speech
1610 + - selector: cognitive_services.luis_text_requests_total
1611 + name: text
1612 + - id: am_azure_cognitive_services__text_processing
1613 + title: Azure Cognitive Services Text Processing
1614 + context: text_processing
1615 + family: Text Processing
1616 + type: line
1617 + units: records/s
1618 + algorithm: incremental
1619 + dimensions:
1620 + - selector: cognitive_services.processed_text_records_total
1621 + name: text
1622 + - selector: cognitive_services.processed_health_text_records_total
1623 + name: health_text
1624 + - selector: cognitive_services.question_answering_text_records_total
1625 + name: question_answering
1626 + - id: am_azure_cognitive_services__processed_characters
1627 + title: Azure Cognitive Services Processed Characters
1628 + context: processed_characters
1629 + family: Text Processing
1630 + type: line
1631 + units: characters/s
1632 + algorithm: incremental
1633 + dimensions:
1634 + - selector: cognitive_services.processed_characters_total
1635 + name: characters
1636 + - id: am_azure_cognitive_services__processed_images
1637 + title: Azure Cognitive Services Processed Images
1638 + context: processed_images
1639 + family: Text Processing
1640 + type: line
1641 + units: images/s
1642 + algorithm: incremental
1643 + dimensions:
1644 + - selector: cognitive_services.processed_images_total
1645 + name: images
1646 + - id: am_azure_cognitive_services__processed_pages
1647 + title: Azure Cognitive Services Processed Pages
1648 + context: processed_pages
1649 + family: Text Processing
1650 + type: line
1651 + units: pages/s
1652 + algorithm: incremental
1653 + dimensions:
1654 + - selector: cognitive_services.processed_pages_total
1655 + name: pages
1656 + - id: am_azure_cognitive_services__carnegie_inference
1657 + title: Azure Cognitive Services Carnegie Inference
1658 + context: carnegie_inference
1659 + family: Content Safety
1660 + type: line
1661 + units: inferences/s
1662 + algorithm: incremental
1663 + dimensions:
1664 + - selector: cognitive_services.carnegie_inference_count_total
1665 + name: inferences
1666 + - id: am_azure_cognitive_services__personalizer_events
1667 + title: Azure Cognitive Services Personalizer Events
1668 + context: personalizer_events
1669 + family: Personalizer
1670 + type: line
1671 + units: events/s
1672 + algorithm: incremental
1673 + dimensions:
1674 + - selector: cognitive_services.total_events_total
1675 + name: total
1676 + - selector: cognitive_services.learned_events_total
1677 + name: learned
1678 + - selector: cognitive_services.non_activated_events_total
1679 + name: non_activated
1680 + - id: am_azure_cognitive_services__personalizer_reward_tracking
1681 + title: Azure Cognitive Services Personalizer Reward Tracking
1682 + context: personalizer_reward_tracking
1683 + family: Personalizer
1684 + type: line
1685 + units: rewards/s
1686 + algorithm: incremental
1687 + dimensions:
1688 + - selector: cognitive_services.matched_rewards_total
1689 + name: matched
1690 + - selector: cognitive_services.observed_rewards_total
1691 + name: observed
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/container_apps.yaml new
+463
@@ -0,0 +1,463 @@
1 +---
2 +id: container_apps
3 +name: Azure Container Apps
4 +resource_type: Microsoft.App/containerApps
5 +metrics:
6 +- id: usage_nano_cores
7 + azure_name: UsageNanoCores
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 + - aggregation: maximum
13 + kind: gauge
14 +- id: cpu_percentage
15 + azure_name: CpuPercentage
16 + time_grain: PT1M
17 + series:
18 + - aggregation: average
19 + kind: gauge
20 + - aggregation: maximum
21 + kind: gauge
22 +- id: working_set_bytes
23 + azure_name: WorkingSetBytes
24 + time_grain: PT1M
25 + series:
26 + - aggregation: average
27 + kind: gauge
28 + - aggregation: maximum
29 + kind: gauge
30 +- id: memory_percentage
31 + azure_name: MemoryPercentage
32 + time_grain: PT1M
33 + series:
34 + - aggregation: average
35 + kind: gauge
36 + - aggregation: maximum
37 + kind: gauge
38 +- id: replicas
39 + azure_name: Replicas
40 + time_grain: PT1M
41 + series:
42 + - aggregation: average
43 + kind: gauge
44 +- id: cores_quota_used
45 + azure_name: CoresQuotaUsed
46 + time_grain: PT1M
47 + series:
48 + - aggregation: maximum
49 + kind: gauge
50 +- id: total_cores_quota_used
51 + azure_name: TotalCoresQuotaUsed
52 + time_grain: PT1M
53 + series:
54 + - aggregation: average
55 + kind: gauge
56 +- id: restart_count
57 + azure_name: RestartCount
58 + time_grain: PT1M
59 + series:
60 + - aggregation: total
61 + kind: counter
62 +- id: requests
63 + azure_name: Requests
64 + time_grain: PT1M
65 + series:
66 + - aggregation: total
67 + kind: counter
68 +- id: response_time
69 + azure_name: ResponseTime
70 + time_grain: PT1M
71 + series:
72 + - aggregation: average
73 + kind: gauge
74 +- id: rx_bytes
75 + azure_name: RxBytes
76 + time_grain: PT1M
77 + series:
78 + - aggregation: total
79 + kind: counter
80 +- id: tx_bytes
81 + azure_name: TxBytes
82 + time_grain: PT1M
83 + series:
84 + - aggregation: total
85 + kind: counter
86 +- id: resiliency_connect_timeouts
87 + azure_name: ResiliencyConnectTimeouts
88 + time_grain: PT1M
89 + series:
90 + - aggregation: total
91 + kind: counter
92 +- id: resiliency_request_timeouts
93 + azure_name: ResiliencyRequestTimeouts
94 + time_grain: PT1M
95 + series:
96 + - aggregation: total
97 + kind: counter
98 +- id: resiliency_request_retries
99 + azure_name: ResiliencyRequestRetries
100 + time_grain: PT1M
101 + series:
102 + - aggregation: total
103 + kind: counter
104 +- id: resiliency_requests_pending_connection_pool
105 + azure_name: ResiliencyRequestsPendingConnectionPool
106 + time_grain: PT1M
107 + series:
108 + - aggregation: total
109 + kind: counter
110 +- id: resiliency_ejected_hosts
111 + azure_name: ResiliencyEjectedHosts
112 + time_grain: PT1M
113 + series:
114 + - aggregation: total
115 + kind: counter
116 +- id: resiliency_ejections_aborted
117 + azure_name: ResiliencyEjectionsAborted
118 + time_grain: PT1M
119 + series:
120 + - aggregation: total
121 + kind: counter
122 +- id: gpu_utilization_percentage
123 + azure_name: GpuUtilizationPercentage
124 + time_grain: PT1M
125 + series:
126 + - aggregation: average
127 + kind: gauge
128 + - aggregation: maximum
129 + kind: gauge
130 +- id: jvm_buffer_count
131 + azure_name: JvmBufferCount
132 + time_grain: PT1M
133 + series:
134 + - aggregation: average
135 + kind: gauge
136 +- id: jvm_buffer_memory_limit
137 + azure_name: JvmBufferMemoryLimit
138 + time_grain: PT1M
139 + series:
140 + - aggregation: average
141 + kind: gauge
142 +- id: jvm_buffer_memory_usage
143 + azure_name: JvmBufferMemoryUsage
144 + time_grain: PT1M
145 + series:
146 + - aggregation: average
147 + kind: gauge
148 +- id: jvm_gc_count
149 + azure_name: JvmGcCount
150 + time_grain: PT1M
151 + series:
152 + - aggregation: total
153 + kind: counter
154 +- id: jvm_gc_duration
155 + azure_name: JvmGcDuration
156 + time_grain: PT1M
157 + series:
158 + - aggregation: total
159 + kind: counter
160 +- id: jvm_memory_committed
161 + azure_name: JvmMemoryCommitted
162 + time_grain: PT1M
163 + series:
164 + - aggregation: average
165 + kind: gauge
166 +- id: jvm_memory_limit
167 + azure_name: JvmMemoryLimit
168 + time_grain: PT1M
169 + series:
170 + - aggregation: average
171 + kind: gauge
172 +- id: jvm_memory_used
173 + azure_name: JvmMemoryUsed
174 + time_grain: PT1M
175 + series:
176 + - aggregation: average
177 + kind: gauge
178 +- id: jvm_memory_total_committed
179 + azure_name: JvmMemoryTotalCommitted
180 + time_grain: PT1M
181 + series:
182 + - aggregation: average
183 + kind: gauge
184 +- id: jvm_memory_total_limit
185 + azure_name: JvmMemoryTotalLimit
186 + time_grain: PT1M
187 + series:
188 + - aggregation: average
189 + kind: gauge
190 +- id: jvm_memory_total_used
191 + azure_name: JvmMemoryTotalUsed
192 + time_grain: PT1M
193 + series:
194 + - aggregation: average
195 + kind: gauge
196 +- id: jvm_thread_count
197 + azure_name: JvmThreadCount
198 + time_grain: PT1M
199 + series:
200 + - aggregation: average
201 + kind: gauge
202 +template:
203 + family: Azure Container Apps
204 + context_namespace: container_apps
205 + chart_defaults:
206 + label_promotion:
207 + - resource_name
208 + - resource_group
209 + - region
210 + - resource_type
211 + - profile
212 + instances:
213 + by_labels:
214 + - resource_uid
215 + charts:
216 + - id: am_azure_container_apps__cpu_usage
217 + title: Azure Container Apps CPU Usage
218 + context: cpu_usage
219 + family: CPU
220 + type: line
221 + units: nanocores
222 + algorithm: absolute
223 + dimensions:
224 + - selector: container_apps.usage_nano_cores_average
225 + name: average
226 + - selector: container_apps.usage_nano_cores_maximum
227 + name: maximum
228 + - id: am_azure_container_apps__cpu_percentage
229 + title: Azure Container Apps CPU Percentage
230 + context: cpu_percentage
231 + family: CPU
232 + type: line
233 + units: percentage
234 + algorithm: absolute
235 + dimensions:
236 + - selector: container_apps.cpu_percentage_average
237 + name: average
238 + - selector: container_apps.cpu_percentage_maximum
239 + name: maximum
240 + - id: am_azure_container_apps__memory_working_set
241 + title: Azure Container Apps Memory Working Set
242 + context: memory_working_set
243 + family: Memory
244 + type: line
245 + units: bytes
246 + algorithm: absolute
247 + dimensions:
248 + - selector: container_apps.working_set_bytes_average
249 + name: average
250 + - selector: container_apps.working_set_bytes_maximum
251 + name: maximum
252 + - id: am_azure_container_apps__memory_percentage
253 + title: Azure Container Apps Memory Percentage
254 + context: memory_percentage
255 + family: Memory
256 + type: line
257 + units: percentage
258 + algorithm: absolute
259 + dimensions:
260 + - selector: container_apps.memory_percentage_average
261 + name: average
262 + - selector: container_apps.memory_percentage_maximum
263 + name: maximum
264 + - id: am_azure_container_apps__replicas
265 + title: Azure Container Apps Replica Count
266 + context: replicas
267 + family: Scaling
268 + type: line
269 + units: replicas
270 + algorithm: absolute
271 + dimensions:
272 + - selector: container_apps.replicas_average
273 + name: average
274 + - id: am_azure_container_apps__reserved_cores
275 + title: Azure Container Apps Reserved Cores
276 + context: reserved_cores
277 + family: Scaling
278 + type: line
279 + units: cores
280 + algorithm: absolute
281 + dimensions:
282 + - selector: container_apps.cores_quota_used_maximum
283 + name: per_revision
284 + - selector: container_apps.total_cores_quota_used_average
285 + name: total
286 + - id: am_azure_container_apps__restart_count
287 + title: Azure Container Apps Replica Restarts
288 + context: restart_count
289 + family: Scaling
290 + type: line
291 + units: restarts/s
292 + algorithm: incremental
293 + dimensions:
294 + - selector: container_apps.restart_count_total
295 + name: restarts
296 + - id: am_azure_container_apps__requests
297 + title: Azure Container Apps Requests
298 + context: requests
299 + family: Requests
300 + type: line
301 + units: requests/s
302 + algorithm: incremental
303 + dimensions:
304 + - selector: container_apps.requests_total
305 + name: requests
306 + - id: am_azure_container_apps__response_time
307 + title: Azure Container Apps Response Time
308 + context: response_time
309 + family: Requests
310 + type: line
311 + units: milliseconds
312 + algorithm: absolute
313 + dimensions:
314 + - selector: container_apps.response_time_average
315 + name: average
316 + - id: am_azure_container_apps__network
317 + title: Azure Container Apps Network Traffic
318 + context: network
319 + family: Network
320 + type: line
321 + units: bytes/s
322 + algorithm: incremental
323 + dimensions:
324 + - selector: container_apps.rx_bytes_total
325 + name: received
326 + - selector: container_apps.tx_bytes_total
327 + name: sent
328 + - id: am_azure_container_apps__resiliency_timeouts
329 + title: Azure Container Apps Resiliency Timeouts
330 + context: resiliency_timeouts
331 + family: Resiliency
332 + type: line
333 + units: timeouts/s
334 + algorithm: incremental
335 + dimensions:
336 + - selector: container_apps.resiliency_connect_timeouts_total
337 + name: connection
338 + - selector: container_apps.resiliency_request_timeouts_total
339 + name: request
340 + - id: am_azure_container_apps__resiliency_retries
341 + title: Azure Container Apps Resiliency Request Retries
342 + context: resiliency_retries
343 + family: Resiliency
344 + type: line
345 + units: retries/s
346 + algorithm: incremental
347 + dimensions:
348 + - selector: container_apps.resiliency_request_retries_total
349 + name: retries
350 + - id: am_azure_container_apps__resiliency_pending_connections
351 + title: Azure Container Apps Resiliency Pending Connection Pool
352 + context: resiliency_pending_connections
353 + family: Resiliency
354 + type: line
355 + units: requests/s
356 + algorithm: incremental
357 + dimensions:
358 + - selector: container_apps.resiliency_requests_pending_connection_pool_total
359 + name: pending
360 + - id: am_azure_container_apps__resiliency_ejections
361 + title: Azure Container Apps Resiliency Host Ejections
362 + context: resiliency_ejections
363 + family: Resiliency
364 + type: line
365 + units: ejections/s
366 + algorithm: incremental
367 + dimensions:
368 + - selector: container_apps.resiliency_ejected_hosts_total
369 + name: ejected
370 + - selector: container_apps.resiliency_ejections_aborted_total
371 + name: aborted
372 + - id: am_azure_container_apps__gpu_utilization
373 + title: Azure Container Apps GPU Utilization
374 + context: gpu_utilization
375 + family: GPU
376 + type: line
377 + units: percentage
378 + algorithm: absolute
379 + dimensions:
380 + - selector: container_apps.gpu_utilization_percentage_average
381 + name: average
382 + - selector: container_apps.gpu_utilization_percentage_maximum
383 + name: maximum
384 + - id: am_azure_container_apps__jvm_buffer_count
385 + title: Azure Container Apps JVM Buffer Count
386 + context: jvm_buffer_count
387 + family: JVM Buffers
388 + type: line
389 + units: buffers
390 + algorithm: absolute
391 + dimensions:
392 + - selector: container_apps.jvm_buffer_count_average
393 + name: average
394 + - id: am_azure_container_apps__jvm_buffer_memory
395 + title: Azure Container Apps JVM Buffer Memory
396 + context: jvm_buffer_memory
397 + family: JVM Buffers
398 + type: line
399 + units: bytes
400 + algorithm: absolute
401 + dimensions:
402 + - selector: container_apps.jvm_buffer_memory_usage_average
403 + name: used
404 + - selector: container_apps.jvm_buffer_memory_limit_average
405 + name: limit
406 + - id: am_azure_container_apps__jvm_gc_count
407 + title: Azure Container Apps JVM Garbage Collections
408 + context: jvm_gc_count
409 + family: JVM GC
410 + type: line
411 + units: collections/s
412 + algorithm: incremental
413 + dimensions:
414 + - selector: container_apps.jvm_gc_count_total
415 + name: collections
416 + - id: am_azure_container_apps__jvm_gc_duration
417 + title: Azure Container Apps JVM GC Duration
418 + context: jvm_gc_duration
419 + family: JVM GC
420 + type: line
421 + units: milliseconds/s
422 + algorithm: incremental
423 + dimensions:
424 + - selector: container_apps.jvm_gc_duration_total
425 + name: duration
426 + - id: am_azure_container_apps__jvm_memory_pool
427 + title: Azure Container Apps JVM Memory per Pool
428 + context: jvm_memory_pool
429 + family: JVM Memory
430 + type: line
431 + units: bytes
432 + algorithm: absolute
433 + dimensions:
434 + - selector: container_apps.jvm_memory_used_average
435 + name: used
436 + - selector: container_apps.jvm_memory_committed_average
437 + name: committed
438 + - selector: container_apps.jvm_memory_limit_average
439 + name: limit
440 + - id: am_azure_container_apps__jvm_memory_total
441 + title: Azure Container Apps JVM Memory Total
442 + context: jvm_memory_total
443 + family: JVM Memory
444 + type: line
445 + units: bytes
446 + algorithm: absolute
447 + dimensions:
448 + - selector: container_apps.jvm_memory_total_used_average
449 + name: used
450 + - selector: container_apps.jvm_memory_total_committed_average
451 + name: committed
452 + - selector: container_apps.jvm_memory_total_limit_average
453 + name: limit
454 + - id: am_azure_container_apps__jvm_thread_count
455 + title: Azure Container Apps JVM Thread Count
456 + context: jvm_thread_count
457 + family: JVM Threads
458 + type: line
459 + units: threads
460 + algorithm: absolute
461 + dimensions:
462 + - selector: container_apps.jvm_thread_count_average
463 + name: average
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/container_instances.yaml new
+83
@@ -0,0 +1,83 @@
1 +---
2 +id: container_instances
3 +name: Azure Container Instances
4 +resource_type: Microsoft.ContainerInstance/containerGroups
5 +metrics:
6 +- id: cpu_usage
7 + azure_name: CpuUsage
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 + - aggregation: maximum
13 + kind: gauge
14 +- id: memory_usage
15 + azure_name: MemoryUsage
16 + time_grain: PT1M
17 + series:
18 + - aggregation: average
19 + kind: gauge
20 + - aggregation: maximum
21 + kind: gauge
22 +- id: network_bytes_received_per_second
23 + azure_name: NetworkBytesReceivedPerSecond
24 + time_grain: PT1M
25 + series:
26 + - aggregation: average
27 + kind: gauge
28 +- id: network_bytes_transmitted_per_second
29 + azure_name: NetworkBytesTransmittedPerSecond
30 + time_grain: PT1M
31 + series:
32 + - aggregation: average
33 + kind: gauge
34 +template:
35 + family: Azure Container Instances
36 + context_namespace: container_instances
37 + chart_defaults:
38 + label_promotion:
39 + - resource_name
40 + - resource_group
41 + - region
42 + - resource_type
43 + - profile
44 + instances:
45 + by_labels:
46 + - resource_uid
47 + charts:
48 + - id: am_azure_container_instances__cpu_usage
49 + title: Azure Container Instances CPU Usage
50 + context: cpu_usage
51 + family: CPU
52 + type: line
53 + units: millicores
54 + algorithm: absolute
55 + dimensions:
56 + - selector: container_instances.cpu_usage_average
57 + name: average
58 + - selector: container_instances.cpu_usage_maximum
59 + name: maximum
60 + - id: am_azure_container_instances__memory_usage
61 + title: Azure Container Instances Memory Usage
62 + context: memory_usage
63 + family: Memory
64 + type: line
65 + units: bytes
66 + algorithm: absolute
67 + dimensions:
68 + - selector: container_instances.memory_usage_average
69 + name: average
70 + - selector: container_instances.memory_usage_maximum
71 + name: maximum
72 + - id: am_azure_container_instances__network
73 + title: Azure Container Instances Network Traffic
74 + context: network
75 + family: Network
76 + type: line
77 + units: bytes/s
78 + algorithm: absolute
79 + dimensions:
80 + - selector: container_instances.network_bytes_received_per_second_average
81 + name: received
82 + - selector: container_instances.network_bytes_transmitted_per_second_average
83 + name: sent
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/container_registry.yaml new
+115
@@ -0,0 +1,115 @@
1 +---
2 +id: container_registry
3 +name: Azure Container Registry
4 +resource_type: Microsoft.ContainerRegistry/registries
5 +metrics:
6 +- id: storage_used
7 + azure_name: StorageUsed
8 + time_grain: PT1H
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: successful_pull_count
13 + azure_name: SuccessfulPullCount
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: successful_push_count
19 + azure_name: SuccessfulPushCount
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: counter
24 +- id: total_pull_count
25 + azure_name: TotalPullCount
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: total_push_count
31 + azure_name: TotalPushCount
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: counter
36 +- id: agent_pool_cpu_time
37 + azure_name: AgentPoolCPUTime
38 + time_grain: PT1M
39 + series:
40 + - aggregation: total
41 + kind: counter
42 +- id: run_duration
43 + azure_name: RunDuration
44 + time_grain: PT1M
45 + series:
46 + - aggregation: total
47 + kind: counter
48 +template:
49 + family: Azure Container Registry
50 + context_namespace: container_registry
51 + chart_defaults:
52 + label_promotion:
53 + - resource_name
54 + - resource_group
55 + - region
56 + - resource_type
57 + - profile
58 + instances:
59 + by_labels:
60 + - resource_uid
61 + charts:
62 + - id: am_azure_container_registry__storage_used
63 + title: Azure Container Registry Storage Used
64 + context: storage_used
65 + family: Storage
66 + type: line
67 + units: bytes
68 + algorithm: absolute
69 + dimensions:
70 + - selector: container_registry.storage_used_average
71 + name: used
72 + - id: am_azure_container_registry__pull_count
73 + title: Azure Container Registry Image Pulls
74 + context: pull_count
75 + family: Operations
76 + type: line
77 + units: pulls/s
78 + algorithm: incremental
79 + dimensions:
80 + - selector: container_registry.successful_pull_count_total
81 + name: successful
82 + - selector: container_registry.total_pull_count_total
83 + name: total
84 + - id: am_azure_container_registry__push_count
85 + title: Azure Container Registry Image Pushes
86 + context: push_count
87 + family: Operations
88 + type: line
89 + units: pushes/s
90 + algorithm: incremental
91 + dimensions:
92 + - selector: container_registry.successful_push_count_total
93 + name: successful
94 + - selector: container_registry.total_push_count_total
95 + name: total
96 + - id: am_azure_container_registry__agentpool_cpu_time
97 + title: Azure Container Registry AgentPool CPU Time
98 + context: agentpool_cpu_time
99 + family: Tasks
100 + type: line
101 + units: seconds/s
102 + algorithm: incremental
103 + dimensions:
104 + - selector: container_registry.agent_pool_cpu_time_total
105 + name: cpu_time
106 + - id: am_azure_container_registry__run_duration
107 + title: Azure Container Registry Task Run Duration
108 + context: run_duration
109 + family: Tasks
110 + type: line
111 + units: milliseconds/s
112 + algorithm: incremental
113 + dimensions:
114 + - selector: container_registry.run_duration_total
115 + name: duration
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/cosmos_db.yaml new
+419
@@ -0,0 +1,419 @@
1 +---
2 +id: cosmos_db
3 +name: Azure Cosmos DB Account
4 +resource_type: Microsoft.DocumentDB/databaseAccounts
5 +metrics:
6 +- id: total_requests
7 + azure_name: TotalRequests
8 + time_grain: PT1M
9 + series:
10 + - aggregation: count
11 + kind: counter
12 +- id: total_request_units
13 + azure_name: TotalRequestUnits
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: normalized_ru_consumption
19 + azure_name: NormalizedRUConsumption
20 + time_grain: PT1M
21 + series:
22 + - aggregation: maximum
23 + kind: gauge
24 +- id: metadata_requests
25 + azure_name: MetadataRequests
26 + time_grain: PT1M
27 + series:
28 + - aggregation: count
29 + kind: counter
30 +- id: server_side_latency_direct
31 + azure_name: ServerSideLatencyDirect
32 + time_grain: PT1M
33 + series:
34 + - aggregation: average
35 + kind: gauge
36 +- id: server_side_latency_gateway
37 + azure_name: ServerSideLatencyGateway
38 + time_grain: PT1M
39 + series:
40 + - aggregation: average
41 + kind: gauge
42 +- id: replication_latency
43 + azure_name: ReplicationLatency
44 + time_grain: PT1M
45 + series:
46 + - aggregation: average
47 + kind: gauge
48 +- id: data_usage
49 + azure_name: DataUsage
50 + time_grain: PT5M
51 + series:
52 + - aggregation: maximum
53 + kind: gauge
54 +- id: index_usage
55 + azure_name: IndexUsage
56 + time_grain: PT5M
57 + series:
58 + - aggregation: maximum
59 + kind: gauge
60 +- id: document_quota
61 + azure_name: DocumentQuota
62 + time_grain: PT5M
63 + series:
64 + - aggregation: total
65 + kind: gauge
66 +- id: document_count
67 + azure_name: DocumentCount
68 + time_grain: PT5M
69 + series:
70 + - aggregation: average
71 + kind: gauge
72 +- id: physical_partition_size_info
73 + azure_name: PhysicalPartitionSizeInfo
74 + time_grain: PT1M
75 + series:
76 + - aggregation: maximum
77 + kind: gauge
78 +- id: physical_partition_count
79 + azure_name: PhysicalPartitionCount
80 + time_grain: PT5M
81 + series:
82 + - aggregation: maximum
83 + kind: gauge
84 +- id: physical_partition_throughput_info
85 + azure_name: PhysicalPartitionThroughputInfo
86 + time_grain: PT5M
87 + series:
88 + - aggregation: maximum
89 + kind: gauge
90 +- id: autoscaled_ru
91 + azure_name: AutoscaledRU
92 + time_grain: PT1M
93 + series:
94 + - aggregation: maximum
95 + kind: gauge
96 +- id: provisioned_throughput
97 + azure_name: ProvisionedThroughput
98 + time_grain: PT5M
99 + series:
100 + - aggregation: maximum
101 + kind: gauge
102 +- id: autoscale_max_throughput
103 + azure_name: AutoscaleMaxThroughput
104 + time_grain: PT5M
105 + series:
106 + - aggregation: maximum
107 + kind: gauge
108 +- id: service_availability
109 + azure_name: ServiceAvailability
110 + time_grain: PT1H
111 + series:
112 + - aggregation: average
113 + kind: gauge
114 +- id: mongo_requests
115 + azure_name: MongoRequests
116 + time_grain: PT1M
117 + series:
118 + - aggregation: count
119 + kind: counter
120 +- id: cassandra_requests
121 + azure_name: CassandraRequests
122 + time_grain: PT1M
123 + series:
124 + - aggregation: count
125 + kind: counter
126 +- id: gremlin_requests
127 + azure_name: GremlinRequests
128 + time_grain: PT1M
129 + series:
130 + - aggregation: count
131 + kind: counter
132 +- id: mongo_request_charge
133 + azure_name: MongoRequestCharge
134 + time_grain: PT1M
135 + series:
136 + - aggregation: total
137 + kind: counter
138 +- id: cassandra_request_charges
139 + azure_name: CassandraRequestCharges
140 + time_grain: PT1M
141 + series:
142 + - aggregation: total
143 + kind: counter
144 +- id: gremlin_request_charges
145 + azure_name: GremlinRequestCharges
146 + time_grain: PT1M
147 + series:
148 + - aggregation: total
149 + kind: counter
150 +- id: dedicated_gateway_cpu_usage
151 + azure_name: DedicatedGatewayCPUUsage
152 + time_grain: PT1M
153 + series:
154 + - aggregation: average
155 + kind: gauge
156 +- id: dedicated_gateway_memory_usage
157 + azure_name: DedicatedGatewayMemoryUsage
158 + time_grain: PT1M
159 + series:
160 + - aggregation: average
161 + kind: gauge
162 +- id: dedicated_gateway_requests
163 + azure_name: DedicatedGatewayRequests
164 + time_grain: PT1M
165 + series:
166 + - aggregation: count
167 + kind: counter
168 +- id: integrated_cache_item_hit_rate
169 + azure_name: IntegratedCacheItemHitRate
170 + time_grain: PT5M
171 + series:
172 + - aggregation: average
173 + kind: gauge
174 +- id: integrated_cache_query_hit_rate
175 + azure_name: IntegratedCacheQueryHitRate
176 + time_grain: PT5M
177 + series:
178 + - aggregation: average
179 + kind: gauge
180 +- id: cassandra_connection_closures
181 + azure_name: CassandraConnectionClosures
182 + time_grain: PT1M
183 + series:
184 + - aggregation: total
185 + kind: counter
186 +template:
187 + family: Azure Cosmos DB Account
188 + context_namespace: cosmos_db
189 + chart_defaults:
190 + label_promotion:
191 + - resource_name
192 + - resource_group
193 + - region
194 + - resource_type
195 + - profile
196 + instances:
197 + by_labels:
198 + - resource_uid
199 + charts:
200 + - id: am_azure_cosmos_db__total_requests
201 + title: Azure Cosmos DB Total Requests
202 + context: total_requests
203 + family: Throughput
204 + type: line
205 + units: requests/s
206 + algorithm: incremental
207 + dimensions:
208 + - selector: cosmos_db.total_requests_count
209 + name: count
210 + - id: am_azure_cosmos_db__request_units
211 + title: Azure Cosmos DB Request Units Consumed
212 + context: request_units
213 + family: Throughput
214 + type: line
215 + units: RU/s
216 + algorithm: incremental
217 + dimensions:
218 + - selector: cosmos_db.total_request_units_total
219 + name: total
220 + - id: am_azure_cosmos_db__normalized_ru_consumption
221 + title: Azure Cosmos DB Normalized RU Consumption
222 + context: normalized_ru_consumption
223 + family: Utilization
224 + type: line
225 + units: percentage
226 + algorithm: absolute
227 + dimensions:
228 + - selector: cosmos_db.normalized_ru_consumption_maximum
229 + name: maximum
230 + - id: am_azure_cosmos_db__server_side_latency
231 + title: Azure Cosmos DB Server-Side Latency
232 + context: server_side_latency
233 + family: Latency
234 + type: line
235 + units: milliseconds
236 + algorithm: absolute
237 + dimensions:
238 + - selector: cosmos_db.server_side_latency_direct_average
239 + name: direct
240 + - selector: cosmos_db.server_side_latency_gateway_average
241 + name: gateway
242 + - id: am_azure_cosmos_db__replication_latency
243 + title: Azure Cosmos DB Replication Latency
244 + context: replication_latency
245 + family: Latency
246 + type: line
247 + units: milliseconds
248 + algorithm: absolute
249 + dimensions:
250 + - selector: cosmos_db.replication_latency_average
251 + name: average
252 + - id: am_azure_cosmos_db__storage
253 + title: Azure Cosmos DB Storage
254 + context: storage
255 + family: Capacity
256 + type: line
257 + units: bytes
258 + algorithm: absolute
259 + dimensions:
260 + - selector: cosmos_db.data_usage_maximum
261 + name: data
262 + - selector: cosmos_db.index_usage_maximum
263 + name: index
264 + - selector: cosmos_db.document_quota_total
265 + name: quota
266 + - id: am_azure_cosmos_db__document_count
267 + title: Azure Cosmos DB Document Count
268 + context: document_count
269 + family: Capacity
270 + type: line
271 + units: documents
272 + algorithm: absolute
273 + dimensions:
274 + - selector: cosmos_db.document_count_average
275 + name: average
276 + - id: am_azure_cosmos_db__partition_size
277 + title: Azure Cosmos DB Physical Partition Size
278 + context: partition_size
279 + family: Capacity
280 + type: line
281 + units: bytes
282 + algorithm: absolute
283 + dimensions:
284 + - selector: cosmos_db.physical_partition_size_info_maximum
285 + name: maximum
286 + - id: am_azure_cosmos_db__partition_count
287 + title: Azure Cosmos DB Physical Partition Count
288 + context: partition_count
289 + family: Capacity
290 + type: line
291 + units: partitions
292 + algorithm: absolute
293 + dimensions:
294 + - selector: cosmos_db.physical_partition_count_maximum
295 + name: maximum
296 + - id: am_azure_cosmos_db__provisioned_throughput
297 + title: Azure Cosmos DB Provisioned Throughput
298 + context: provisioned_throughput
299 + family: Throughput
300 + type: line
301 + units: RU/s
302 + algorithm: absolute
303 + dimensions:
304 + - selector: cosmos_db.provisioned_throughput_maximum
305 + name: provisioned
306 + - selector: cosmos_db.autoscale_max_throughput_maximum
307 + name: autoscale_max
308 + - selector: cosmos_db.autoscaled_ru_maximum
309 + name: autoscaled
310 + - id: am_azure_cosmos_db__partition_throughput
311 + title: Azure Cosmos DB Physical Partition Throughput
312 + context: partition_throughput
313 + family: Throughput
314 + type: line
315 + units: RU/s
316 + algorithm: absolute
317 + dimensions:
318 + - selector: cosmos_db.physical_partition_throughput_info_maximum
319 + name: maximum
320 + - id: am_azure_cosmos_db__availability
321 + title: Azure Cosmos DB Service Availability
322 + context: availability
323 + family: Availability
324 + type: line
325 + units: percentage
326 + algorithm: absolute
327 + dimensions:
328 + - selector: cosmos_db.service_availability_average
329 + name: average
330 + - id: am_azure_cosmos_db__metadata_requests
331 + title: Azure Cosmos DB Metadata Requests
332 + context: metadata_requests
333 + family: Throughput
334 + type: line
335 + units: requests/s
336 + algorithm: incremental
337 + dimensions:
338 + - selector: cosmos_db.metadata_requests_count
339 + name: count
340 + - id: am_azure_cosmos_db__api_requests
341 + title: Azure Cosmos DB API Requests
342 + context: api_requests
343 + family: API
344 + type: line
345 + units: requests/s
346 + algorithm: incremental
347 + dimensions:
348 + - selector: cosmos_db.mongo_requests_count
349 + name: mongo
350 + - selector: cosmos_db.cassandra_requests_count
351 + name: cassandra
352 + - selector: cosmos_db.gremlin_requests_count
353 + name: gremlin
354 + - id: am_azure_cosmos_db__api_request_charges
355 + title: Azure Cosmos DB API Request Charges
356 + context: api_request_charges
357 + family: API
358 + type: line
359 + units: RU/s
360 + algorithm: incremental
361 + dimensions:
362 + - selector: cosmos_db.mongo_request_charge_total
363 + name: mongo
364 + - selector: cosmos_db.cassandra_request_charges_total
365 + name: cassandra
366 + - selector: cosmos_db.gremlin_request_charges_total
367 + name: gremlin
368 + - id: am_azure_cosmos_db__cassandra_connections
369 + title: Azure Cosmos DB Cassandra Connection Closures
370 + context: cassandra_connections
371 + family: API
372 + type: line
373 + units: connections/s
374 + algorithm: incremental
375 + dimensions:
376 + - selector: cosmos_db.cassandra_connection_closures_total
377 + name: total
378 + - id: am_azure_cosmos_db__dedicated_gateway_cpu
379 + title: Azure Cosmos DB Dedicated Gateway CPU Usage
380 + context: dedicated_gateway_cpu
381 + family: Dedicated Gateway
382 + type: line
383 + units: percentage
384 + algorithm: absolute
385 + dimensions:
386 + - selector: cosmos_db.dedicated_gateway_cpu_usage_average
387 + name: average
388 + - id: am_azure_cosmos_db__dedicated_gateway_memory
389 + title: Azure Cosmos DB Dedicated Gateway Memory Usage
390 + context: dedicated_gateway_memory
391 + family: Dedicated Gateway
392 + type: line
393 + units: bytes
394 + algorithm: absolute
395 + dimensions:
396 + - selector: cosmos_db.dedicated_gateway_memory_usage_average
397 + name: average
398 + - id: am_azure_cosmos_db__dedicated_gateway_requests
399 + title: Azure Cosmos DB Dedicated Gateway Requests
400 + context: dedicated_gateway_requests
401 + family: Dedicated Gateway
402 + type: line
403 + units: requests/s
404 + algorithm: incremental
405 + dimensions:
406 + - selector: cosmos_db.dedicated_gateway_requests_count
407 + name: count
408 + - id: am_azure_cosmos_db__integrated_cache_hit_rate
409 + title: Azure Cosmos DB Integrated Cache Hit Rate
410 + context: integrated_cache_hit_rate
411 + family: Integrated Cache
412 + type: line
413 + units: percentage
414 + algorithm: absolute
415 + dimensions:
416 + - selector: cosmos_db.integrated_cache_item_hit_rate_average
417 + name: item
418 + - selector: cosmos_db.integrated_cache_query_hit_rate_average
419 + name: query
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/data_explorer.yaml new
+783
@@ -0,0 +1,783 @@
1 +---
2 +id: data_explorer
3 +name: Azure Data Explorer Cluster
4 +resource_type: Microsoft.Kusto/clusters
5 +metrics:
6 +- id: cpu
7 + azure_name: CPU
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: ingestion_utilization
13 + azure_name: IngestionUtilization
14 + time_grain: PT1M
15 + series:
16 + - aggregation: average
17 + kind: gauge
18 +- id: cache_utilization_factor
19 + azure_name: CacheUtilizationFactor
20 + time_grain: PT1M
21 + series:
22 + - aggregation: average
23 + kind: gauge
24 +- id: keep_alive
25 + azure_name: KeepAlive
26 + time_grain: PT1M
27 + series:
28 + - aggregation: average
29 + kind: gauge
30 +- id: instance_count
31 + azure_name: InstanceCount
32 + time_grain: PT1M
33 + series:
34 + - aggregation: average
35 + kind: gauge
36 + - aggregation: maximum
37 + kind: gauge
38 + - aggregation: minimum
39 + kind: gauge
40 +- id: total_number_of_extents
41 + azure_name: TotalNumberOfExtents
42 + time_grain: PT1M
43 + series:
44 + - aggregation: average
45 + kind: gauge
46 +- id: total_number_of_throttled_commands
47 + azure_name: TotalNumberOfThrottledCommands
48 + time_grain: PT1M
49 + series:
50 + - aggregation: total
51 + kind: counter
52 +- id: follower_latency
53 + azure_name: FollowerLatency
54 + time_grain: PT1M
55 + series:
56 + - aggregation: average
57 + kind: gauge
58 +- id: query_duration
59 + azure_name: QueryDuration
60 + time_grain: PT1M
61 + series:
62 + - aggregation: average
63 + kind: gauge
64 +- id: query_result
65 + azure_name: QueryResult
66 + time_grain: PT1M
67 + series:
68 + - aggregation: count
69 + kind: counter
70 +- id: total_number_of_concurrent_queries
71 + azure_name: TotalNumberOfConcurrentQueries
72 + time_grain: PT1M
73 + series:
74 + - aggregation: average
75 + kind: gauge
76 + - aggregation: maximum
77 + kind: gauge
78 +- id: total_number_of_throttled_queries
79 + azure_name: TotalNumberOfThrottledQueries
80 + time_grain: PT1M
81 + series:
82 + - aggregation: total
83 + kind: counter
84 +- id: weak_consistency_latency
85 + azure_name: WeakConsistencyLatency
86 + time_grain: PT1M
87 + series:
88 + - aggregation: average
89 + kind: gauge
90 +- id: ingestion_result
91 + azure_name: IngestionResult
92 + time_grain: PT1M
93 + series:
94 + - aggregation: total
95 + kind: counter
96 +- id: ingestion_volume_in_mb
97 + azure_name: IngestionVolumeInMB
98 + time_grain: PT1M
99 + series:
100 + - aggregation: total
101 + kind: counter
102 +- id: ingestion_latency_in_seconds
103 + azure_name: IngestionLatencyInSeconds
104 + time_grain: PT1M
105 + series:
106 + - aggregation: average
107 + kind: gauge
108 +- id: events_processed
109 + azure_name: EventsProcessed
110 + time_grain: PT1M
111 + series:
112 + - aggregation: total
113 + kind: counter
114 +- id: events_received
115 + azure_name: EventsReceived
116 + time_grain: PT1M
117 + series:
118 + - aggregation: total
119 + kind: counter
120 +- id: events_dropped
121 + azure_name: EventsDropped
122 + time_grain: PT1M
123 + series:
124 + - aggregation: total
125 + kind: counter
126 +- id: blobs_processed
127 + azure_name: BlobsProcessed
128 + time_grain: PT1M
129 + series:
130 + - aggregation: total
131 + kind: counter
132 +- id: blobs_received
133 + azure_name: BlobsReceived
134 + time_grain: PT1M
135 + series:
136 + - aggregation: total
137 + kind: counter
138 +- id: blobs_dropped
139 + azure_name: BlobsDropped
140 + time_grain: PT1M
141 + series:
142 + - aggregation: total
143 + kind: counter
144 +- id: discovery_latency
145 + azure_name: DiscoveryLatency
146 + time_grain: PT1M
147 + series:
148 + - aggregation: average
149 + kind: gauge
150 +- id: stage_latency
151 + azure_name: StageLatency
152 + time_grain: PT1M
153 + series:
154 + - aggregation: average
155 + kind: gauge
156 +- id: queue_length
157 + azure_name: QueueLength
158 + time_grain: PT1M
159 + series:
160 + - aggregation: average
161 + kind: gauge
162 +- id: queue_oldest_message
163 + azure_name: QueueOldestMessage
164 + time_grain: PT1M
165 + series:
166 + - aggregation: average
167 + kind: gauge
168 +- id: received_data_size_bytes
169 + azure_name: ReceivedDataSizeBytes
170 + time_grain: PT1M
171 + series:
172 + - aggregation: total
173 + kind: counter
174 +- id: batches_processed
175 + azure_name: BatchesProcessed
176 + time_grain: PT1M
177 + series:
178 + - aggregation: total
179 + kind: counter
180 +- id: batch_blob_count
181 + azure_name: BatchBlobCount
182 + time_grain: PT1M
183 + series:
184 + - aggregation: average
185 + kind: gauge
186 +- id: batch_size
187 + azure_name: BatchSize
188 + time_grain: PT1M
189 + series:
190 + - aggregation: average
191 + kind: gauge
192 +- id: batch_duration
193 + azure_name: BatchDuration
194 + time_grain: PT1M
195 + series:
196 + - aggregation: average
197 + kind: gauge
198 +- id: export_utilization
199 + azure_name: ExportUtilization
200 + time_grain: PT1M
201 + series:
202 + - aggregation: maximum
203 + kind: gauge
204 +- id: continuous_export_num_of_records_exported
205 + azure_name: ContinuousExportNumOfRecordsExported
206 + time_grain: PT1M
207 + series:
208 + - aggregation: total
209 + kind: counter
210 +- id: continuous_export_result
211 + azure_name: ContinuousExportResult
212 + time_grain: PT1M
213 + series:
214 + - aggregation: count
215 + kind: counter
216 +- id: continuous_export_pending_count
217 + azure_name: ContinuousExportPendingCount
218 + time_grain: PT1M
219 + series:
220 + - aggregation: maximum
221 + kind: gauge
222 +- id: continuous_export_max_lateness_minutes
223 + azure_name: ContinuousExportMaxLatenessMinutes
224 + time_grain: PT1M
225 + series:
226 + - aggregation: maximum
227 + kind: gauge
228 +- id: streaming_ingest_data_rate
229 + azure_name: StreamingIngestDataRate
230 + time_grain: PT1M
231 + series:
232 + - aggregation: average
233 + kind: gauge
234 +- id: streaming_ingest_duration
235 + azure_name: StreamingIngestDuration
236 + time_grain: PT1M
237 + series:
238 + - aggregation: average
239 + kind: gauge
240 +- id: streaming_ingest_results
241 + azure_name: StreamingIngestResults
242 + time_grain: PT1M
243 + series:
244 + - aggregation: count
245 + kind: counter
246 +- id: streaming_ingest_utilization
247 + azure_name: StreamingIngestUtilization
248 + time_grain: PT1M
249 + series:
250 + - aggregation: average
251 + kind: gauge
252 +- id: materialized_view_health
253 + azure_name: MaterializedViewHealth
254 + time_grain: PT1M
255 + series:
256 + - aggregation: average
257 + kind: gauge
258 +- id: materialized_view_age_minutes
259 + azure_name: MaterializedViewAgeMinutes
260 + time_grain: PT1M
261 + series:
262 + - aggregation: average
263 + kind: gauge
264 +- id: materialized_view_age_seconds
265 + azure_name: MaterializedViewAgeSeconds
266 + time_grain: PT1M
267 + series:
268 + - aggregation: average
269 + kind: gauge
270 +- id: materialized_view_records_in_delta
271 + azure_name: MaterializedViewRecordsInDelta
272 + time_grain: PT1M
273 + series:
274 + - aggregation: average
275 + kind: gauge
276 +- id: materialized_view_extents_rebuild
277 + azure_name: MaterializedViewExtentsRebuild
278 + time_grain: PT1M
279 + series:
280 + - aggregation: average
281 + kind: gauge
282 +- id: materialized_view_data_loss
283 + azure_name: MaterializedViewDataLoss
284 + time_grain: PT1M
285 + series:
286 + - aggregation: maximum
287 + kind: gauge
288 +- id: materialized_view_result
289 + azure_name: MaterializedViewResult
290 + time_grain: PT1M
291 + series:
292 + - aggregation: average
293 + kind: gauge
294 +- id: partitioning_percentage
295 + azure_name: PartitioningPercentage
296 + time_grain: PT1M
297 + series:
298 + - aggregation: average
299 + kind: gauge
300 +- id: partitioning_percentage_hot
301 + azure_name: PartitioningPercentageHot
302 + time_grain: PT1M
303 + series:
304 + - aggregation: average
305 + kind: gauge
306 +- id: processed_partitioned_records
307 + azure_name: ProcessedPartitionedRecords
308 + time_grain: PT1M
309 + series:
310 + - aggregation: average
311 + kind: gauge
312 +template:
313 + family: Azure Data Explorer Cluster
314 + context_namespace: data_explorer
315 + chart_defaults:
316 + label_promotion:
317 + - resource_name
318 + - resource_group
319 + - region
320 + - resource_type
321 + - profile
322 + instances:
323 + by_labels:
324 + - resource_uid
325 + charts:
326 + - id: am_azure_data_explorer__cpu_utilization
327 + title: Azure Data Explorer CPU Utilization
328 + context: cpu_utilization
329 + family: Compute
330 + type: line
331 + units: percentage
332 + algorithm: absolute
333 + dimensions:
334 + - selector: data_explorer.cpu_average
335 + name: average
336 + - id: am_azure_data_explorer__utilization
337 + title: Azure Data Explorer Utilization
338 + context: utilization
339 + family: Compute
340 + type: line
341 + units: percentage
342 + algorithm: absolute
343 + dimensions:
344 + - selector: data_explorer.ingestion_utilization_average
345 + name: ingestion
346 + - selector: data_explorer.cache_utilization_factor_average
347 + name: cache
348 + - id: am_azure_data_explorer__keep_alive
349 + title: Azure Data Explorer Keep Alive
350 + context: keep_alive
351 + family: Compute
352 + type: line
353 + units: count
354 + algorithm: absolute
355 + dimensions:
356 + - selector: data_explorer.keep_alive_average
357 + name: average
358 + - id: am_azure_data_explorer__instance_count
359 + title: Azure Data Explorer Instance Count
360 + context: instance_count
361 + family: Compute
362 + type: line
363 + units: instances
364 + algorithm: absolute
365 + dimensions:
366 + - selector: data_explorer.instance_count_average
367 + name: average
368 + - selector: data_explorer.instance_count_maximum
369 + name: maximum
370 + - selector: data_explorer.instance_count_minimum
371 + name: minimum
372 + - id: am_azure_data_explorer__extents
373 + title: Azure Data Explorer Total Extents
374 + context: extents
375 + family: Compute
376 + type: line
377 + units: extents
378 + algorithm: absolute
379 + dimensions:
380 + - selector: data_explorer.total_number_of_extents_average
381 + name: average
382 + - id: am_azure_data_explorer__throttled_commands
383 + title: Azure Data Explorer Throttled Commands
384 + context: throttled_commands
385 + family: Compute
386 + type: line
387 + units: commands/s
388 + algorithm: incremental
389 + dimensions:
390 + - selector: data_explorer.total_number_of_throttled_commands_total
391 + name: total
392 + - id: am_azure_data_explorer__follower_latency
393 + title: Azure Data Explorer Follower Latency
394 + context: follower_latency
395 + family: Compute
396 + type: line
397 + units: milliseconds
398 + algorithm: absolute
399 + dimensions:
400 + - selector: data_explorer.follower_latency_average
401 + name: average
402 + - id: am_azure_data_explorer__query_duration
403 + title: Azure Data Explorer Query Duration
404 + context: query_duration
405 + family: Query
406 + type: line
407 + units: milliseconds
408 + algorithm: absolute
409 + dimensions:
410 + - selector: data_explorer.query_duration_average
411 + name: average
412 + - id: am_azure_data_explorer__query_count
413 + title: Azure Data Explorer Query Count
414 + context: query_count
415 + family: Query
416 + type: line
417 + units: queries/s
418 + algorithm: incremental
419 + dimensions:
420 + - selector: data_explorer.query_result_count
421 + name: count
422 + - id: am_azure_data_explorer__concurrent_queries
423 + title: Azure Data Explorer Concurrent Queries
424 + context: concurrent_queries
425 + family: Query
426 + type: line
427 + units: queries
428 + algorithm: absolute
429 + dimensions:
430 + - selector: data_explorer.total_number_of_concurrent_queries_average
431 + name: average
432 + - selector: data_explorer.total_number_of_concurrent_queries_maximum
433 + name: maximum
434 + - id: am_azure_data_explorer__throttled_queries
435 + title: Azure Data Explorer Throttled Queries
436 + context: throttled_queries
437 + family: Query
438 + type: line
439 + units: queries/s
440 + algorithm: incremental
441 + dimensions:
442 + - selector: data_explorer.total_number_of_throttled_queries_total
443 + name: total
444 + - id: am_azure_data_explorer__weak_consistency_latency
445 + title: Azure Data Explorer Weak Consistency Latency
446 + context: weak_consistency_latency
447 + family: Query
448 + type: line
449 + units: seconds
450 + algorithm: absolute
451 + dimensions:
452 + - selector: data_explorer.weak_consistency_latency_average
453 + name: average
454 + - id: am_azure_data_explorer__ingestion_result
455 + title: Azure Data Explorer Ingestion Result
456 + context: ingestion_result
457 + family: Ingestion
458 + type: line
459 + units: sources/s
460 + algorithm: incremental
461 + dimensions:
462 + - selector: data_explorer.ingestion_result_total
463 + name: total
464 + - id: am_azure_data_explorer__ingestion_volume
465 + title: Azure Data Explorer Ingestion Volume
466 + context: ingestion_volume
467 + family: Ingestion
468 + type: line
469 + units: bytes/s
470 + algorithm: incremental
471 + dimensions:
472 + - selector: data_explorer.ingestion_volume_in_mb_total
473 + name: total
474 + - id: am_azure_data_explorer__ingestion_latency
475 + title: Azure Data Explorer Ingestion Latency
476 + context: ingestion_latency
477 + family: Ingestion
478 + type: line
479 + units: seconds
480 + algorithm: absolute
481 + dimensions:
482 + - selector: data_explorer.ingestion_latency_in_seconds_average
483 + name: average
484 + - id: am_azure_data_explorer__events
485 + title: Azure Data Explorer Events
486 + context: events
487 + family: Ingestion
488 + type: line
489 + units: events/s
490 + algorithm: incremental
491 + dimensions:
492 + - selector: data_explorer.events_received_total
493 + name: received
494 + - selector: data_explorer.events_processed_total
495 + name: processed
496 + - selector: data_explorer.events_dropped_total
497 + name: dropped
498 + - id: am_azure_data_explorer__blobs
499 + title: Azure Data Explorer Blobs
500 + context: blobs
501 + family: Ingestion
502 + type: line
503 + units: blobs/s
504 + algorithm: incremental
505 + dimensions:
506 + - selector: data_explorer.blobs_received_total
507 + name: received
508 + - selector: data_explorer.blobs_processed_total
509 + name: processed
510 + - selector: data_explorer.blobs_dropped_total
511 + name: dropped
512 + - id: am_azure_data_explorer__discovery_latency
513 + title: Azure Data Explorer Discovery Latency
514 + context: discovery_latency
515 + family: Ingestion
516 + type: line
517 + units: seconds
518 + algorithm: absolute
519 + dimensions:
520 + - selector: data_explorer.discovery_latency_average
521 + name: average
522 + - id: am_azure_data_explorer__stage_latency
523 + title: Azure Data Explorer Stage Latency
524 + context: stage_latency
525 + family: Ingestion
526 + type: line
527 + units: seconds
528 + algorithm: absolute
529 + dimensions:
530 + - selector: data_explorer.stage_latency_average
531 + name: average
532 + - id: am_azure_data_explorer__ingestion_queue
533 + title: Azure Data Explorer Ingestion Queue
534 + context: ingestion_queue
535 + family: Ingestion
536 + type: line
537 + units: messages
538 + algorithm: absolute
539 + dimensions:
540 + - selector: data_explorer.queue_length_average
541 + name: length
542 + - id: am_azure_data_explorer__queue_oldest_message
543 + title: Azure Data Explorer Queue Oldest Message Age
544 + context: queue_oldest_message
545 + family: Ingestion
546 + type: line
547 + units: seconds
548 + algorithm: absolute
549 + dimensions:
550 + - selector: data_explorer.queue_oldest_message_average
551 + name: age
552 + - id: am_azure_data_explorer__received_data_size
553 + title: Azure Data Explorer Received Data Size
554 + context: received_data_size
555 + family: Ingestion
556 + type: line
557 + units: bytes/s
558 + algorithm: incremental
559 + dimensions:
560 + - selector: data_explorer.received_data_size_bytes_total
561 + name: total
562 + - id: am_azure_data_explorer__batches_processed
563 + title: Azure Data Explorer Batches Processed
564 + context: batches_processed
565 + family: Ingestion
566 + type: line
567 + units: batches/s
568 + algorithm: incremental
569 + dimensions:
570 + - selector: data_explorer.batches_processed_total
571 + name: total
572 + - id: am_azure_data_explorer__batch_blob_count
573 + title: Azure Data Explorer Batch Blob Count
574 + context: batch_blob_count
575 + family: Ingestion
576 + type: line
577 + units: blobs
578 + algorithm: absolute
579 + dimensions:
580 + - selector: data_explorer.batch_blob_count_average
581 + name: average
582 + - id: am_azure_data_explorer__batch_size
583 + title: Azure Data Explorer Batch Size
584 + context: batch_size
585 + family: Ingestion
586 + type: line
587 + units: bytes
588 + algorithm: absolute
589 + dimensions:
590 + - selector: data_explorer.batch_size_average
591 + name: average
592 + - id: am_azure_data_explorer__batch_duration
593 + title: Azure Data Explorer Batch Duration
594 + context: batch_duration
595 + family: Ingestion
596 + type: line
597 + units: seconds
598 + algorithm: absolute
599 + dimensions:
600 + - selector: data_explorer.batch_duration_average
601 + name: average
602 + - id: am_azure_data_explorer__export_utilization
603 + title: Azure Data Explorer Export Utilization
604 + context: export_utilization
605 + family: Export
606 + type: line
607 + units: percentage
608 + algorithm: absolute
609 + dimensions:
610 + - selector: data_explorer.export_utilization_maximum
611 + name: maximum
612 + - id: am_azure_data_explorer__continuous_export_records
613 + title: Azure Data Explorer Continuous Export Records
614 + context: continuous_export_records
615 + family: Export
616 + type: line
617 + units: records/s
618 + algorithm: incremental
619 + dimensions:
620 + - selector: data_explorer.continuous_export_num_of_records_exported_total
621 + name: total
622 + - id: am_azure_data_explorer__continuous_export_result
623 + title: Azure Data Explorer Continuous Export Result
624 + context: continuous_export_result
625 + family: Export
626 + type: line
627 + units: results/s
628 + algorithm: incremental
629 + dimensions:
630 + - selector: data_explorer.continuous_export_result_count
631 + name: count
632 + - id: am_azure_data_explorer__continuous_export_pending
633 + title: Azure Data Explorer Continuous Export Pending Jobs
634 + context: continuous_export_pending
635 + family: Export
636 + type: line
637 + units: jobs
638 + algorithm: absolute
639 + dimensions:
640 + - selector: data_explorer.continuous_export_pending_count_maximum
641 + name: maximum
642 + - id: am_azure_data_explorer__continuous_export_lateness
643 + title: Azure Data Explorer Continuous Export Lateness
644 + context: continuous_export_lateness
645 + family: Export
646 + type: line
647 + units: minutes
648 + algorithm: absolute
649 + dimensions:
650 + - selector: data_explorer.continuous_export_max_lateness_minutes_maximum
651 + name: maximum
652 + - id: am_azure_data_explorer__streaming_ingest_data_rate
653 + title: Azure Data Explorer Streaming Ingest Data Rate
654 + context: streaming_ingest_data_rate
655 + family: Streaming
656 + type: line
657 + units: bytes/s
658 + algorithm: absolute
659 + dimensions:
660 + - selector: data_explorer.streaming_ingest_data_rate_average
661 + name: average
662 + - id: am_azure_data_explorer__streaming_ingest_duration
663 + title: Azure Data Explorer Streaming Ingest Duration
664 + context: streaming_ingest_duration
665 + family: Streaming
666 + type: line
667 + units: milliseconds
668 + algorithm: absolute
669 + dimensions:
670 + - selector: data_explorer.streaming_ingest_duration_average
671 + name: average
672 + - id: am_azure_data_explorer__streaming_ingest_result
673 + title: Azure Data Explorer Streaming Ingest Result
674 + context: streaming_ingest_result
675 + family: Streaming
676 + type: line
677 + units: results/s
678 + algorithm: incremental
679 + dimensions:
680 + - selector: data_explorer.streaming_ingest_results_count
681 + name: count
682 + - id: am_azure_data_explorer__streaming_ingest_utilization
683 + title: Azure Data Explorer Streaming Ingest Utilization
684 + context: streaming_ingest_utilization
685 + family: Streaming
686 + type: line
687 + units: percentage
688 + algorithm: absolute
689 + dimensions:
690 + - selector: data_explorer.streaming_ingest_utilization_average
691 + name: average
692 + - id: am_azure_data_explorer__materialized_view_health
693 + title: Azure Data Explorer Materialized View Health
694 + context: materialized_view_health
695 + family: Materialized Views
696 + type: line
697 + units: status
698 + algorithm: absolute
699 + dimensions:
700 + - selector: data_explorer.materialized_view_health_average
701 + name: health
702 + - id: am_azure_data_explorer__materialized_view_age
703 + title: Azure Data Explorer Materialized View Age
704 + context: materialized_view_age
705 + family: Materialized Views
706 + type: line
707 + units: minutes
708 + algorithm: absolute
709 + dimensions:
710 + - selector: data_explorer.materialized_view_age_minutes_average
711 + name: minutes
712 + - id: am_azure_data_explorer__materialized_view_age_seconds
713 + title: Azure Data Explorer Materialized View Age (Seconds)
714 + context: materialized_view_age_seconds
715 + family: Materialized Views
716 + type: line
717 + units: seconds
718 + algorithm: absolute
719 + dimensions:
720 + - selector: data_explorer.materialized_view_age_seconds_average
721 + name: average
722 + - id: am_azure_data_explorer__materialized_view_records_in_delta
723 + title: Azure Data Explorer Materialized View Records in Delta
724 + context: materialized_view_records_in_delta
725 + family: Materialized Views
726 + type: line
727 + units: records
728 + algorithm: absolute
729 + dimensions:
730 + - selector: data_explorer.materialized_view_records_in_delta_average
731 + name: average
732 + - id: am_azure_data_explorer__materialized_view_extents_rebuild
733 + title: Azure Data Explorer Materialized View Extents Rebuild
734 + context: materialized_view_extents_rebuild
735 + family: Materialized Views
736 + type: line
737 + units: extents
738 + algorithm: absolute
739 + dimensions:
740 + - selector: data_explorer.materialized_view_extents_rebuild_average
741 + name: average
742 + - id: am_azure_data_explorer__materialized_view_data_loss
743 + title: Azure Data Explorer Materialized View Data Loss
744 + context: materialized_view_data_loss
745 + family: Materialized Views
746 + type: line
747 + units: status
748 + algorithm: absolute
749 + dimensions:
750 + - selector: data_explorer.materialized_view_data_loss_maximum
751 + name: maximum
752 + - id: am_azure_data_explorer__materialized_view_result
753 + title: Azure Data Explorer Materialized View Result
754 + context: materialized_view_result
755 + family: Materialized Views
756 + type: line
757 + units: status
758 + algorithm: absolute
759 + dimensions:
760 + - selector: data_explorer.materialized_view_result_average
761 + name: average
762 + - id: am_azure_data_explorer__partitioning_percentage
763 + title: Azure Data Explorer Partitioning Percentage
764 + context: partitioning_percentage
765 + family: Partitioning
766 + type: line
767 + units: percentage
768 + algorithm: absolute
769 + dimensions:
770 + - selector: data_explorer.partitioning_percentage_average
771 + name: total
772 + - selector: data_explorer.partitioning_percentage_hot_average
773 + name: hot
774 + - id: am_azure_data_explorer__partitioned_records
775 + title: Azure Data Explorer Processed Partitioned Records
776 + context: partitioned_records
777 + family: Partitioning
778 + type: line
779 + units: records
780 + algorithm: absolute
781 + dimensions:
782 + - selector: data_explorer.processed_partitioned_records_average
783 + name: average
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/data_factory.yaml new
+1155
@@ -0,0 +1,1155 @@
1 +---
2 +id: data_factory
3 +name: Azure Data Factory
4 +resource_type: Microsoft.DataFactory/factories
5 +metrics:
6 +- id: pipeline_succeeded_runs
7 + azure_name: PipelineSucceededRuns
8 + time_grain: PT1M
9 + series:
10 + - aggregation: total
11 + kind: counter
12 +- id: pipeline_failed_runs
13 + azure_name: PipelineFailedRuns
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: pipeline_cancelled_runs
19 + azure_name: PipelineCancelledRuns
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: counter
24 +- id: pipeline_elapsed_time_runs
25 + azure_name: PipelineElapsedTimeRuns
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: activity_succeeded_runs
31 + azure_name: ActivitySucceededRuns
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: counter
36 +- id: activity_failed_runs
37 + azure_name: ActivityFailedRuns
38 + time_grain: PT1M
39 + series:
40 + - aggregation: total
41 + kind: counter
42 +- id: activity_cancelled_runs
43 + azure_name: ActivityCancelledRuns
44 + time_grain: PT1M
45 + series:
46 + - aggregation: total
47 + kind: counter
48 +- id: trigger_succeeded_runs
49 + azure_name: TriggerSucceededRuns
50 + time_grain: PT1M
51 + series:
52 + - aggregation: total
53 + kind: counter
54 +- id: trigger_failed_runs
55 + azure_name: TriggerFailedRuns
56 + time_grain: PT1M
57 + series:
58 + - aggregation: total
59 + kind: counter
60 +- id: trigger_cancelled_runs
61 + azure_name: TriggerCancelledRuns
62 + time_grain: PT1M
63 + series:
64 + - aggregation: total
65 + kind: counter
66 +- id: ssis_integration_runtime_start_succeeded
67 + azure_name: SSISIntegrationRuntimeStartSucceeded
68 + time_grain: PT1M
69 + series:
70 + - aggregation: total
71 + kind: counter
72 +- id: ssis_integration_runtime_start_failed
73 + azure_name: SSISIntegrationRuntimeStartFailed
74 + time_grain: PT1M
75 + series:
76 + - aggregation: total
77 + kind: counter
78 +- id: ssis_integration_runtime_start_cancel
79 + azure_name: SSISIntegrationRuntimeStartCancel
80 + time_grain: PT1M
81 + series:
82 + - aggregation: total
83 + kind: counter
84 +- id: ssis_integration_runtime_stop_succeeded
85 + azure_name: SSISIntegrationRuntimeStopSucceeded
86 + time_grain: PT1M
87 + series:
88 + - aggregation: total
89 + kind: counter
90 +- id: ssis_integration_runtime_stop_stuck
91 + azure_name: SSISIntegrationRuntimeStopStuck
92 + time_grain: PT1M
93 + series:
94 + - aggregation: total
95 + kind: counter
96 +- id: ssis_package_execution_succeeded
97 + azure_name: SSISPackageExecutionSucceeded
98 + time_grain: PT1M
99 + series:
100 + - aggregation: total
101 + kind: counter
102 +- id: ssis_package_execution_failed
103 + azure_name: SSISPackageExecutionFailed
104 + time_grain: PT1M
105 + series:
106 + - aggregation: total
107 + kind: counter
108 +- id: ssis_package_execution_cancel
109 + azure_name: SSISPackageExecutionCancel
110 + time_grain: PT1M
111 + series:
112 + - aggregation: total
113 + kind: counter
114 +- id: integration_runtime_cpu_percentage
115 + azure_name: IntegrationRuntimeCpuPercentage
116 + time_grain: PT1M
117 + series:
118 + - aggregation: average
119 + kind: gauge
120 +- id: integration_runtime_available_memory
121 + azure_name: IntegrationRuntimeAvailableMemory
122 + time_grain: PT1M
123 + series:
124 + - aggregation: average
125 + kind: gauge
126 +- id: integration_runtime_available_node_number
127 + azure_name: IntegrationRuntimeAvailableNodeNumber
128 + time_grain: PT1M
129 + series:
130 + - aggregation: average
131 + kind: gauge
132 +- id: integration_runtime_queue_length
133 + azure_name: IntegrationRuntimeQueueLength
134 + time_grain: PT1M
135 + series:
136 + - aggregation: average
137 + kind: gauge
138 +- id: integration_runtime_average_task_pickup_delay
139 + azure_name: IntegrationRuntimeAverageTaskPickupDelay
140 + time_grain: PT1M
141 + series:
142 + - aggregation: average
143 + kind: gauge
144 +- id: factory_size_in_gb_units
145 + azure_name: FactorySizeInGbUnits
146 + time_grain: PT1M
147 + series:
148 + - aggregation: maximum
149 + kind: gauge
150 +- id: max_allowed_factory_size_in_gb_units
151 + azure_name: MaxAllowedFactorySizeInGbUnits
152 + time_grain: PT1M
153 + series:
154 + - aggregation: maximum
155 + kind: gauge
156 +- id: resource_count
157 + azure_name: ResourceCount
158 + time_grain: PT1M
159 + series:
160 + - aggregation: maximum
161 + kind: gauge
162 +- id: max_allowed_resource_count
163 + azure_name: MaxAllowedResourceCount
164 + time_grain: PT1M
165 + series:
166 + - aggregation: maximum
167 + kind: gauge
168 +- id: mv_net_ir_copy_available_capacity_pct
169 + azure_name: MVNetIRCopyAvailableCapacityPCT
170 + time_grain: PT1M
171 + series:
172 + - aggregation: maximum
173 + kind: gauge
174 +- id: mv_net_ir_copy_capacity_utilization
175 + azure_name: MVNetIRCopyCapacityUtilization
176 + time_grain: PT1M
177 + series:
178 + - aggregation: maximum
179 + kind: gauge
180 +- id: mv_net_ir_copy_waiting_queue_length
181 + azure_name: MVNetIRCopyWaitingQueueLength
182 + time_grain: PT1M
183 + series:
184 + - aggregation: average
185 + kind: gauge
186 +- id: mv_net_ir_external_available_capacity_pct
187 + azure_name: MVNetIRExternalAvailableCapacityPCT
188 + time_grain: PT1M
189 + series:
190 + - aggregation: maximum
191 + kind: gauge
192 +- id: mv_net_ir_external_capacity_utilization
193 + azure_name: MVNetIRExternalCapacityUtilization
194 + time_grain: PT1M
195 + series:
196 + - aggregation: maximum
197 + kind: gauge
198 +- id: mv_net_ir_external_waiting_queue_length
199 + azure_name: MVNetIRExternalWaitingQueueLength
200 + time_grain: PT1M
201 + series:
202 + - aggregation: average
203 + kind: gauge
204 +- id: mv_net_ir_pipeline_available_capacity_pct
205 + azure_name: MVNetIRPipelineAvailableCapacityPCT
206 + time_grain: PT1M
207 + series:
208 + - aggregation: maximum
209 + kind: gauge
210 +- id: mv_net_ir_pipeline_capacity_utilization
211 + azure_name: MVNetIRPipelineCapacityUtilization
212 + time_grain: PT1M
213 + series:
214 + - aggregation: maximum
215 + kind: gauge
216 +- id: mv_net_ir_pipeline_waiting_queue_length
217 + azure_name: MVNetIRPipelineWaitingQueueLength
218 + time_grain: PT1M
219 + series:
220 + - aggregation: average
221 + kind: gauge
222 +- id: airflow_integration_runtime_cpu_percentage
223 + azure_name: AirflowIntegrationRuntimeCpuPercentage
224 + time_grain: PT1M
225 + series:
226 + - aggregation: average
227 + kind: gauge
228 +- id: airflow_integration_runtime_cpu_usage
229 + azure_name: AirflowIntegrationRuntimeCpuUsage
230 + time_grain: PT1M
231 + series:
232 + - aggregation: average
233 + kind: gauge
234 +- id: airflow_integration_runtime_memory_percentage
235 + azure_name: AirflowIntegrationRuntimeMemoryPercentage
236 + time_grain: PT1M
237 + series:
238 + - aggregation: average
239 + kind: gauge
240 +- id: airflow_integration_runtime_memory_usage
241 + azure_name: AirflowIntegrationRuntimeMemoryUsage
242 + time_grain: PT1M
243 + series:
244 + - aggregation: average
245 + kind: gauge
246 +- id: airflow_integration_runtime_node_count
247 + azure_name: AirflowIntegrationRuntimeNodeCount
248 + time_grain: PT1M
249 + series:
250 + - aggregation: average
251 + kind: gauge
252 +- id: airflow_integration_runtime_collect_db_dags
253 + azure_name: AirflowIntegrationRuntimeCollectDBDags
254 + time_grain: PT1M
255 + series:
256 + - aggregation: average
257 + kind: gauge
258 +- id: airflow_integration_runtime_dag_bag_size
259 + azure_name: AirflowIntegrationRuntimeDagBagSize
260 + time_grain: PT1M
261 + series:
262 + - aggregation: total
263 + kind: counter
264 +- id: airflow_integration_runtime_dag_callback_exceptions
265 + azure_name: AirflowIntegrationRuntimeDagCallbackExceptions
266 + time_grain: PT1M
267 + series:
268 + - aggregation: total
269 + kind: counter
270 +- id: airflow_integration_runtime_dag_file_refresh_error
271 + azure_name: AirflowIntegrationRuntimeDAGFileRefreshError
272 + time_grain: PT1M
273 + series:
274 + - aggregation: total
275 + kind: counter
276 +- id: airflow_integration_runtime_dag_processing_import_errors
277 + azure_name: AirflowIntegrationRuntimeDAGProcessingImportErrors
278 + time_grain: PT1M
279 + series:
280 + - aggregation: total
281 + kind: counter
282 +- id: airflow_integration_runtime_dag_processing_last_duration
283 + azure_name: AirflowIntegrationRuntimeDAGProcessingLastDuration
284 + time_grain: PT1M
285 + series:
286 + - aggregation: average
287 + kind: gauge
288 +- id: airflow_integration_runtime_dag_processing_last_run_seconds_ago
289 + azure_name: AirflowIntegrationRuntimeDAGProcessingLastRunSecondsAgo
290 + time_grain: PT1M
291 + series:
292 + - aggregation: average
293 + kind: gauge
294 +- id: airflow_integration_runtime_dag_processing_manager_stalls
295 + azure_name: AirflowIntegrationRuntimeDAGProcessingManagerStalls
296 + time_grain: PT1M
297 + series:
298 + - aggregation: total
299 + kind: counter
300 +- id: airflow_integration_runtime_dag_processing_processes
301 + azure_name: AirflowIntegrationRuntimeDAGProcessingProcesses
302 + time_grain: PT1M
303 + series:
304 + - aggregation: total
305 + kind: counter
306 +- id: airflow_integration_runtime_dag_processing_processor_timeouts
307 + azure_name: AirflowIntegrationRuntimeDAGProcessingProcessorTimeouts
308 + time_grain: PT1M
309 + series:
310 + - aggregation: average
311 + kind: gauge
312 +- id: airflow_integration_runtime_dag_processing_total_parse_time
313 + azure_name: AirflowIntegrationRuntimeDAGProcessingTotalParseTime
314 + time_grain: PT1M
315 + series:
316 + - aggregation: average
317 + kind: gauge
318 +- id: airflow_integration_runtime_dag_run_dependency_check
319 + azure_name: AirflowIntegrationRuntimeDAGRunDependencyCheck
320 + time_grain: PT1M
321 + series:
322 + - aggregation: average
323 + kind: gauge
324 +- id: airflow_integration_runtime_dag_run_duration_failed
325 + azure_name: AirflowIntegrationRuntimeDAGRunDurationFailed
326 + time_grain: PT1M
327 + series:
328 + - aggregation: average
329 + kind: gauge
330 +- id: airflow_integration_runtime_dag_run_duration_success
331 + azure_name: AirflowIntegrationRuntimeDAGRunDurationSuccess
332 + time_grain: PT1M
333 + series:
334 + - aggregation: average
335 + kind: gauge
336 +- id: airflow_integration_runtime_dag_run_first_task_scheduling_delay
337 + azure_name: AirflowIntegrationRuntimeDAGRunFirstTaskSchedulingDelay
338 + time_grain: PT1M
339 + series:
340 + - aggregation: average
341 + kind: gauge
342 +- id: airflow_integration_runtime_dag_run_schedule_delay
343 + azure_name: AirflowIntegrationRuntimeDAGRunScheduleDelay
344 + time_grain: PT1M
345 + series:
346 + - aggregation: average
347 + kind: gauge
348 +- id: airflow_integration_runtime_executor_open_slots
349 + azure_name: AirflowIntegrationRuntimeExecutorOpenSlots
350 + time_grain: PT1M
351 + series:
352 + - aggregation: total
353 + kind: counter
354 +- id: airflow_integration_runtime_executor_queued_tasks
355 + azure_name: AirflowIntegrationRuntimeExecutorQueuedTasks
356 + time_grain: PT1M
357 + series:
358 + - aggregation: total
359 + kind: counter
360 +- id: airflow_integration_runtime_executor_running_tasks
361 + azure_name: AirflowIntegrationRuntimeExecutorRunningTasks
362 + time_grain: PT1M
363 + series:
364 + - aggregation: total
365 + kind: counter
366 +- id: airflow_integration_runtime_job_start
367 + azure_name: AirflowIntegrationRuntimeJobStart
368 + time_grain: PT1M
369 + series:
370 + - aggregation: total
371 + kind: counter
372 +- id: airflow_integration_runtime_job_end
373 + azure_name: AirflowIntegrationRuntimeJobEnd
374 + time_grain: PT1M
375 + series:
376 + - aggregation: total
377 + kind: counter
378 +- id: airflow_integration_runtime_job_heartbeat_failure
379 + azure_name: AirflowIntegrationRuntimeJobHeartbeatFailure
380 + time_grain: PT1M
381 + series:
382 + - aggregation: total
383 + kind: counter
384 +- id: airflow_integration_runtime_operator_successes
385 + azure_name: AirflowIntegrationRuntimeOperatorSuccesses
386 + time_grain: PT1M
387 + series:
388 + - aggregation: total
389 + kind: counter
390 +- id: airflow_integration_runtime_operator_failures
391 + azure_name: AirflowIntegrationRuntimeOperatorFailures
392 + time_grain: PT1M
393 + series:
394 + - aggregation: total
395 + kind: counter
396 +- id: airflow_integration_runtime_pool_open_slots
397 + azure_name: AirflowIntegrationRuntimePoolOpenSlots
398 + time_grain: PT1M
399 + series:
400 + - aggregation: total
401 + kind: counter
402 +- id: airflow_integration_runtime_pool_queued_slots
403 + azure_name: AirflowIntegrationRuntimePoolQueuedSlots
404 + time_grain: PT1M
405 + series:
406 + - aggregation: total
407 + kind: counter
408 +- id: airflow_integration_runtime_pool_running_slots
409 + azure_name: AirflowIntegrationRuntimePoolRunningSlots
410 + time_grain: PT1M
411 + series:
412 + - aggregation: total
413 + kind: counter
414 +- id: airflow_integration_runtime_pool_starving_tasks
415 + azure_name: AirflowIntegrationRuntimePoolStarvingTasks
416 + time_grain: PT1M
417 + series:
418 + - aggregation: total
419 + kind: counter
420 +- id: airflow_integration_runtime_scheduler_critical_section_busy
421 + azure_name: AirflowIntegrationRuntimeSchedulerCriticalSectionBusy
422 + time_grain: PT1M
423 + series:
424 + - aggregation: total
425 + kind: counter
426 +- id: airflow_integration_runtime_scheduler_critical_section_duration
427 + azure_name: AirflowIntegrationRuntimeSchedulerCriticalSectionDuration
428 + time_grain: PT1M
429 + series:
430 + - aggregation: average
431 + kind: gauge
432 +- id: airflow_integration_runtime_scheduler_failed_sla_email_attempts
433 + azure_name: AirflowIntegrationRuntimeSchedulerFailedSLAEmailAttempts
434 + time_grain: PT1M
435 + series:
436 + - aggregation: total
437 + kind: counter
438 +- id: airflow_integration_runtime_scheduler_heartbeat
439 + azure_name: AirflowIntegrationRuntimeSchedulerHeartbeat
440 + time_grain: PT1M
441 + series:
442 + - aggregation: total
443 + kind: counter
444 +- id: airflow_integration_runtime_scheduler_orphaned_tasks_adopted
445 + azure_name: AirflowIntegrationRuntimeSchedulerOrphanedTasksAdopted
446 + time_grain: PT1M
447 + series:
448 + - aggregation: total
449 + kind: counter
450 +- id: airflow_integration_runtime_scheduler_orphaned_tasks_cleared
451 + azure_name: AirflowIntegrationRuntimeSchedulerOrphanedTasksCleared
452 + time_grain: PT1M
453 + series:
454 + - aggregation: total
455 + kind: counter
456 +- id: airflow_integration_runtime_scheduler_tasks_executable
457 + azure_name: AirflowIntegrationRuntimeSchedulerTasksExecutable
458 + time_grain: PT1M
459 + series:
460 + - aggregation: total
461 + kind: counter
462 +- id: airflow_integration_runtime_scheduler_tasks_killed_externally
463 + azure_name: AirflowIntegrationRuntimeSchedulerTasksKilledExternally
464 + time_grain: PT1M
465 + series:
466 + - aggregation: total
467 + kind: counter
468 +- id: airflow_integration_runtime_scheduler_tasks_running
469 + azure_name: AirflowIntegrationRuntimeSchedulerTasksRunning
470 + time_grain: PT1M
471 + series:
472 + - aggregation: total
473 + kind: counter
474 +- id: airflow_integration_runtime_scheduler_tasks_starving
475 + azure_name: AirflowIntegrationRuntimeSchedulerTasksStarving
476 + time_grain: PT1M
477 + series:
478 + - aggregation: total
479 + kind: counter
480 +- id: airflow_integration_runtime_started_task_instances
481 + azure_name: AirflowIntegrationRuntimeStartedTaskInstances
482 + time_grain: PT1M
483 + series:
484 + - aggregation: total
485 + kind: counter
486 +- id: airflow_integration_runtime_task_instance_created_using_operator
487 + azure_name: AirflowIntegrationRuntimeTaskInstanceCreatedUsingOperator
488 + time_grain: PT1M
489 + series:
490 + - aggregation: total
491 + kind: counter
492 +- id: airflow_integration_runtime_task_instance_duration
493 + azure_name: AirflowIntegrationRuntimeTaskInstanceDuration
494 + time_grain: PT1M
495 + series:
496 + - aggregation: average
497 + kind: gauge
498 +- id: airflow_integration_runtime_task_instance_successes
499 + azure_name: AirflowIntegrationRuntimeTaskInstanceSuccesses
500 + time_grain: PT1M
501 + series:
502 + - aggregation: total
503 + kind: counter
504 +- id: airflow_integration_runtime_task_instance_failures
505 + azure_name: AirflowIntegrationRuntimeTaskInstanceFailures
506 + time_grain: PT1M
507 + series:
508 + - aggregation: total
509 + kind: counter
510 +- id: airflow_integration_runtime_task_instance_finished
511 + azure_name: AirflowIntegrationRuntimeTaskInstanceFinished
512 + time_grain: PT1M
513 + series:
514 + - aggregation: total
515 + kind: counter
516 +- id: airflow_integration_runtime_task_instance_previously_succeeded
517 + azure_name: AirflowIntegrationRuntimeTaskInstancePreviouslySucceeded
518 + time_grain: PT1M
519 + series:
520 + - aggregation: total
521 + kind: counter
522 +- id: airflow_integration_runtime_task_removed_from_dag
523 + azure_name: AirflowIntegrationRuntimeTaskRemovedFromDAG
524 + time_grain: PT1M
525 + series:
526 + - aggregation: total
527 + kind: counter
528 +- id: airflow_integration_runtime_task_restored_to_dag
529 + azure_name: AirflowIntegrationRuntimeTaskRestoredToDAG
530 + time_grain: PT1M
531 + series:
532 + - aggregation: total
533 + kind: counter
534 +- id: airflow_integration_runtime_celery_task_timeout_error
535 + azure_name: AirflowIntegrationRuntimeCeleryTaskTimeoutError
536 + time_grain: PT1M
537 + series:
538 + - aggregation: total
539 + kind: counter
540 +- id: airflow_integration_runtime_triggers_blocked_main_thread
541 + azure_name: AirflowIntegrationRuntimeTriggersBlockedMainThread
542 + time_grain: PT1M
543 + series:
544 + - aggregation: total
545 + kind: counter
546 +- id: airflow_integration_runtime_triggers_failed
547 + azure_name: AirflowIntegrationRuntimeTriggersFailed
548 + time_grain: PT1M
549 + series:
550 + - aggregation: total
551 + kind: counter
552 +- id: airflow_integration_runtime_triggers_running
553 + azure_name: AirflowIntegrationRuntimeTriggersRunning
554 + time_grain: PT1M
555 + series:
556 + - aggregation: total
557 + kind: counter
558 +- id: airflow_integration_runtime_triggers_succeeded
559 + azure_name: AirflowIntegrationRuntimeTriggersSucceeded
560 + time_grain: PT1M
561 + series:
562 + - aggregation: total
563 + kind: counter
564 +- id: airflow_integration_runtime_zombies_killed
565 + azure_name: AirflowIntegrationRuntimeZombiesKilled
566 + time_grain: PT1M
567 + series:
568 + - aggregation: total
569 + kind: counter
570 +template:
571 + family: Azure Data Factory
572 + context_namespace: data_factory
573 + chart_defaults:
574 + label_promotion:
575 + - resource_name
576 + - resource_group
577 + - region
578 + - resource_type
579 + - profile
580 + instances:
581 + by_labels:
582 + - resource_uid
583 + charts:
584 + - id: am_azure_data_factory__pipeline_runs
585 + title: Azure Data Factory Pipeline Runs
586 + context: pipeline_runs
587 + family: Pipelines
588 + type: line
589 + units: runs/s
590 + algorithm: incremental
591 + dimensions:
592 + - selector: data_factory.pipeline_succeeded_runs_total
593 + name: succeeded
594 + - selector: data_factory.pipeline_failed_runs_total
595 + name: failed
596 + - selector: data_factory.pipeline_cancelled_runs_total
597 + name: cancelled
598 + - id: am_azure_data_factory__pipeline_elapsed_time
599 + title: Azure Data Factory Pipeline Elapsed Time Runs
600 + context: pipeline_elapsed_time
601 + family: Pipelines
602 + type: line
603 + units: runs/s
604 + algorithm: incremental
605 + dimensions:
606 + - selector: data_factory.pipeline_elapsed_time_runs_total
607 + name: elapsed_time
608 + - id: am_azure_data_factory__activity_runs
609 + title: Azure Data Factory Activity Runs
610 + context: activity_runs
611 + family: Activities
612 + type: line
613 + units: runs/s
614 + algorithm: incremental
615 + dimensions:
616 + - selector: data_factory.activity_succeeded_runs_total
617 + name: succeeded
618 + - selector: data_factory.activity_failed_runs_total
619 + name: failed
620 + - selector: data_factory.activity_cancelled_runs_total
621 + name: cancelled
622 + - id: am_azure_data_factory__trigger_runs
623 + title: Azure Data Factory Trigger Runs
624 + context: trigger_runs
625 + family: Triggers
626 + type: line
627 + units: runs/s
628 + algorithm: incremental
629 + dimensions:
630 + - selector: data_factory.trigger_succeeded_runs_total
631 + name: succeeded
632 + - selector: data_factory.trigger_failed_runs_total
633 + name: failed
634 + - selector: data_factory.trigger_cancelled_runs_total
635 + name: cancelled
636 + - id: am_azure_data_factory__ssis_ir_starts
637 + title: Azure Data Factory SSIS IR Start Operations
638 + context: ssis_ir_starts
639 + family: SSIS
640 + type: line
641 + units: runs/s
642 + algorithm: incremental
643 + dimensions:
644 + - selector: data_factory.ssis_integration_runtime_start_succeeded_total
645 + name: succeeded
646 + - selector: data_factory.ssis_integration_runtime_start_failed_total
647 + name: failed
648 + - selector: data_factory.ssis_integration_runtime_start_cancel_total
649 + name: cancelled
650 + - id: am_azure_data_factory__ssis_ir_stops
651 + title: Azure Data Factory SSIS IR Stop Operations
652 + context: ssis_ir_stops
653 + family: SSIS
654 + type: line
655 + units: runs/s
656 + algorithm: incremental
657 + dimensions:
658 + - selector: data_factory.ssis_integration_runtime_stop_succeeded_total
659 + name: succeeded
660 + - selector: data_factory.ssis_integration_runtime_stop_stuck_total
661 + name: stuck
662 + - id: am_azure_data_factory__ssis_package_executions
663 + title: Azure Data Factory SSIS Package Executions
664 + context: ssis_package_executions
665 + family: SSIS
666 + type: line
667 + units: executions/s
668 + algorithm: incremental
669 + dimensions:
670 + - selector: data_factory.ssis_package_execution_succeeded_total
671 + name: succeeded
672 + - selector: data_factory.ssis_package_execution_failed_total
673 + name: failed
674 + - selector: data_factory.ssis_package_execution_cancel_total
675 + name: cancelled
676 + - id: am_azure_data_factory__ir_cpu
677 + title: Azure Data Factory Integration Runtime CPU
678 + context: ir_cpu
679 + family: Integration Runtime
680 + type: line
681 + units: percentage
682 + algorithm: absolute
683 + dimensions:
684 + - selector: data_factory.integration_runtime_cpu_percentage_average
685 + name: average
686 + - id: am_azure_data_factory__ir_memory
687 + title: Azure Data Factory Integration Runtime Available Memory
688 + context: ir_memory
689 + family: Integration Runtime
690 + type: line
691 + units: bytes
692 + algorithm: absolute
693 + dimensions:
694 + - selector: data_factory.integration_runtime_available_memory_average
695 + name: available
696 + - id: am_azure_data_factory__ir_nodes
697 + title: Azure Data Factory Integration Runtime Available Nodes
698 + context: ir_nodes
699 + family: Integration Runtime
700 + type: line
701 + units: nodes
702 + algorithm: absolute
703 + dimensions:
704 + - selector: data_factory.integration_runtime_available_node_number_average
705 + name: available
706 + - id: am_azure_data_factory__ir_queue
707 + title: Azure Data Factory Integration Runtime Queue
708 + context: ir_queue
709 + family: Integration Runtime
710 + type: line
711 + units: tasks
712 + algorithm: absolute
713 + dimensions:
714 + - selector: data_factory.integration_runtime_queue_length_average
715 + name: queue_length
716 + - id: am_azure_data_factory__ir_task_pickup_delay
717 + title: Azure Data Factory Integration Runtime Task Pickup Delay
718 + context: ir_task_pickup_delay
719 + family: Integration Runtime
720 + type: line
721 + units: seconds
722 + algorithm: absolute
723 + dimensions:
724 + - selector: data_factory.integration_runtime_average_task_pickup_delay_average
725 + name: average
726 + - id: am_azure_data_factory__factory_size
727 + title: Azure Data Factory Factory Size
728 + context: factory_size
729 + family: Capacity
730 + type: line
731 + units: GiB
732 + algorithm: absolute
733 + dimensions:
734 + - selector: data_factory.factory_size_in_gb_units_maximum
735 + name: current
736 + - selector: data_factory.max_allowed_factory_size_in_gb_units_maximum
737 + name: max_allowed
738 + - id: am_azure_data_factory__entity_count
739 + title: Azure Data Factory Entity Count
740 + context: entity_count
741 + family: Capacity
742 + type: line
743 + units: entities
744 + algorithm: absolute
745 + dimensions:
746 + - selector: data_factory.resource_count_maximum
747 + name: current
748 + - selector: data_factory.max_allowed_resource_count_maximum
749 + name: max_allowed
750 + - id: am_azure_data_factory__mvnet_ir_copy_capacity
751 + title: Azure Data Factory MVNet IR Copy Capacity
752 + context: mvnet_ir_copy_capacity
753 + family: MVNet IR
754 + type: line
755 + units: percentage
756 + algorithm: absolute
757 + dimensions:
758 + - selector: data_factory.mv_net_ir_copy_capacity_utilization_maximum
759 + name: utilization
760 + - selector: data_factory.mv_net_ir_copy_available_capacity_pct_maximum
761 + name: available
762 + - id: am_azure_data_factory__mvnet_ir_copy_queue
763 + title: Azure Data Factory MVNet IR Copy Queue
764 + context: mvnet_ir_copy_queue
765 + family: MVNet IR
766 + type: line
767 + units: tasks
768 + algorithm: absolute
769 + dimensions:
770 + - selector: data_factory.mv_net_ir_copy_waiting_queue_length_average
771 + name: waiting
772 + - id: am_azure_data_factory__mvnet_ir_external_capacity
773 + title: Azure Data Factory MVNet IR External Capacity
774 + context: mvnet_ir_external_capacity
775 + family: MVNet IR
776 + type: line
777 + units: percentage
778 + algorithm: absolute
779 + dimensions:
780 + - selector: data_factory.mv_net_ir_external_capacity_utilization_maximum
781 + name: utilization
782 + - selector: data_factory.mv_net_ir_external_available_capacity_pct_maximum
783 + name: available
784 + - id: am_azure_data_factory__mvnet_ir_external_queue
785 + title: Azure Data Factory MVNet IR External Queue
786 + context: mvnet_ir_external_queue
787 + family: MVNet IR
788 + type: line
789 + units: tasks
790 + algorithm: absolute
791 + dimensions:
792 + - selector: data_factory.mv_net_ir_external_waiting_queue_length_average
793 + name: waiting
794 + - id: am_azure_data_factory__mvnet_ir_pipeline_capacity
795 + title: Azure Data Factory MVNet IR Pipeline Capacity
796 + context: mvnet_ir_pipeline_capacity
797 + family: MVNet IR
798 + type: line
799 + units: percentage
800 + algorithm: absolute
801 + dimensions:
802 + - selector: data_factory.mv_net_ir_pipeline_capacity_utilization_maximum
803 + name: utilization
804 + - selector: data_factory.mv_net_ir_pipeline_available_capacity_pct_maximum
805 + name: available
806 + - id: am_azure_data_factory__mvnet_ir_pipeline_queue
807 + title: Azure Data Factory MVNet IR Pipeline Queue
808 + context: mvnet_ir_pipeline_queue
809 + family: MVNet IR
810 + type: line
811 + units: tasks
812 + algorithm: absolute
813 + dimensions:
814 + - selector: data_factory.mv_net_ir_pipeline_waiting_queue_length_average
815 + name: waiting
816 + - id: am_azure_data_factory__airflow_ir_cpu
817 + title: Azure Data Factory Airflow IR CPU
818 + context: airflow_ir_cpu
819 + family: Airflow IR
820 + type: line
821 + units: percentage
822 + algorithm: absolute
823 + dimensions:
824 + - selector: data_factory.airflow_integration_runtime_cpu_percentage_average
825 + name: percentage
826 + - id: am_azure_data_factory__airflow_ir_cpu_usage
827 + title: Azure Data Factory Airflow IR CPU Usage
828 + context: airflow_ir_cpu_usage
829 + family: Airflow IR
830 + type: line
831 + units: millicores
832 + algorithm: absolute
833 + dimensions:
834 + - selector: data_factory.airflow_integration_runtime_cpu_usage_average
835 + name: average
836 + - id: am_azure_data_factory__airflow_ir_memory
837 + title: Azure Data Factory Airflow IR Memory
838 + context: airflow_ir_memory
839 + family: Airflow IR
840 + type: line
841 + units: percentage
842 + algorithm: absolute
843 + dimensions:
844 + - selector: data_factory.airflow_integration_runtime_memory_percentage_average
845 + name: percentage
846 + - id: am_azure_data_factory__airflow_ir_memory_usage
847 + title: Azure Data Factory Airflow IR Memory Usage
848 + context: airflow_ir_memory_usage
849 + family: Airflow IR
850 + type: line
851 + units: bytes
852 + algorithm: absolute
853 + dimensions:
854 + - selector: data_factory.airflow_integration_runtime_memory_usage_average
855 + name: average
856 + - id: am_azure_data_factory__airflow_ir_nodes
857 + title: Azure Data Factory Airflow IR Node Count
858 + context: airflow_ir_nodes
859 + family: Airflow IR
860 + type: line
861 + units: nodes
862 + algorithm: absolute
863 + dimensions:
864 + - selector: data_factory.airflow_integration_runtime_node_count_average
865 + name: average
866 + - id: am_azure_data_factory__airflow_ir_dag_collection
867 + title: Azure Data Factory Airflow IR DAG DB Collection Time
868 + context: airflow_ir_dag_collection
869 + family: Airflow DAG Processing
870 + type: line
871 + units: milliseconds
872 + algorithm: absolute
873 + dimensions:
874 + - selector: data_factory.airflow_integration_runtime_collect_db_dags_average
875 + name: average
876 + - id: am_azure_data_factory__airflow_ir_dag_bag
877 + title: Azure Data Factory Airflow IR DAG Bag Size
878 + context: airflow_ir_dag_bag
879 + family: Airflow DAG Processing
880 + type: line
881 + units: dags/s
882 + algorithm: incremental
883 + dimensions:
884 + - selector: data_factory.airflow_integration_runtime_dag_bag_size_total
885 + name: total
886 + - id: am_azure_data_factory__airflow_ir_dag_errors
887 + title: Azure Data Factory Airflow IR DAG Errors
888 + context: airflow_ir_dag_errors
889 + family: Airflow DAG Processing
890 + type: line
891 + units: errors/s
892 + algorithm: incremental
893 + dimensions:
894 + - selector: data_factory.airflow_integration_runtime_dag_callback_exceptions_total
895 + name: callback_exceptions
896 + - selector: data_factory.airflow_integration_runtime_dag_file_refresh_error_total
897 + name: file_refresh
898 + - selector: data_factory.airflow_integration_runtime_dag_processing_import_errors_total
899 + name: import
900 + - id: am_azure_data_factory__airflow_ir_dag_processing_duration
901 + title: Azure Data Factory Airflow IR DAG Processing Duration
902 + context: airflow_ir_dag_processing_duration
903 + family: Airflow DAG Processing
904 + type: line
905 + units: milliseconds
906 + algorithm: absolute
907 + dimensions:
908 + - selector: data_factory.airflow_integration_runtime_dag_processing_last_duration_average
909 + name: last_duration
910 + - id: am_azure_data_factory__airflow_ir_dag_processing_lag
911 + title: Azure Data Factory Airflow IR DAG Processing Lag
912 + context: airflow_ir_dag_processing_lag
913 + family: Airflow DAG Processing
914 + type: line
915 + units: seconds
916 + algorithm: absolute
917 + dimensions:
918 + - selector: data_factory.airflow_integration_runtime_dag_processing_last_run_seconds_ago_average
919 + name: last_run_seconds_ago
920 + - selector: data_factory.airflow_integration_runtime_dag_processing_processor_timeouts_average
921 + name: processor_timeouts
922 + - selector: data_factory.airflow_integration_runtime_dag_processing_total_parse_time_average
923 + name: total_parse_time
924 + - id: am_azure_data_factory__airflow_ir_dag_processing_activity
925 + title: Azure Data Factory Airflow IR DAG Processing Activity
926 + context: airflow_ir_dag_processing_activity
927 + family: Airflow DAG Processing
928 + type: line
929 + units: events/s
930 + algorithm: incremental
931 + dimensions:
932 + - selector: data_factory.airflow_integration_runtime_dag_processing_manager_stalls_total
933 + name: manager_stalls
934 + - selector: data_factory.airflow_integration_runtime_dag_processing_processes_total
935 + name: processes
936 + - id: am_azure_data_factory__airflow_ir_dag_run_duration
937 + title: Azure Data Factory Airflow IR DAG Run Duration
938 + context: airflow_ir_dag_run_duration
939 + family: Airflow DAG Runs
940 + type: line
941 + units: milliseconds
942 + algorithm: absolute
943 + dimensions:
944 + - selector: data_factory.airflow_integration_runtime_dag_run_duration_success_average
945 + name: success
946 + - selector: data_factory.airflow_integration_runtime_dag_run_duration_failed_average
947 + name: failed
948 + - id: am_azure_data_factory__airflow_ir_dag_run_scheduling
949 + title: Azure Data Factory Airflow IR DAG Run Scheduling Delays
950 + context: airflow_ir_dag_run_scheduling
951 + family: Airflow DAG Runs
952 + type: line
953 + units: milliseconds
954 + algorithm: absolute
955 + dimensions:
956 + - selector: data_factory.airflow_integration_runtime_dag_run_dependency_check_average
957 + name: dependency_check
958 + - selector: data_factory.airflow_integration_runtime_dag_run_first_task_scheduling_delay_average
959 + name: first_task_delay
960 + - selector: data_factory.airflow_integration_runtime_dag_run_schedule_delay_average
961 + name: schedule_delay
962 + - id: am_azure_data_factory__airflow_ir_executor
963 + title: Azure Data Factory Airflow IR Executor
964 + context: airflow_ir_executor
965 + family: Airflow Executor
966 + type: line
967 + units: slots/s
968 + algorithm: incremental
969 + dimensions:
970 + - selector: data_factory.airflow_integration_runtime_executor_open_slots_total
971 + name: open_slots
972 + - selector: data_factory.airflow_integration_runtime_executor_queued_tasks_total
973 + name: queued_tasks
974 + - selector: data_factory.airflow_integration_runtime_executor_running_tasks_total
975 + name: running_tasks
976 + - id: am_azure_data_factory__airflow_ir_jobs
977 + title: Azure Data Factory Airflow IR Jobs
978 + context: airflow_ir_jobs
979 + family: Airflow Jobs
980 + type: line
981 + units: jobs/s
982 + algorithm: incremental
983 + dimensions:
984 + - selector: data_factory.airflow_integration_runtime_job_start_total
985 + name: started
986 + - selector: data_factory.airflow_integration_runtime_job_end_total
987 + name: ended
988 + - selector: data_factory.airflow_integration_runtime_job_heartbeat_failure_total
989 + name: heartbeat_failures
990 + - id: am_azure_data_factory__airflow_ir_operators
991 + title: Azure Data Factory Airflow IR Operators
992 + context: airflow_ir_operators
993 + family: Airflow Operators
994 + type: line
995 + units: operations/s
996 + algorithm: incremental
997 + dimensions:
998 + - selector: data_factory.airflow_integration_runtime_operator_successes_total
999 + name: successes
1000 + - selector: data_factory.airflow_integration_runtime_operator_failures_total
1001 + name: failures
1002 + - id: am_azure_data_factory__airflow_ir_pool_slots
1003 + title: Azure Data Factory Airflow IR Pool Slots
1004 + context: airflow_ir_pool_slots
1005 + family: Airflow Pools
1006 + type: line
1007 + units: slots/s
1008 + algorithm: incremental
1009 + dimensions:
1010 + - selector: data_factory.airflow_integration_runtime_pool_open_slots_total
1011 + name: open
1012 + - selector: data_factory.airflow_integration_runtime_pool_queued_slots_total
1013 + name: queued
1014 + - selector: data_factory.airflow_integration_runtime_pool_running_slots_total
1015 + name: running
1016 + - id: am_azure_data_factory__airflow_ir_pool_starving
1017 + title: Azure Data Factory Airflow IR Pool Starving Tasks
1018 + context: airflow_ir_pool_starving
1019 + family: Airflow Pools
1020 + type: line
1021 + units: tasks/s
1022 + algorithm: incremental
1023 + dimensions:
1024 + - selector: data_factory.airflow_integration_runtime_pool_starving_tasks_total
1025 + name: starving
1026 + - id: am_azure_data_factory__airflow_ir_scheduler_critical_section
1027 + title: Azure Data Factory Airflow IR Scheduler Critical Section
1028 + context: airflow_ir_scheduler_critical_section
1029 + family: Airflow Scheduler
1030 + type: line
1031 + units: milliseconds
1032 + algorithm: absolute
1033 + dimensions:
1034 + - selector: data_factory.airflow_integration_runtime_scheduler_critical_section_duration_average
1035 + name: duration
1036 + - id: am_azure_data_factory__airflow_ir_scheduler_activity
1037 + title: Azure Data Factory Airflow IR Scheduler Activity
1038 + context: airflow_ir_scheduler_activity
1039 + family: Airflow Scheduler
1040 + type: line
1041 + units: events/s
1042 + algorithm: incremental
1043 + dimensions:
1044 + - selector: data_factory.airflow_integration_runtime_scheduler_critical_section_busy_total
1045 + name: critical_section_busy
1046 + - selector: data_factory.airflow_integration_runtime_scheduler_heartbeat_total
1047 + name: heartbeats
1048 + - selector: data_factory.airflow_integration_runtime_scheduler_failed_sla_email_attempts_total
1049 + name: failed_sla_emails
1050 + - id: am_azure_data_factory__airflow_ir_scheduler_orphaned_tasks
1051 + title: Azure Data Factory Airflow IR Scheduler Orphaned Tasks
1052 + context: airflow_ir_scheduler_orphaned_tasks
1053 + family: Airflow Scheduler
1054 + type: line
1055 + units: tasks/s
1056 + algorithm: incremental
1057 + dimensions:
1058 + - selector: data_factory.airflow_integration_runtime_scheduler_orphaned_tasks_adopted_total
1059 + name: adopted
1060 + - selector: data_factory.airflow_integration_runtime_scheduler_orphaned_tasks_cleared_total
1061 + name: cleared
1062 + - id: am_azure_data_factory__airflow_ir_scheduler_tasks
1063 + title: Azure Data Factory Airflow IR Scheduler Tasks
1064 + context: airflow_ir_scheduler_tasks
1065 + family: Airflow Scheduler
1066 + type: line
1067 + units: tasks/s
1068 + algorithm: incremental
1069 + dimensions:
1070 + - selector: data_factory.airflow_integration_runtime_scheduler_tasks_executable_total
1071 + name: executable
1072 + - selector: data_factory.airflow_integration_runtime_scheduler_tasks_running_total
1073 + name: running
1074 + - selector: data_factory.airflow_integration_runtime_scheduler_tasks_starving_total
1075 + name: starving
1076 + - selector: data_factory.airflow_integration_runtime_scheduler_tasks_killed_externally_total
1077 + name: killed_externally
1078 + - id: am_azure_data_factory__airflow_ir_task_instances
1079 + title: Azure Data Factory Airflow IR Task Instances
1080 + context: airflow_ir_task_instances
1081 + family: Airflow Tasks
1082 + type: line
1083 + units: instances/s
1084 + algorithm: incremental
1085 + dimensions:
1086 + - selector: data_factory.airflow_integration_runtime_started_task_instances_total
1087 + name: started
1088 + - selector: data_factory.airflow_integration_runtime_task_instance_successes_total
1089 + name: succeeded
1090 + - selector: data_factory.airflow_integration_runtime_task_instance_failures_total
1091 + name: failed
1092 + - selector: data_factory.airflow_integration_runtime_task_instance_finished_total
1093 + name: finished
1094 + - selector: data_factory.airflow_integration_runtime_task_instance_previously_succeeded_total
1095 + name: previously_succeeded
1096 + - selector: data_factory.airflow_integration_runtime_task_instance_created_using_operator_total
1097 + name: created_via_operator
1098 + - id: am_azure_data_factory__airflow_ir_task_instance_duration
1099 + title: Azure Data Factory Airflow IR Task Instance Duration
1100 + context: airflow_ir_task_instance_duration
1101 + family: Airflow Tasks
1102 + type: line
1103 + units: milliseconds
1104 + algorithm: absolute
1105 + dimensions:
1106 + - selector: data_factory.airflow_integration_runtime_task_instance_duration_average
1107 + name: average
1108 + - id: am_azure_data_factory__airflow_ir_task_dag_changes
1109 + title: Azure Data Factory Airflow IR Task DAG Changes
1110 + context: airflow_ir_task_dag_changes
1111 + family: Airflow Tasks
1112 + type: line
1113 + units: tasks/s
1114 + algorithm: incremental
1115 + dimensions:
1116 + - selector: data_factory.airflow_integration_runtime_task_removed_from_dag_total
1117 + name: removed
1118 + - selector: data_factory.airflow_integration_runtime_task_restored_to_dag_total
1119 + name: restored
1120 + - id: am_azure_data_factory__airflow_ir_triggers
1121 + title: Azure Data Factory Airflow IR Triggers
1122 + context: airflow_ir_triggers
1123 + family: Airflow Triggers
1124 + type: line
1125 + units: triggers/s
1126 + algorithm: incremental
1127 + dimensions:
1128 + - selector: data_factory.airflow_integration_runtime_triggers_succeeded_total
1129 + name: succeeded
1130 + - selector: data_factory.airflow_integration_runtime_triggers_failed_total
1131 + name: failed
1132 + - selector: data_factory.airflow_integration_runtime_triggers_running_total
1133 + name: running
1134 + - id: am_azure_data_factory__airflow_ir_trigger_issues
1135 + title: Azure Data Factory Airflow IR Trigger Issues
1136 + context: airflow_ir_trigger_issues
1137 + family: Airflow Triggers
1138 + type: line
1139 + units: events/s
1140 + algorithm: incremental
1141 + dimensions:
1142 + - selector: data_factory.airflow_integration_runtime_triggers_blocked_main_thread_total
1143 + name: blocked_main_thread
1144 + - selector: data_factory.airflow_integration_runtime_celery_task_timeout_error_total
1145 + name: celery_timeout_errors
1146 + - id: am_azure_data_factory__airflow_ir_zombies
1147 + title: Azure Data Factory Airflow IR Zombie Tasks Killed
1148 + context: airflow_ir_zombies
1149 + family: Airflow Triggers
1150 + type: line
1151 + units: tasks/s
1152 + algorithm: incremental
1153 + dimensions:
1154 + - selector: data_factory.airflow_integration_runtime_zombies_killed_total
1155 + name: killed
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/event_grid.yaml new
+155
@@ -0,0 +1,155 @@
1 +---
2 +id: event_grid
3 +name: Azure Event Grid Topic
4 +resource_type: Microsoft.EventGrid/topics
5 +metrics:
6 +- id: publish_success_count
7 + azure_name: PublishSuccessCount
8 + time_grain: PT1M
9 + series:
10 + - aggregation: total
11 + kind: counter
12 +- id: publish_fail_count
13 + azure_name: PublishFailCount
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: publish_success_latency_in_ms
19 + azure_name: PublishSuccessLatencyInMs
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: counter
24 +- id: matched_event_count
25 + azure_name: MatchedEventCount
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: unmatched_event_count
31 + azure_name: UnmatchedEventCount
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: counter
36 +- id: advanced_filter_evaluation_count
37 + azure_name: AdvancedFilterEvaluationCount
38 + time_grain: PT1M
39 + series:
40 + - aggregation: total
41 + kind: counter
42 +- id: delivery_success_count
43 + azure_name: DeliverySuccessCount
44 + time_grain: PT1M
45 + series:
46 + - aggregation: total
47 + kind: counter
48 +- id: delivery_attempt_fail_count
49 + azure_name: DeliveryAttemptFailCount
50 + time_grain: PT1M
51 + series:
52 + - aggregation: total
53 + kind: counter
54 +- id: dropped_event_count
55 + azure_name: DroppedEventCount
56 + time_grain: PT1M
57 + series:
58 + - aggregation: total
59 + kind: counter
60 +- id: dead_lettered_count
61 + azure_name: DeadLetteredCount
62 + time_grain: PT1M
63 + series:
64 + - aggregation: total
65 + kind: counter
66 +- id: destination_processing_duration_in_ms
67 + azure_name: DestinationProcessingDurationInMs
68 + time_grain: PT1M
69 + series:
70 + - aggregation: average
71 + kind: gauge
72 +template:
73 + family: Azure Event Grid Topic
74 + context_namespace: event_grid
75 + chart_defaults:
76 + label_promotion:
77 + - resource_name
78 + - resource_group
79 + - region
80 + - resource_type
81 + - profile
82 + instances:
83 + by_labels:
84 + - resource_uid
85 + charts:
86 + - id: am_azure_event_grid__publish_rate
87 + title: Azure Event Grid Publish Rate
88 + context: publish_rate
89 + family: Publishing
90 + type: line
91 + units: events/s
92 + algorithm: incremental
93 + dimensions:
94 + - selector: event_grid.publish_success_count_total
95 + name: success
96 + - selector: event_grid.publish_fail_count_total
97 + name: failed
98 + - id: am_azure_event_grid__publish_latency
99 + title: Azure Event Grid Publish Latency
100 + context: publish_latency
101 + family: Publishing
102 + type: line
103 + units: milliseconds
104 + algorithm: incremental
105 + dimensions:
106 + - selector: event_grid.publish_success_latency_in_ms_total
107 + name: latency
108 + - id: am_azure_event_grid__routing
109 + title: Azure Event Grid Event Routing
110 + context: routing
111 + family: Routing
112 + type: line
113 + units: events/s
114 + algorithm: incremental
115 + dimensions:
116 + - selector: event_grid.matched_event_count_total
117 + name: matched
118 + - selector: event_grid.unmatched_event_count_total
119 + name: unmatched
120 + - id: am_azure_event_grid__advanced_filter_evaluations
121 + title: Azure Event Grid Advanced Filter Evaluations
122 + context: advanced_filter_evaluations
123 + family: Routing
124 + type: line
125 + units: evaluations/s
126 + algorithm: incremental
127 + dimensions:
128 + - selector: event_grid.advanced_filter_evaluation_count_total
129 + name: evaluations
130 + - id: am_azure_event_grid__delivery
131 + title: Azure Event Grid Event Delivery
132 + context: delivery
133 + family: Delivery
134 + type: line
135 + units: events/s
136 + algorithm: incremental
137 + dimensions:
138 + - selector: event_grid.delivery_success_count_total
139 + name: delivered
140 + - selector: event_grid.delivery_attempt_fail_count_total
141 + name: failed
142 + - selector: event_grid.dropped_event_count_total
143 + name: dropped
144 + - selector: event_grid.dead_lettered_count_total
145 + name: dead_lettered
146 + - id: am_azure_event_grid__destination_processing_duration
147 + title: Azure Event Grid Destination Processing Duration
148 + context: destination_processing_duration
149 + family: Performance
150 + type: line
151 + units: milliseconds
152 + algorithm: absolute
153 + dimensions:
154 + - selector: event_grid.destination_processing_duration_in_ms_average
155 + name: average
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/event_hubs.yaml new
+291
@@ -0,0 +1,291 @@
1 +---
2 +id: event_hubs
3 +name: Azure Event Hubs Namespace
4 +resource_type: Microsoft.EventHub/Namespaces
5 +metrics:
6 +- id: incoming_messages
7 + azure_name: IncomingMessages
8 + time_grain: PT1M
9 + series:
10 + - aggregation: total
11 + kind: counter
12 +- id: outgoing_messages
13 + azure_name: OutgoingMessages
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: incoming_bytes
19 + azure_name: IncomingBytes
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: counter
24 +- id: outgoing_bytes
25 + azure_name: OutgoingBytes
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: incoming_requests
31 + azure_name: IncomingRequests
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: counter
36 +- id: successful_requests
37 + azure_name: SuccessfulRequests
38 + time_grain: PT1M
39 + series:
40 + - aggregation: total
41 + kind: counter
42 +- id: throttled_requests
43 + azure_name: ThrottledRequests
44 + time_grain: PT1M
45 + series:
46 + - aggregation: total
47 + kind: counter
48 +- id: server_errors
49 + azure_name: ServerErrors
50 + time_grain: PT1M
51 + series:
52 + - aggregation: total
53 + kind: counter
54 +- id: user_errors
55 + azure_name: UserErrors
56 + time_grain: PT1M
57 + series:
58 + - aggregation: total
59 + kind: counter
60 +- id: quota_exceeded_errors
61 + azure_name: QuotaExceededErrors
62 + time_grain: PT1M
63 + series:
64 + - aggregation: total
65 + kind: counter
66 +- id: active_connections
67 + azure_name: ActiveConnections
68 + time_grain: PT1M
69 + series:
70 + - aggregation: average
71 + kind: gauge
72 +- id: connections_opened
73 + azure_name: ConnectionsOpened
74 + time_grain: PT1M
75 + series:
76 + - aggregation: maximum
77 + kind: gauge
78 +- id: connections_closed
79 + azure_name: ConnectionsClosed
80 + time_grain: PT1M
81 + series:
82 + - aggregation: maximum
83 + kind: gauge
84 +- id: captured_messages
85 + azure_name: CapturedMessages
86 + time_grain: PT1M
87 + series:
88 + - aggregation: total
89 + kind: counter
90 +- id: captured_bytes
91 + azure_name: CapturedBytes
92 + time_grain: PT1M
93 + series:
94 + - aggregation: total
95 + kind: counter
96 +- id: capture_backlog
97 + azure_name: CaptureBacklog
98 + time_grain: PT1M
99 + series:
100 + - aggregation: total
101 + kind: gauge
102 +- id: namespace_cpu_usage
103 + azure_name: NamespaceCpuUsage
104 + time_grain: PT1M
105 + series:
106 + - aggregation: maximum
107 + kind: gauge
108 +- id: namespace_memory_usage
109 + azure_name: NamespaceMemoryUsage
110 + time_grain: PT1M
111 + series:
112 + - aggregation: maximum
113 + kind: gauge
114 +- id: replication_lag_count
115 + azure_name: ReplicationLagCount
116 + time_grain: PT1M
117 + series:
118 + - aggregation: maximum
119 + kind: gauge
120 +- id: replication_lag_duration
121 + azure_name: ReplicationLagDuration
122 + time_grain: PT1M
123 + series:
124 + - aggregation: maximum
125 + kind: gauge
126 +- id: size
127 + azure_name: Size
128 + time_grain: PT1M
129 + series:
130 + - aggregation: average
131 + kind: gauge
132 +template:
133 + family: Azure Event Hubs Namespace
134 + context_namespace: event_hubs
135 + chart_defaults:
136 + label_promotion:
137 + - resource_name
138 + - resource_group
139 + - region
140 + - resource_type
141 + - profile
142 + instances:
143 + by_labels:
144 + - resource_uid
145 + charts:
146 + - id: am_azure_event_hubs__message_flow
147 + title: Azure Event Hubs Message Flow
148 + context: message_flow
149 + family: Messages
150 + type: line
151 + units: messages/s
152 + algorithm: incremental
153 + dimensions:
154 + - selector: event_hubs.incoming_messages_total
155 + name: in
156 + - selector: event_hubs.outgoing_messages_total
157 + name: out
158 + - id: am_azure_event_hubs__data_throughput
159 + title: Azure Event Hubs Data Throughput
160 + context: data_throughput
161 + family: Messages
162 + type: line
163 + units: bytes/s
164 + algorithm: incremental
165 + dimensions:
166 + - selector: event_hubs.incoming_bytes_total
167 + name: in
168 + - selector: event_hubs.outgoing_bytes_total
169 + name: out
170 + - id: am_azure_event_hubs__requests
171 + title: Azure Event Hubs Requests
172 + context: requests
173 + family: Requests
174 + type: line
175 + units: requests/s
176 + algorithm: incremental
177 + dimensions:
178 + - selector: event_hubs.incoming_requests_total
179 + name: incoming
180 + - selector: event_hubs.successful_requests_total
181 + name: successful
182 + - id: am_azure_event_hubs__errors
183 + title: Azure Event Hubs Errors
184 + context: errors
185 + family: Errors
186 + type: line
187 + units: errors/s
188 + algorithm: incremental
189 + dimensions:
190 + - selector: event_hubs.server_errors_total
191 + name: server
192 + - selector: event_hubs.user_errors_total
193 + name: user
194 + - selector: event_hubs.throttled_requests_total
195 + name: throttled
196 + - selector: event_hubs.quota_exceeded_errors_total
197 + name: quota_exceeded
198 + - id: am_azure_event_hubs__connections
199 + title: Azure Event Hubs Active Connections
200 + context: connections
201 + family: Connections
202 + type: line
203 + units: connections
204 + algorithm: absolute
205 + dimensions:
206 + - selector: event_hubs.active_connections_average
207 + name: active
208 + - id: am_azure_event_hubs__connection_events
209 + title: Azure Event Hubs Connection Events
210 + context: connection_events
211 + family: Connections
212 + type: line
213 + units: connections
214 + algorithm: absolute
215 + dimensions:
216 + - selector: event_hubs.connections_opened_maximum
217 + name: opened
218 + - selector: event_hubs.connections_closed_maximum
219 + name: closed
220 + - id: am_azure_event_hubs__captured_messages
221 + title: Azure Event Hubs Captured Messages
222 + context: captured_messages
223 + family: Capture
224 + type: line
225 + units: messages/s
226 + algorithm: incremental
227 + dimensions:
228 + - selector: event_hubs.captured_messages_total
229 + name: total
230 + - id: am_azure_event_hubs__captured_data
231 + title: Azure Event Hubs Captured Data
232 + context: captured_data
233 + family: Capture
234 + type: line
235 + units: bytes/s
236 + algorithm: incremental
237 + dimensions:
238 + - selector: event_hubs.captured_bytes_total
239 + name: total
240 + - id: am_azure_event_hubs__namespace_size
241 + title: Azure Event Hubs Namespace Size
242 + context: namespace_size
243 + family: Capacity
244 + type: line
245 + units: bytes
246 + algorithm: absolute
247 + dimensions:
248 + - selector: event_hubs.size_average
249 + name: average
250 + - id: am_azure_event_hubs__capture_backlog
251 + title: Azure Event Hubs Capture Backlog
252 + context: capture_backlog
253 + family: Capture
254 + type: line
255 + units: messages
256 + algorithm: absolute
257 + dimensions:
258 + - selector: event_hubs.capture_backlog_total
259 + name: backlog
260 + - id: am_azure_event_hubs__namespace_resources
261 + title: Azure Event Hubs Namespace Resources
262 + context: namespace_resources
263 + family: Capacity
264 + type: line
265 + units: percentage
266 + algorithm: absolute
267 + dimensions:
268 + - selector: event_hubs.namespace_cpu_usage_maximum
269 + name: cpu
270 + - selector: event_hubs.namespace_memory_usage_maximum
271 + name: memory
272 + - id: am_azure_event_hubs__replication_lag
273 + title: Azure Event Hubs Replication Lag
274 + context: replication_lag
275 + family: Replication
276 + type: line
277 + units: messages
278 + algorithm: absolute
279 + dimensions:
280 + - selector: event_hubs.replication_lag_count_maximum
281 + name: messages
282 + - id: am_azure_event_hubs__replication_lag_duration
283 + title: Azure Event Hubs Replication Lag Duration
284 + context: replication_lag_duration
285 + family: Replication
286 + type: line
287 + units: seconds
288 + algorithm: absolute
289 + dimensions:
290 + - selector: event_hubs.replication_lag_duration_maximum
291 + name: duration
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/express_route_circuit.yaml new
+163
@@ -0,0 +1,163 @@
1 +---
2 +id: express_route_circuit
3 +name: Azure ExpressRoute Circuit
4 +resource_type: Microsoft.Network/expressRouteCircuits
5 +metrics:
6 +- id: arp_availability
7 + azure_name: ArpAvailability
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: bgp_availability
13 + azure_name: BgpAvailability
14 + time_grain: PT1M
15 + series:
16 + - aggregation: average
17 + kind: gauge
18 +- id: bits_in_per_second
19 + azure_name: BitsInPerSecond
20 + time_grain: PT1M
21 + series:
22 + - aggregation: average
23 + kind: gauge
24 +- id: bits_out_per_second
25 + azure_name: BitsOutPerSecond
26 + time_grain: PT1M
27 + series:
28 + - aggregation: average
29 + kind: gauge
30 +- id: ingress_bandwidth_utilization
31 + azure_name: IngressBandwidthUtilization
32 + time_grain: PT1M
33 + series:
34 + - aggregation: maximum
35 + kind: gauge
36 +- id: egress_bandwidth_utilization
37 + azure_name: EgressBandwidthUtilization
38 + time_grain: PT1M
39 + series:
40 + - aggregation: maximum
41 + kind: gauge
42 +- id: qos_drop_bits_in_per_second
43 + azure_name: QosDropBitsInPerSecond
44 + time_grain: PT5M
45 + series:
46 + - aggregation: average
47 + kind: gauge
48 +- id: qos_drop_bits_out_per_second
49 + azure_name: QosDropBitsOutPerSecond
50 + time_grain: PT5M
51 + series:
52 + - aggregation: average
53 + kind: gauge
54 +- id: fast_path_routes_count_for_circuit
55 + azure_name: FastPathRoutesCountForCircuit
56 + time_grain: PT5M
57 + series:
58 + - aggregation: maximum
59 + kind: gauge
60 +- id: global_reach_bits_in_per_second
61 + azure_name: GlobalReachBitsInPerSecond
62 + time_grain: PT1M
63 + series:
64 + - aggregation: average
65 + kind: gauge
66 +- id: global_reach_bits_out_per_second
67 + azure_name: GlobalReachBitsOutPerSecond
68 + time_grain: PT1M
69 + series:
70 + - aggregation: average
71 + kind: gauge
72 +template:
73 + family: Azure ExpressRoute Circuit
74 + context_namespace: express_route_circuit
75 + chart_defaults:
76 + label_promotion:
77 + - resource_name
78 + - resource_group
79 + - region
80 + - resource_type
81 + - profile
82 + instances:
83 + by_labels:
84 + - resource_uid
85 + charts:
86 + - id: am_azure_express_route_circuit__arp_availability
87 + title: Azure ExpressRoute Circuit ARP Availability
88 + context: arp_availability
89 + family: Availability
90 + type: line
91 + units: percentage
92 + algorithm: absolute
93 + dimensions:
94 + - selector: express_route_circuit.arp_availability_average
95 + name: average
96 + - id: am_azure_express_route_circuit__bgp_availability
97 + title: Azure ExpressRoute Circuit BGP Availability
98 + context: bgp_availability
99 + family: Availability
100 + type: line
101 + units: percentage
102 + algorithm: absolute
103 + dimensions:
104 + - selector: express_route_circuit.bgp_availability_average
105 + name: average
106 + - id: am_azure_express_route_circuit__throughput
107 + title: Azure ExpressRoute Circuit Throughput
108 + context: throughput
109 + family: Traffic
110 + type: line
111 + units: bits/s
112 + algorithm: absolute
113 + dimensions:
114 + - selector: express_route_circuit.bits_in_per_second_average
115 + name: in
116 + - selector: express_route_circuit.bits_out_per_second_average
117 + name: out
118 + - id: am_azure_express_route_circuit__bandwidth_utilization
119 + title: Azure ExpressRoute Circuit Bandwidth Utilization
120 + context: bandwidth_utilization
121 + family: Traffic
122 + type: line
123 + units: percentage
124 + algorithm: absolute
125 + dimensions:
126 + - selector: express_route_circuit.ingress_bandwidth_utilization_maximum
127 + name: ingress
128 + - selector: express_route_circuit.egress_bandwidth_utilization_maximum
129 + name: egress
130 + - id: am_azure_express_route_circuit__qos_dropped_bits
131 + title: Azure ExpressRoute Circuit QoS Dropped Bits
132 + context: qos_dropped_bits
133 + family: QoS
134 + type: line
135 + units: bits/s
136 + algorithm: absolute
137 + dimensions:
138 + - selector: express_route_circuit.qos_drop_bits_in_per_second_average
139 + name: in
140 + - selector: express_route_circuit.qos_drop_bits_out_per_second_average
141 + name: out
142 + - id: am_azure_express_route_circuit__fastpath_routes
143 + title: Azure ExpressRoute Circuit FastPath Routes
144 + context: fastpath_routes
145 + family: FastPath
146 + type: line
147 + units: routes
148 + algorithm: absolute
149 + dimensions:
150 + - selector: express_route_circuit.fast_path_routes_count_for_circuit_maximum
151 + name: maximum
152 + - id: am_azure_express_route_circuit__global_reach_throughput
153 + title: Azure ExpressRoute Circuit GlobalReach Throughput
154 + context: global_reach_throughput
155 + family: GlobalReach
156 + type: line
157 + units: bits/s
158 + algorithm: absolute
159 + dimensions:
160 + - selector: express_route_circuit.global_reach_bits_in_per_second_average
161 + name: in
162 + - selector: express_route_circuit.global_reach_bits_out_per_second_average
163 + name: out
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/express_route_gateway.yaml new
+203
@@ -0,0 +1,203 @@
1 +---
2 +id: express_route_gateway
3 +name: Azure ExpressRoute Gateway
4 +resource_type: Microsoft.Network/expressRouteGateways
5 +metrics:
6 +- id: er_gateway_connection_bits_in_per_second
7 + azure_name: ErGatewayConnectionBitsInPerSecond
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: er_gateway_connection_bits_out_per_second
13 + azure_name: ErGatewayConnectionBitsOutPerSecond
14 + time_grain: PT1M
15 + series:
16 + - aggregation: average
17 + kind: gauge
18 +- id: express_route_gateway_bits_per_second
19 + azure_name: ExpressRouteGatewayBitsPerSecond
20 + time_grain: PT5M
21 + series:
22 + - aggregation: average
23 + kind: gauge
24 + - aggregation: minimum
25 + kind: gauge
26 + - aggregation: maximum
27 + kind: gauge
28 +- id: express_route_gateway_cpu_utilization
29 + azure_name: ExpressRouteGatewayCpuUtilization
30 + time_grain: PT5M
31 + series:
32 + - aggregation: average
33 + kind: gauge
34 + - aggregation: minimum
35 + kind: gauge
36 + - aggregation: maximum
37 + kind: gauge
38 +- id: express_route_gateway_packets_per_second
39 + azure_name: ExpressRouteGatewayPacketsPerSecond
40 + time_grain: PT5M
41 + series:
42 + - aggregation: average
43 + kind: gauge
44 + - aggregation: minimum
45 + kind: gauge
46 + - aggregation: maximum
47 + kind: gauge
48 +- id: express_route_gateway_active_flows
49 + azure_name: ExpressRouteGatewayActiveFlows
50 + time_grain: PT5M
51 + series:
52 + - aggregation: average
53 + kind: gauge
54 + - aggregation: minimum
55 + kind: gauge
56 + - aggregation: maximum
57 + kind: gauge
58 +- id: express_route_gateway_count_of_routes_advertised_to_peer
59 + azure_name: ExpressRouteGatewayCountOfRoutesAdvertisedToPeer
60 + time_grain: PT5M
61 + series:
62 + - aggregation: maximum
63 + kind: gauge
64 +- id: express_route_gateway_count_of_routes_learned_from_peer
65 + azure_name: ExpressRouteGatewayCountOfRoutesLearnedFromPeer
66 + time_grain: PT5M
67 + series:
68 + - aggregation: maximum
69 + kind: gauge
70 +- id: express_route_gateway_frequency_of_routes_changed
71 + azure_name: ExpressRouteGatewayFrequencyOfRoutesChanged
72 + time_grain: PT5M
73 + series:
74 + - aggregation: total
75 + kind: counter
76 +- id: express_route_gateway_max_flows_creation_rate
77 + azure_name: ExpressRouteGatewayMaxFlowsCreationRate
78 + time_grain: PT5M
79 + series:
80 + - aggregation: maximum
81 + kind: gauge
82 +- id: express_route_gateway_number_of_vm_in_vnet
83 + azure_name: ExpressRouteGatewayNumberOfVmInVnet
84 + time_grain: PT5M
85 + series:
86 + - aggregation: maximum
87 + kind: gauge
88 +template:
89 + family: Azure ExpressRoute Gateway
90 + context_namespace: express_route_gateway
91 + chart_defaults:
92 + label_promotion:
93 + - resource_name
94 + - resource_group
95 + - region
96 + - resource_type
97 + - profile
98 + instances:
99 + by_labels:
100 + - resource_uid
101 + charts:
102 + - id: am_azure_express_route_gateway__connection_throughput
103 + title: Azure ExpressRoute Gateway Connection Throughput
104 + context: connection_throughput
105 + family: Traffic
106 + type: line
107 + units: bits/s
108 + algorithm: absolute
109 + dimensions:
110 + - selector: express_route_gateway.er_gateway_connection_bits_in_per_second_average
111 + name: in
112 + - selector: express_route_gateway.er_gateway_connection_bits_out_per_second_average
113 + name: out
114 + - id: am_azure_express_route_gateway__gateway_throughput
115 + title: Azure ExpressRoute Gateway Throughput
116 + context: gateway_throughput
117 + family: Performance
118 + type: line
119 + units: bits/s
120 + algorithm: absolute
121 + dimensions:
122 + - selector: express_route_gateway.express_route_gateway_bits_per_second_average
123 + name: average
124 + - id: am_azure_express_route_gateway__cpu_utilization
125 + title: Azure ExpressRoute Gateway CPU Utilization
126 + context: cpu_utilization
127 + family: Performance
128 + type: line
129 + units: percentage
130 + algorithm: absolute
131 + dimensions:
132 + - selector: express_route_gateway.express_route_gateway_cpu_utilization_average
133 + name: average
134 + - id: am_azure_express_route_gateway__packets
135 + title: Azure ExpressRoute Gateway Packets
136 + context: packets
137 + family: Performance
138 + type: line
139 + units: packets/s
140 + algorithm: absolute
141 + dimensions:
142 + - selector: express_route_gateway.express_route_gateway_packets_per_second_average
143 + name: average
144 + - id: am_azure_express_route_gateway__active_flows
145 + title: Azure ExpressRoute Gateway Active Flows
146 + context: active_flows
147 + family: Scalability
148 + type: line
149 + units: flows
150 + algorithm: absolute
151 + dimensions:
152 + - selector: express_route_gateway.express_route_gateway_active_flows_average
153 + name: average
154 + - id: am_azure_express_route_gateway__routes_advertised
155 + title: Azure ExpressRoute Gateway Routes Advertised to Peer
156 + context: routes_advertised
157 + family: Scalability
158 + type: line
159 + units: routes
160 + algorithm: absolute
161 + dimensions:
162 + - selector: express_route_gateway.express_route_gateway_count_of_routes_advertised_to_peer_maximum
163 + name: maximum
164 + - id: am_azure_express_route_gateway__routes_learned
165 + title: Azure ExpressRoute Gateway Routes Learned from Peer
166 + context: routes_learned
167 + family: Scalability
168 + type: line
169 + units: routes
170 + algorithm: absolute
171 + dimensions:
172 + - selector: express_route_gateway.express_route_gateway_count_of_routes_learned_from_peer_maximum
173 + name: maximum
174 + - id: am_azure_express_route_gateway__route_changes
175 + title: Azure ExpressRoute Gateway Route Changes
176 + context: route_changes
177 + family: Scalability
178 + type: line
179 + units: changes/s
180 + algorithm: incremental
181 + dimensions:
182 + - selector: express_route_gateway.express_route_gateway_frequency_of_routes_changed_total
183 + name: total
184 + - id: am_azure_express_route_gateway__max_flows_creation_rate
185 + title: Azure ExpressRoute Gateway Max Flow Creation Rate
186 + context: max_flows_creation_rate
187 + family: Scalability
188 + type: line
189 + units: flows/s
190 + algorithm: absolute
191 + dimensions:
192 + - selector: express_route_gateway.express_route_gateway_max_flows_creation_rate_maximum
193 + name: maximum
194 + - id: am_azure_express_route_gateway__vm_count
195 + title: Azure ExpressRoute Gateway VMs in VNet
196 + context: vm_count
197 + family: Scalability
198 + type: line
199 + units: VMs
200 + algorithm: absolute
201 + dimensions:
202 + - selector: express_route_gateway.express_route_gateway_number_of_vm_in_vnet_maximum
203 + name: maximum
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/firewall.yaml new
+139
@@ -0,0 +1,139 @@
1 +---
2 +id: firewall
3 +name: Azure Firewall
4 +resource_type: Microsoft.Network/azureFirewalls
5 +metrics:
6 +- id: firewall_health
7 + azure_name: FirewallHealth
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: firewall_latency_png
13 + azure_name: FirewallLatencyPng
14 + time_grain: PT1M
15 + series:
16 + - aggregation: average
17 + kind: gauge
18 +- id: throughput
19 + azure_name: Throughput
20 + time_grain: PT1M
21 + series:
22 + - aggregation: average
23 + kind: gauge
24 +- id: data_processed
25 + azure_name: DataProcessed
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: application_rule_hit
31 + azure_name: ApplicationRuleHit
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: counter
36 +- id: network_rule_hit
37 + azure_name: NetworkRuleHit
38 + time_grain: PT1M
39 + series:
40 + - aggregation: total
41 + kind: counter
42 +- id: snat_port_utilization
43 + azure_name: SNATPortUtilization
44 + time_grain: PT1M
45 + series:
46 + - aggregation: average
47 + kind: gauge
48 +- id: observed_capacity
49 + azure_name: ObservedCapacity
50 + time_grain: PT1M
51 + series:
52 + - aggregation: average
53 + kind: gauge
54 +template:
55 + family: Azure Firewall
56 + context_namespace: firewall
57 + chart_defaults:
58 + label_promotion:
59 + - resource_name
60 + - resource_group
61 + - region
62 + - resource_type
63 + - profile
64 + instances:
65 + by_labels:
66 + - resource_uid
67 + charts:
68 + - id: am_azure_firewall__health
69 + title: Azure Firewall Health State
70 + context: health
71 + family: Health
72 + type: line
73 + units: percentage
74 + algorithm: absolute
75 + dimensions:
76 + - selector: firewall.firewall_health_average
77 + name: average
78 + - id: am_azure_firewall__latency
79 + title: Azure Firewall Latency Probe
80 + context: latency
81 + family: Performance
82 + type: line
83 + units: milliseconds
84 + algorithm: absolute
85 + dimensions:
86 + - selector: firewall.firewall_latency_png_average
87 + name: average
88 + - id: am_azure_firewall__throughput
89 + title: Azure Firewall Throughput
90 + context: throughput
91 + family: Traffic
92 + type: line
93 + units: bits/s
94 + algorithm: absolute
95 + dimensions:
96 + - selector: firewall.throughput_average
97 + name: average
98 + - id: am_azure_firewall__data_processed
99 + title: Azure Firewall Data Processed
100 + context: data_processed
101 + family: Traffic
102 + type: line
103 + units: bytes/s
104 + algorithm: incremental
105 + dimensions:
106 + - selector: firewall.data_processed_total
107 + name: total
108 + - id: am_azure_firewall__rule_hits
109 + title: Azure Firewall Rule Hits
110 + context: rule_hits
111 + family: Rules
112 + type: line
113 + units: hits/s
114 + algorithm: incremental
115 + dimensions:
116 + - selector: firewall.application_rule_hit_total
117 + name: application
118 + - selector: firewall.network_rule_hit_total
119 + name: network
120 + - id: am_azure_firewall__snat_port_utilization
121 + title: Azure Firewall SNAT Port Utilization
122 + context: snat_port_utilization
123 + family: SNAT
124 + type: line
125 + units: percentage
126 + algorithm: absolute
127 + dimensions:
128 + - selector: firewall.snat_port_utilization_average
129 + name: average
130 + - id: am_azure_firewall__capacity
131 + title: Azure Firewall Observed Capacity Units
132 + context: capacity
133 + family: Capacity
134 + type: line
135 + units: units
136 + algorithm: absolute
137 + dimensions:
138 + - selector: firewall.observed_capacity_average
139 + name: average
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/front_door.yaml new
+275
@@ -0,0 +1,275 @@
1 +---
2 +id: front_door
3 +name: Azure Front Door
4 +resource_type: Microsoft.Cdn/profiles
5 +metrics:
6 +- id: total_latency
7 + azure_name: TotalLatency
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: origin_latency
13 + azure_name: OriginLatency
14 + time_grain: PT1M
15 + series:
16 + - aggregation: average
17 + kind: gauge
18 +- id: origin_health_percentage
19 + azure_name: OriginHealthPercentage
20 + time_grain: PT1M
21 + series:
22 + - aggregation: average
23 + kind: gauge
24 +- id: byte_hit_ratio
25 + azure_name: ByteHitRatio
26 + time_grain: PT1M
27 + series:
28 + - aggregation: average
29 + kind: gauge
30 +- id: percentage4xx
31 + azure_name: Percentage4XX
32 + time_grain: PT1M
33 + series:
34 + - aggregation: average
35 + kind: gauge
36 +- id: percentage5xx
37 + azure_name: Percentage5XX
38 + time_grain: PT1M
39 + series:
40 + - aggregation: average
41 + kind: gauge
42 +- id: request_count
43 + azure_name: RequestCount
44 + time_grain: PT1M
45 + series:
46 + - aggregation: total
47 + kind: counter
48 +- id: origin_request_count
49 + azure_name: OriginRequestCount
50 + time_grain: PT1M
51 + series:
52 + - aggregation: total
53 + kind: counter
54 +- id: request_size
55 + azure_name: RequestSize
56 + time_grain: PT1M
57 + series:
58 + - aggregation: total
59 + kind: counter
60 +- id: response_size
61 + azure_name: ResponseSize
62 + time_grain: PT1M
63 + series:
64 + - aggregation: total
65 + kind: counter
66 +- id: origin_shield_request_count
67 + azure_name: OriginShieldRequestCount
68 + time_grain: PT1M
69 + series:
70 + - aggregation: total
71 + kind: counter
72 +- id: origin_shield_origin_request_count
73 + azure_name: OriginShieldOriginRequestCount
74 + time_grain: PT1M
75 + series:
76 + - aggregation: total
77 + kind: counter
78 +- id: origin_shield_rate_limit_request_count
79 + azure_name: OriginShieldRateLimitRequestCount
80 + time_grain: PT1M
81 + series:
82 + - aggregation: total
83 + kind: counter
84 +- id: origin_shield_request_size
85 + azure_name: OriginShieldRequestSize
86 + time_grain: PT1M
87 + series:
88 + - aggregation: total
89 + kind: counter
90 +- id: web_application_firewall_request_count
91 + azure_name: WebApplicationFirewallRequestCount
92 + time_grain: PT1M
93 + series:
94 + - aggregation: total
95 + kind: counter
96 +- id: web_application_firewall_captcha_request_count
97 + azure_name: WebApplicationFirewallCaptchaRequestCount
98 + time_grain: PT1M
99 + series:
100 + - aggregation: total
101 + kind: counter
102 +- id: web_application_firewall_js_request_count
103 + azure_name: WebApplicationFirewallJsRequestCount
104 + time_grain: PT1M
105 + series:
106 + - aggregation: total
107 + kind: counter
108 +- id: web_socket_connections
109 + azure_name: WebSocketConnections
110 + time_grain: PT1M
111 + series:
112 + - aggregation: total
113 + kind: counter
114 +- id: active_web_socket_connections
115 + azure_name: ActiveWebSocketConnections
116 + time_grain: PT1M
117 + series:
118 + - aggregation: total
119 + kind: counter
120 +- id: average_web_socket_connection_duration
121 + azure_name: AverageWebSocketConnectionDuration
122 + time_grain: PT1M
123 + series:
124 + - aggregation: average
125 + kind: gauge
126 +template:
127 + family: Azure Front Door
128 + context_namespace: front_door
129 + chart_defaults:
130 + label_promotion:
131 + - resource_name
132 + - resource_group
133 + - region
134 + - resource_type
135 + - profile
136 + instances:
137 + by_labels:
138 + - resource_uid
139 + charts:
140 + - id: am_azure_front_door__latency
141 + title: Azure Front Door Latency
142 + context: latency
143 + family: Latency
144 + type: line
145 + units: milliseconds
146 + algorithm: absolute
147 + dimensions:
148 + - selector: front_door.total_latency_average
149 + name: total
150 + - selector: front_door.origin_latency_average
151 + name: origin
152 + - id: am_azure_front_door__origin_health
153 + title: Azure Front Door Origin Health
154 + context: origin_health
155 + family: Origin Health
156 + type: line
157 + units: percentage
158 + algorithm: absolute
159 + dimensions:
160 + - selector: front_door.origin_health_percentage_average
161 + name: health
162 + - id: am_azure_front_door__byte_hit_ratio
163 + title: Azure Front Door Byte Hit Ratio
164 + context: byte_hit_ratio
165 + family: Cache
166 + type: line
167 + units: percentage
168 + algorithm: absolute
169 + dimensions:
170 + - selector: front_door.byte_hit_ratio_average
171 + name: hit_ratio
172 + - id: am_azure_front_door__error_rate
173 + title: Azure Front Door Error Rate
174 + context: error_rate
175 + family: Errors
176 + type: line
177 + units: percentage
178 + algorithm: absolute
179 + dimensions:
180 + - selector: front_door.percentage4xx_average
181 + name: 4xx
182 + - selector: front_door.percentage5xx_average
183 + name: 5xx
184 + - id: am_azure_front_door__requests
185 + title: Azure Front Door Requests
186 + context: requests
187 + family: Traffic
188 + type: line
189 + units: requests/s
190 + algorithm: incremental
191 + dimensions:
192 + - selector: front_door.request_count_total
193 + name: client
194 + - selector: front_door.origin_request_count_total
195 + name: origin
196 + - id: am_azure_front_door__data_transfer
197 + title: Azure Front Door Data Transfer
198 + context: data_transfer
199 + family: Traffic
200 + type: line
201 + units: bytes/s
202 + algorithm: incremental
203 + dimensions:
204 + - selector: front_door.request_size_total
205 + name: request
206 + - selector: front_door.response_size_total
207 + name: response
208 + - id: am_azure_front_door__origin_shield_requests
209 + title: Azure Front Door Origin Shield Requests
210 + context: origin_shield_requests
211 + family: Origin Shield
212 + type: line
213 + units: requests/s
214 + algorithm: incremental
215 + dimensions:
216 + - selector: front_door.origin_shield_request_count_total
217 + name: to_shield
218 + - selector: front_door.origin_shield_origin_request_count_total
219 + name: to_origin
220 + - selector: front_door.origin_shield_rate_limit_request_count_total
221 + name: rate_limited
222 + - id: am_azure_front_door__origin_shield_data_transfer
223 + title: Azure Front Door Origin Shield Data Transfer
224 + context: origin_shield_data_transfer
225 + family: Origin Shield
226 + type: line
227 + units: bytes/s
228 + algorithm: incremental
229 + dimensions:
230 + - selector: front_door.origin_shield_request_size_total
231 + name: request
232 + - id: am_azure_front_door__waf_requests
233 + title: Azure Front Door WAF Requests
234 + context: waf_requests
235 + family: WAF
236 + type: line
237 + units: requests/s
238 + algorithm: incremental
239 + dimensions:
240 + - selector: front_door.web_application_firewall_request_count_total
241 + name: total
242 + - id: am_azure_front_door__waf_challenges
243 + title: Azure Front Door WAF Challenges
244 + context: waf_challenges
245 + family: WAF
246 + type: line
247 + units: requests/s
248 + algorithm: incremental
249 + dimensions:
250 + - selector: front_door.web_application_firewall_captcha_request_count_total
251 + name: captcha
252 + - selector: front_door.web_application_firewall_js_request_count_total
253 + name: js_challenge
254 + - id: am_azure_front_door__websocket_connections
255 + title: Azure Front Door WebSocket Connections
256 + context: websocket_connections
257 + family: WebSocket
258 + type: line
259 + units: connections/s
260 + algorithm: incremental
261 + dimensions:
262 + - selector: front_door.web_socket_connections_total
263 + name: requested
264 + - selector: front_door.active_web_socket_connections_total
265 + name: active
266 + - id: am_azure_front_door__websocket_duration
267 + title: Azure Front Door WebSocket Connection Duration
268 + context: websocket_duration
269 + family: WebSocket
270 + type: line
271 + units: milliseconds
272 + algorithm: absolute
273 + dimensions:
274 + - selector: front_door.average_web_socket_connection_duration_average
275 + name: average
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/iot_hub.yaml new
+867
@@ -0,0 +1,867 @@
1 +---
2 +id: iot_hub
3 +name: Azure IoT Hub
4 +resource_type: Microsoft.Devices/IotHubs
5 +metrics:
6 +- id: c2d_commands_egress_abandon_success
7 + azure_name: c2d.commands.egress.abandon.success
8 + time_grain: PT1M
9 + series:
10 + - aggregation: total
11 + kind: counter
12 +- id: c2d_commands_egress_complete_success
13 + azure_name: c2d.commands.egress.complete.success
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: c2d_commands_egress_reject_success
19 + azure_name: c2d.commands.egress.reject.success
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: counter
24 +- id: c2d_messages_expired
25 + azure_name: C2DMessagesExpired
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: c2d_methods_success
31 + azure_name: c2d.methods.success
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: counter
36 +- id: c2d_methods_failure
37 + azure_name: c2d.methods.failure
38 + time_grain: PT1M
39 + series:
40 + - aggregation: total
41 + kind: counter
42 +- id: c2d_methods_request_size
43 + azure_name: c2d.methods.requestSize
44 + time_grain: PT1M
45 + series:
46 + - aggregation: average
47 + kind: gauge
48 +- id: c2d_methods_response_size
49 + azure_name: c2d.methods.responseSize
50 + time_grain: PT1M
51 + series:
52 + - aggregation: average
53 + kind: gauge
54 +- id: c2d_twin_read_success
55 + azure_name: c2d.twin.read.success
56 + time_grain: PT1M
57 + series:
58 + - aggregation: total
59 + kind: counter
60 +- id: c2d_twin_read_failure
61 + azure_name: c2d.twin.read.failure
62 + time_grain: PT1M
63 + series:
64 + - aggregation: total
65 + kind: counter
66 +- id: c2d_twin_read_size
67 + azure_name: c2d.twin.read.size
68 + time_grain: PT1M
69 + series:
70 + - aggregation: average
71 + kind: gauge
72 +- id: c2d_twin_update_success
73 + azure_name: c2d.twin.update.success
74 + time_grain: PT1M
75 + series:
76 + - aggregation: total
77 + kind: counter
78 +- id: c2d_twin_update_failure
79 + azure_name: c2d.twin.update.failure
80 + time_grain: PT1M
81 + series:
82 + - aggregation: total
83 + kind: counter
84 +- id: c2d_twin_update_size
85 + azure_name: c2d.twin.update.size
86 + time_grain: PT1M
87 + series:
88 + - aggregation: average
89 + kind: gauge
90 +- id: d2c_telemetry_ingress_all_protocol
91 + azure_name: d2c.telemetry.ingress.allProtocol
92 + time_grain: PT1M
93 + series:
94 + - aggregation: total
95 + kind: counter
96 +- id: d2c_telemetry_ingress_success
97 + azure_name: d2c.telemetry.ingress.success
98 + time_grain: PT1M
99 + series:
100 + - aggregation: total
101 + kind: counter
102 +- id: d2c_telemetry_ingress_send_throttle
103 + azure_name: d2c.telemetry.ingress.sendThrottle
104 + time_grain: PT1M
105 + series:
106 + - aggregation: total
107 + kind: counter
108 +- id: d2c_twin_read_success
109 + azure_name: d2c.twin.read.success
110 + time_grain: PT1M
111 + series:
112 + - aggregation: total
113 + kind: counter
114 +- id: d2c_twin_read_failure
115 + azure_name: d2c.twin.read.failure
116 + time_grain: PT1M
117 + series:
118 + - aggregation: total
119 + kind: counter
120 +- id: d2c_twin_read_size
121 + azure_name: d2c.twin.read.size
122 + time_grain: PT1M
123 + series:
124 + - aggregation: average
125 + kind: gauge
126 +- id: d2c_twin_update_success
127 + azure_name: d2c.twin.update.success
128 + time_grain: PT1M
129 + series:
130 + - aggregation: total
131 + kind: counter
132 +- id: d2c_twin_update_failure
133 + azure_name: d2c.twin.update.failure
134 + time_grain: PT1M
135 + series:
136 + - aggregation: total
137 + kind: counter
138 +- id: d2c_twin_update_size
139 + azure_name: d2c.twin.update.size
140 + time_grain: PT1M
141 + series:
142 + - aggregation: average
143 + kind: gauge
144 +- id: d2c_endpoints_egress_built_in_events
145 + azure_name: d2c.endpoints.egress.builtIn.events
146 + time_grain: PT1M
147 + series:
148 + - aggregation: total
149 + kind: counter
150 +- id: d2c_endpoints_egress_event_hubs
151 + azure_name: d2c.endpoints.egress.eventHubs
152 + time_grain: PT1M
153 + series:
154 + - aggregation: total
155 + kind: counter
156 +- id: d2c_endpoints_egress_service_bus_queues
157 + azure_name: d2c.endpoints.egress.serviceBusQueues
158 + time_grain: PT1M
159 + series:
160 + - aggregation: total
161 + kind: counter
162 +- id: d2c_endpoints_egress_service_bus_topics
163 + azure_name: d2c.endpoints.egress.serviceBusTopics
164 + time_grain: PT1M
165 + series:
166 + - aggregation: total
167 + kind: counter
168 +- id: d2c_endpoints_egress_storage
169 + azure_name: d2c.endpoints.egress.storage
170 + time_grain: PT1M
171 + series:
172 + - aggregation: total
173 + kind: counter
174 +- id: d2c_endpoints_egress_storage_blobs
175 + azure_name: d2c.endpoints.egress.storage.blobs
176 + time_grain: PT1M
177 + series:
178 + - aggregation: total
179 + kind: counter
180 +- id: d2c_endpoints_egress_storage_bytes
181 + azure_name: d2c.endpoints.egress.storage.bytes
182 + time_grain: PT1M
183 + series:
184 + - aggregation: total
185 + kind: counter
186 +- id: d2c_endpoints_latency_built_in_events
187 + azure_name: d2c.endpoints.latency.builtIn.events
188 + time_grain: PT1M
189 + series:
190 + - aggregation: average
191 + kind: gauge
192 +- id: d2c_endpoints_latency_event_hubs
193 + azure_name: d2c.endpoints.latency.eventHubs
194 + time_grain: PT1M
195 + series:
196 + - aggregation: average
197 + kind: gauge
198 +- id: d2c_endpoints_latency_service_bus_queues
199 + azure_name: d2c.endpoints.latency.serviceBusQueues
200 + time_grain: PT1M
201 + series:
202 + - aggregation: average
203 + kind: gauge
204 +- id: d2c_endpoints_latency_service_bus_topics
205 + azure_name: d2c.endpoints.latency.serviceBusTopics
206 + time_grain: PT1M
207 + series:
208 + - aggregation: average
209 + kind: gauge
210 +- id: d2c_endpoints_latency_storage
211 + azure_name: d2c.endpoints.latency.storage
212 + time_grain: PT1M
213 + series:
214 + - aggregation: average
215 + kind: gauge
216 +- id: d2c_telemetry_egress_success
217 + azure_name: d2c.telemetry.egress.success
218 + time_grain: PT1M
219 + series:
220 + - aggregation: total
221 + kind: counter
222 +- id: d2c_telemetry_egress_dropped
223 + azure_name: d2c.telemetry.egress.dropped
224 + time_grain: PT1M
225 + series:
226 + - aggregation: total
227 + kind: counter
228 +- id: d2c_telemetry_egress_orphaned
229 + azure_name: d2c.telemetry.egress.orphaned
230 + time_grain: PT1M
231 + series:
232 + - aggregation: total
233 + kind: counter
234 +- id: d2c_telemetry_egress_invalid
235 + azure_name: d2c.telemetry.egress.invalid
236 + time_grain: PT1M
237 + series:
238 + - aggregation: total
239 + kind: counter
240 +- id: d2c_telemetry_egress_fallback
241 + azure_name: d2c.telemetry.egress.fallback
242 + time_grain: PT1M
243 + series:
244 + - aggregation: total
245 + kind: counter
246 +- id: routing_deliveries
247 + azure_name: RoutingDeliveries
248 + time_grain: PT1M
249 + series:
250 + - aggregation: total
251 + kind: counter
252 +- id: routing_delivery_latency
253 + azure_name: RoutingDeliveryLatency
254 + time_grain: PT1M
255 + series:
256 + - aggregation: average
257 + kind: gauge
258 +- id: routing_data_size_in_bytes_delivered
259 + azure_name: RoutingDataSizeInBytesDelivered
260 + time_grain: PT1M
261 + series:
262 + - aggregation: total
263 + kind: counter
264 +- id: connect_success
265 + azure_name: connect.success
266 + time_grain: PT1M
267 + series:
268 + - aggregation: total
269 + kind: counter
270 +- id: connected_device_count
271 + azure_name: connectedDeviceCount
272 + time_grain: PT1M
273 + series:
274 + - aggregation: average
275 + kind: gauge
276 +- id: total_device_count
277 + azure_name: totalDeviceCount
278 + time_grain: PT1M
279 + series:
280 + - aggregation: average
281 + kind: gauge
282 +- id: daily_message_quota_used
283 + azure_name: dailyMessageQuotaUsed
284 + time_grain: PT1M
285 + series:
286 + - aggregation: average
287 + kind: gauge
288 +- id: device_data_usage
289 + azure_name: deviceDataUsage
290 + time_grain: PT1M
291 + series:
292 + - aggregation: total
293 + kind: counter
294 +- id: device_data_usage_v2
295 + azure_name: deviceDataUsageV2
296 + time_grain: PT1M
297 + series:
298 + - aggregation: total
299 + kind: counter
300 +- id: configurations
301 + azure_name: configurations
302 + time_grain: PT1M
303 + series:
304 + - aggregation: total
305 + kind: counter
306 +- id: event_grid_deliveries
307 + azure_name: EventGridDeliveries
308 + time_grain: PT1M
309 + series:
310 + - aggregation: total
311 + kind: counter
312 +- id: event_grid_latency
313 + azure_name: EventGridLatency
314 + time_grain: PT1M
315 + series:
316 + - aggregation: average
317 + kind: gauge
318 +- id: jobs_completed
319 + azure_name: jobs.completed
320 + time_grain: PT1M
321 + series:
322 + - aggregation: total
323 + kind: counter
324 +- id: jobs_failed
325 + azure_name: jobs.failed
326 + time_grain: PT1M
327 + series:
328 + - aggregation: total
329 + kind: counter
330 +- id: jobs_cancel_job_success
331 + azure_name: jobs.cancelJob.success
332 + time_grain: PT1M
333 + series:
334 + - aggregation: total
335 + kind: counter
336 +- id: jobs_cancel_job_failure
337 + azure_name: jobs.cancelJob.failure
338 + time_grain: PT1M
339 + series:
340 + - aggregation: total
341 + kind: counter
342 +- id: jobs_create_direct_method_job_success
343 + azure_name: jobs.createDirectMethodJob.success
344 + time_grain: PT1M
345 + series:
346 + - aggregation: total
347 + kind: counter
348 +- id: jobs_create_direct_method_job_failure
349 + azure_name: jobs.createDirectMethodJob.failure
350 + time_grain: PT1M
351 + series:
352 + - aggregation: total
353 + kind: counter
354 +- id: jobs_create_twin_update_job_success
355 + azure_name: jobs.createTwinUpdateJob.success
356 + time_grain: PT1M
357 + series:
358 + - aggregation: total
359 + kind: counter
360 +- id: jobs_create_twin_update_job_failure
361 + azure_name: jobs.createTwinUpdateJob.failure
362 + time_grain: PT1M
363 + series:
364 + - aggregation: total
365 + kind: counter
366 +- id: jobs_list_jobs_success
367 + azure_name: jobs.listJobs.success
368 + time_grain: PT1M
369 + series:
370 + - aggregation: total
371 + kind: counter
372 +- id: jobs_list_jobs_failure
373 + azure_name: jobs.listJobs.failure
374 + time_grain: PT1M
375 + series:
376 + - aggregation: total
377 + kind: counter
378 +- id: jobs_query_jobs_success
379 + azure_name: jobs.queryJobs.success
380 + time_grain: PT1M
381 + series:
382 + - aggregation: total
383 + kind: counter
384 +- id: jobs_query_jobs_failure
385 + azure_name: jobs.queryJobs.failure
386 + time_grain: PT1M
387 + series:
388 + - aggregation: total
389 + kind: counter
390 +- id: twin_queries_success
391 + azure_name: twinQueries.success
392 + time_grain: PT1M
393 + series:
394 + - aggregation: total
395 + kind: counter
396 +- id: twin_queries_failure
397 + azure_name: twinQueries.failure
398 + time_grain: PT1M
399 + series:
400 + - aggregation: total
401 + kind: counter
402 +- id: twin_queries_result_size
403 + azure_name: twinQueries.resultSize
404 + time_grain: PT1M
405 + series:
406 + - aggregation: average
407 + kind: gauge
408 +template:
409 + family: Azure IoT Hub
410 + context_namespace: iot_hub
411 + chart_defaults:
412 + label_promotion:
413 + - resource_name
414 + - resource_group
415 + - region
416 + - resource_type
417 + - profile
418 + instances:
419 + by_labels:
420 + - resource_uid
421 + charts:
422 + - id: am_azure_iot_hub__c2d_commands
423 + title: Azure IoT Hub Cloud-to-Device Commands
424 + context: c2d_commands
425 + family: C2D Messages
426 + type: line
427 + units: messages/s
428 + algorithm: incremental
429 + dimensions:
430 + - selector: iot_hub.c2d_commands_egress_complete_success_total
431 + name: completed
432 + - selector: iot_hub.c2d_commands_egress_abandon_success_total
433 + name: abandoned
434 + - selector: iot_hub.c2d_commands_egress_reject_success_total
435 + name: rejected
436 + - id: am_azure_iot_hub__c2d_messages_expired
437 + title: Azure IoT Hub Cloud-to-Device Messages Expired
438 + context: c2d_messages_expired
439 + family: C2D Messages
440 + type: line
441 + units: messages/s
442 + algorithm: incremental
443 + dimensions:
444 + - selector: iot_hub.c2d_messages_expired_total
445 + name: expired
446 + - id: am_azure_iot_hub__c2d_methods
447 + title: Azure IoT Hub Direct Method Invocations
448 + context: c2d_methods
449 + family: C2D Methods
450 + type: line
451 + units: invocations/s
452 + algorithm: incremental
453 + dimensions:
454 + - selector: iot_hub.c2d_methods_success_total
455 + name: successful
456 + - selector: iot_hub.c2d_methods_failure_total
457 + name: failed
458 + - id: am_azure_iot_hub__c2d_methods_request_size
459 + title: Azure IoT Hub Direct Method Request Size
460 + context: c2d_methods_request_size
461 + family: C2D Methods
462 + type: line
463 + units: bytes
464 + algorithm: absolute
465 + dimensions:
466 + - selector: iot_hub.c2d_methods_request_size_average
467 + name: average
468 + - id: am_azure_iot_hub__c2d_methods_response_size
469 + title: Azure IoT Hub Direct Method Response Size
470 + context: c2d_methods_response_size
471 + family: C2D Methods
472 + type: line
473 + units: bytes
474 + algorithm: absolute
475 + dimensions:
476 + - selector: iot_hub.c2d_methods_response_size_average
477 + name: average
478 + - id: am_azure_iot_hub__c2d_twin_reads
479 + title: Azure IoT Hub Backend Twin Reads
480 + context: c2d_twin_reads
481 + family: C2D Twins
482 + type: line
483 + units: operations/s
484 + algorithm: incremental
485 + dimensions:
486 + - selector: iot_hub.c2d_twin_read_success_total
487 + name: successful
488 + - selector: iot_hub.c2d_twin_read_failure_total
489 + name: failed
490 + - id: am_azure_iot_hub__c2d_twin_read_size
491 + title: Azure IoT Hub Backend Twin Read Size
492 + context: c2d_twin_read_size
493 + family: C2D Twins
494 + type: line
495 + units: bytes
496 + algorithm: absolute
497 + dimensions:
498 + - selector: iot_hub.c2d_twin_read_size_average
499 + name: average
500 + - id: am_azure_iot_hub__c2d_twin_updates
501 + title: Azure IoT Hub Backend Twin Updates
502 + context: c2d_twin_updates
503 + family: C2D Twins
504 + type: line
505 + units: operations/s
506 + algorithm: incremental
507 + dimensions:
508 + - selector: iot_hub.c2d_twin_update_success_total
509 + name: successful
510 + - selector: iot_hub.c2d_twin_update_failure_total
511 + name: failed
512 + - id: am_azure_iot_hub__c2d_twin_update_size
513 + title: Azure IoT Hub Backend Twin Update Size
514 + context: c2d_twin_update_size
515 + family: C2D Twins
516 + type: line
517 + units: bytes
518 + algorithm: absolute
519 + dimensions:
520 + - selector: iot_hub.c2d_twin_update_size_average
521 + name: average
522 + - id: am_azure_iot_hub__d2c_telemetry
523 + title: Azure IoT Hub Device Telemetry
524 + context: d2c_telemetry
525 + family: D2C Telemetry
526 + type: line
527 + units: messages/s
528 + algorithm: incremental
529 + dimensions:
530 + - selector: iot_hub.d2c_telemetry_ingress_all_protocol_total
531 + name: attempted
532 + - selector: iot_hub.d2c_telemetry_ingress_success_total
533 + name: sent
534 + - id: am_azure_iot_hub__d2c_telemetry_throttle
535 + title: Azure IoT Hub Telemetry Throttling Errors
536 + context: d2c_telemetry_throttle
537 + family: D2C Telemetry
538 + type: line
539 + units: errors/s
540 + algorithm: incremental
541 + dimensions:
542 + - selector: iot_hub.d2c_telemetry_ingress_send_throttle_total
543 + name: throttled
544 + - id: am_azure_iot_hub__d2c_twin_reads
545 + title: Azure IoT Hub Device Twin Reads
546 + context: d2c_twin_reads
547 + family: D2C Twins
548 + type: line
549 + units: operations/s
550 + algorithm: incremental
551 + dimensions:
552 + - selector: iot_hub.d2c_twin_read_success_total
553 + name: successful
554 + - selector: iot_hub.d2c_twin_read_failure_total
555 + name: failed
556 + - id: am_azure_iot_hub__d2c_twin_read_size
557 + title: Azure IoT Hub Device Twin Read Size
558 + context: d2c_twin_read_size
559 + family: D2C Twins
560 + type: line
561 + units: bytes
562 + algorithm: absolute
563 + dimensions:
564 + - selector: iot_hub.d2c_twin_read_size_average
565 + name: average
566 + - id: am_azure_iot_hub__d2c_twin_updates
567 + title: Azure IoT Hub Device Twin Updates
568 + context: d2c_twin_updates
569 + family: D2C Twins
570 + type: line
571 + units: operations/s
572 + algorithm: incremental
573 + dimensions:
574 + - selector: iot_hub.d2c_twin_update_success_total
575 + name: successful
576 + - selector: iot_hub.d2c_twin_update_failure_total
577 + name: failed
578 + - id: am_azure_iot_hub__d2c_twin_update_size
579 + title: Azure IoT Hub Device Twin Update Size
580 + context: d2c_twin_update_size
581 + family: D2C Twins
582 + type: line
583 + units: bytes
584 + algorithm: absolute
585 + dimensions:
586 + - selector: iot_hub.d2c_twin_update_size_average
587 + name: average
588 + - id: am_azure_iot_hub__routing_deliveries
589 + title: Azure IoT Hub Routing Message Deliveries
590 + context: routing_deliveries
591 + family: Routing
592 + type: line
593 + units: messages/s
594 + algorithm: incremental
595 + dimensions:
596 + - selector: iot_hub.d2c_telemetry_egress_success_total
597 + name: delivered
598 + - selector: iot_hub.d2c_telemetry_egress_dropped_total
599 + name: dropped
600 + - selector: iot_hub.d2c_telemetry_egress_orphaned_total
601 + name: orphaned
602 + - selector: iot_hub.d2c_telemetry_egress_invalid_total
603 + name: invalid
604 + - selector: iot_hub.d2c_telemetry_egress_fallback_total
605 + name: fallback
606 + - id: am_azure_iot_hub__routing_delivery_by_endpoint
607 + title: Azure IoT Hub Routing Deliveries by Endpoint
608 + context: routing_delivery_by_endpoint
609 + family: Routing
610 + type: line
611 + units: messages/s
612 + algorithm: incremental
613 + dimensions:
614 + - selector: iot_hub.d2c_endpoints_egress_built_in_events_total
615 + name: builtin_events
616 + - selector: iot_hub.d2c_endpoints_egress_event_hubs_total
617 + name: event_hubs
618 + - selector: iot_hub.d2c_endpoints_egress_service_bus_queues_total
619 + name: service_bus_queues
620 + - selector: iot_hub.d2c_endpoints_egress_service_bus_topics_total
621 + name: service_bus_topics
622 + - selector: iot_hub.d2c_endpoints_egress_storage_total
623 + name: storage
624 + - id: am_azure_iot_hub__routing_storage_blobs
625 + title: Azure IoT Hub Routing Blobs Delivered to Storage
626 + context: routing_storage_blobs
627 + family: Routing
628 + type: line
629 + units: blobs/s
630 + algorithm: incremental
631 + dimensions:
632 + - selector: iot_hub.d2c_endpoints_egress_storage_blobs_total
633 + name: blobs
634 + - id: am_azure_iot_hub__routing_storage_data
635 + title: Azure IoT Hub Routing Data Delivered to Storage
636 + context: routing_storage_data
637 + family: Routing
638 + type: line
639 + units: bytes/s
640 + algorithm: incremental
641 + dimensions:
642 + - selector: iot_hub.d2c_endpoints_egress_storage_bytes_total
643 + name: bytes
644 + - id: am_azure_iot_hub__routing_latency
645 + title: Azure IoT Hub Routing Latency
646 + context: routing_latency
647 + family: Routing
648 + type: line
649 + units: milliseconds
650 + algorithm: absolute
651 + dimensions:
652 + - selector: iot_hub.d2c_endpoints_latency_built_in_events_average
653 + name: builtin_events
654 + - selector: iot_hub.d2c_endpoints_latency_event_hubs_average
655 + name: event_hubs
656 + - selector: iot_hub.d2c_endpoints_latency_service_bus_queues_average
657 + name: service_bus_queues
658 + - selector: iot_hub.d2c_endpoints_latency_service_bus_topics_average
659 + name: service_bus_topics
660 + - selector: iot_hub.d2c_endpoints_latency_storage_average
661 + name: storage
662 + - id: am_azure_iot_hub__routing_deliveries_preview
663 + title: Azure IoT Hub Routing Deliveries (Preview)
664 + context: routing_deliveries_preview
665 + family: Routing
666 + type: line
667 + units: deliveries/s
668 + algorithm: incremental
669 + dimensions:
670 + - selector: iot_hub.routing_deliveries_total
671 + name: deliveries
672 + - id: am_azure_iot_hub__routing_delivery_latency_preview
673 + title: Azure IoT Hub Routing Delivery Latency (Preview)
674 + context: routing_delivery_latency_preview
675 + family: Routing
676 + type: line
677 + units: milliseconds
678 + algorithm: absolute
679 + dimensions:
680 + - selector: iot_hub.routing_delivery_latency_average
681 + name: average
682 + - id: am_azure_iot_hub__routing_data_size_preview
683 + title: Azure IoT Hub Routing Delivery Message Size (Preview)
684 + context: routing_data_size_preview
685 + family: Routing
686 + type: line
687 + units: bytes/s
688 + algorithm: incremental
689 + dimensions:
690 + - selector: iot_hub.routing_data_size_in_bytes_delivered_total
691 + name: bytes
692 + - id: am_azure_iot_hub__connections
693 + title: Azure IoT Hub Successful Connections
694 + context: connections
695 + family: Connections
696 + type: line
697 + units: connections/s
698 + algorithm: incremental
699 + dimensions:
700 + - selector: iot_hub.connect_success_total
701 + name: successful
702 + - id: am_azure_iot_hub__connected_devices
703 + title: Azure IoT Hub Connected Devices
704 + context: connected_devices
705 + family: Connections
706 + type: line
707 + units: devices
708 + algorithm: absolute
709 + dimensions:
710 + - selector: iot_hub.connected_device_count_average
711 + name: connected
712 + - id: am_azure_iot_hub__total_devices
713 + title: Azure IoT Hub Total Devices
714 + context: total_devices
715 + family: Devices
716 + type: line
717 + units: devices
718 + algorithm: absolute
719 + dimensions:
720 + - selector: iot_hub.total_device_count_average
721 + name: total
722 + - id: am_azure_iot_hub__daily_message_quota
723 + title: Azure IoT Hub Daily Message Quota Used
724 + context: daily_message_quota
725 + family: Quota
726 + type: line
727 + units: messages
728 + algorithm: absolute
729 + dimensions:
730 + - selector: iot_hub.daily_message_quota_used_average
731 + name: used
732 + - id: am_azure_iot_hub__data_usage
733 + title: Azure IoT Hub Device Data Usage
734 + context: data_usage
735 + family: Data Usage
736 + type: line
737 + units: bytes/s
738 + algorithm: incremental
739 + dimensions:
740 + - selector: iot_hub.device_data_usage_total
741 + name: data_usage
742 + - selector: iot_hub.device_data_usage_v2_total
743 + name: data_usage_v2
744 + - id: am_azure_iot_hub__configurations
745 + title: Azure IoT Hub Configuration Operations
746 + context: configurations
747 + family: Configuration
748 + type: line
749 + units: operations/s
750 + algorithm: incremental
751 + dimensions:
752 + - selector: iot_hub.configurations_total
753 + name: operations
754 + - id: am_azure_iot_hub__event_grid_deliveries
755 + title: Azure IoT Hub Event Grid Deliveries
756 + context: event_grid_deliveries
757 + family: Event Grid
758 + type: line
759 + units: deliveries/s
760 + algorithm: incremental
761 + dimensions:
762 + - selector: iot_hub.event_grid_deliveries_total
763 + name: deliveries
764 + - id: am_azure_iot_hub__event_grid_latency
765 + title: Azure IoT Hub Event Grid Latency
766 + context: event_grid_latency
767 + family: Event Grid
768 + type: line
769 + units: milliseconds
770 + algorithm: absolute
771 + dimensions:
772 + - selector: iot_hub.event_grid_latency_average
773 + name: average
774 + - id: am_azure_iot_hub__jobs_status
775 + title: Azure IoT Hub Job Completions
776 + context: jobs_status
777 + family: Jobs
778 + type: line
779 + units: operations/s
780 + algorithm: incremental
781 + dimensions:
782 + - selector: iot_hub.jobs_completed_total
783 + name: completed
784 + - selector: iot_hub.jobs_failed_total
785 + name: failed
786 + - id: am_azure_iot_hub__jobs_cancel
787 + title: Azure IoT Hub Job Cancellations
788 + context: jobs_cancel
789 + family: Jobs
790 + type: line
791 + units: operations/s
792 + algorithm: incremental
793 + dimensions:
794 + - selector: iot_hub.jobs_cancel_job_success_total
795 + name: successful
796 + - selector: iot_hub.jobs_cancel_job_failure_total
797 + name: failed
798 + - id: am_azure_iot_hub__jobs_create_method
799 + title: Azure IoT Hub Direct Method Job Creations
800 + context: jobs_create_method
801 + family: Jobs
802 + type: line
803 + units: operations/s
804 + algorithm: incremental
805 + dimensions:
806 + - selector: iot_hub.jobs_create_direct_method_job_success_total
807 + name: successful
808 + - selector: iot_hub.jobs_create_direct_method_job_failure_total
809 + name: failed
810 + - id: am_azure_iot_hub__jobs_create_twin_update
811 + title: Azure IoT Hub Twin Update Job Creations
812 + context: jobs_create_twin_update
813 + family: Jobs
814 + type: line
815 + units: operations/s
816 + algorithm: incremental
817 + dimensions:
818 + - selector: iot_hub.jobs_create_twin_update_job_success_total
819 + name: successful
820 + - selector: iot_hub.jobs_create_twin_update_job_failure_total
821 + name: failed
822 + - id: am_azure_iot_hub__jobs_list
823 + title: Azure IoT Hub Job List Calls
824 + context: jobs_list
825 + family: Jobs
826 + type: line
827 + units: operations/s
828 + algorithm: incremental
829 + dimensions:
830 + - selector: iot_hub.jobs_list_jobs_success_total
831 + name: successful
832 + - selector: iot_hub.jobs_list_jobs_failure_total
833 + name: failed
834 + - id: am_azure_iot_hub__jobs_query
835 + title: Azure IoT Hub Job Queries
836 + context: jobs_query
837 + family: Jobs
838 + type: line
839 + units: operations/s
840 + algorithm: incremental
841 + dimensions:
842 + - selector: iot_hub.jobs_query_jobs_success_total
843 + name: successful
844 + - selector: iot_hub.jobs_query_jobs_failure_total
845 + name: failed
846 + - id: am_azure_iot_hub__twin_queries
847 + title: Azure IoT Hub Twin Queries
848 + context: twin_queries
849 + family: Twin Queries
850 + type: line
851 + units: queries/s
852 + algorithm: incremental
853 + dimensions:
854 + - selector: iot_hub.twin_queries_success_total
855 + name: successful
856 + - selector: iot_hub.twin_queries_failure_total
857 + name: failed
858 + - id: am_azure_iot_hub__twin_queries_result_size
859 + title: Azure IoT Hub Twin Query Result Size
860 + context: twin_queries_result_size
861 + family: Twin Queries
862 + type: line
863 + units: bytes
864 + algorithm: absolute
865 + dimensions:
866 + - selector: iot_hub.twin_queries_result_size_average
867 + name: average
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/key_vault.yaml new
+91
@@ -0,0 +1,91 @@
1 +---
2 +id: key_vault
3 +name: Azure Key Vault
4 +resource_type: Microsoft.KeyVault/vaults
5 +metrics:
6 +- id: availability
7 + azure_name: Availability
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: service_api_latency
13 + azure_name: ServiceApiLatency
14 + time_grain: PT1M
15 + series:
16 + - aggregation: average
17 + kind: gauge
18 +- id: saturation_shoebox
19 + azure_name: SaturationShoebox
20 + time_grain: PT1M
21 + series:
22 + - aggregation: average
23 + kind: gauge
24 +- id: service_api_hit
25 + azure_name: ServiceApiHit
26 + time_grain: PT1M
27 + series:
28 + - aggregation: count
29 + kind: counter
30 +- id: service_api_result
31 + azure_name: ServiceApiResult
32 + time_grain: PT1M
33 + series:
34 + - aggregation: count
35 + kind: counter
36 +template:
37 + family: Azure Key Vault
38 + context_namespace: key_vault
39 + chart_defaults:
40 + label_promotion:
41 + - resource_name
42 + - resource_group
43 + - region
44 + - resource_type
45 + - profile
46 + instances:
47 + by_labels:
48 + - resource_uid
49 + charts:
50 + - id: am_azure_key_vault__availability
51 + title: Azure Key Vault Availability
52 + context: availability
53 + family: Availability
54 + type: line
55 + units: percentage
56 + algorithm: absolute
57 + dimensions:
58 + - selector: key_vault.availability_average
59 + name: average
60 + - id: am_azure_key_vault__api_latency
61 + title: Azure Key Vault API Latency
62 + context: api_latency
63 + family: Performance
64 + type: line
65 + units: milliseconds
66 + algorithm: absolute
67 + dimensions:
68 + - selector: key_vault.service_api_latency_average
69 + name: average
70 + - id: am_azure_key_vault__saturation
71 + title: Azure Key Vault Saturation
72 + context: saturation
73 + family: Capacity
74 + type: line
75 + units: percentage
76 + algorithm: absolute
77 + dimensions:
78 + - selector: key_vault.saturation_shoebox_average
79 + name: average
80 + - id: am_azure_key_vault__api_activity
81 + title: Azure Key Vault API Activity
82 + context: api_activity
83 + family: Operations
84 + type: line
85 + units: operations/s
86 + algorithm: incremental
87 + dimensions:
88 + - selector: key_vault.service_api_hit_count
89 + name: hits
90 + - selector: key_vault.service_api_result_count
91 + name: results
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/load_balancers.yaml new
+155
@@ -0,0 +1,155 @@
1 +---
2 +id: load_balancers
3 +name: Azure Load Balancer
4 +resource_type: Microsoft.Network/loadBalancers
5 +metrics:
6 +- id: vip_availability
7 + azure_name: VipAvailability
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: dip_availability
13 + azure_name: DipAvailability
14 + time_grain: PT1M
15 + series:
16 + - aggregation: average
17 + kind: gauge
18 +- id: global_backend_availability
19 + azure_name: GlobalBackendAvailability
20 + time_grain: PT1M
21 + series:
22 + - aggregation: average
23 + kind: gauge
24 +- id: byte_count
25 + azure_name: ByteCount
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: packet_count
31 + azure_name: PacketCount
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: counter
36 +- id: syn_count
37 + azure_name: SYNCount
38 + time_grain: PT1M
39 + series:
40 + - aggregation: total
41 + kind: counter
42 +- id: snat_connection_count
43 + azure_name: SnatConnectionCount
44 + time_grain: PT1M
45 + series:
46 + - aggregation: total
47 + kind: counter
48 +- id: allocated_snat_ports
49 + azure_name: AllocatedSnatPorts
50 + time_grain: PT1M
51 + series:
52 + - aggregation: average
53 + kind: gauge
54 +- id: used_snat_ports
55 + azure_name: UsedSnatPorts
56 + time_grain: PT1M
57 + series:
58 + - aggregation: average
59 + kind: gauge
60 +template:
61 + family: Azure Load Balancer
62 + context_namespace: load_balancers
63 + chart_defaults:
64 + label_promotion:
65 + - resource_name
66 + - resource_group
67 + - region
68 + - resource_type
69 + - profile
70 + instances:
71 + by_labels:
72 + - resource_uid
73 + charts:
74 + - id: am_azure_load_balancers__vip_availability
75 + title: Azure Load Balancer Data Path Availability
76 + context: vip_availability
77 + family: Availability
78 + type: line
79 + units: percentage
80 + algorithm: absolute
81 + dimensions:
82 + - selector: load_balancers.vip_availability_average
83 + name: average
84 + - id: am_azure_load_balancers__dip_availability
85 + title: Azure Load Balancer Health Probe Status
86 + context: dip_availability
87 + family: Availability
88 + type: line
89 + units: percentage
90 + algorithm: absolute
91 + dimensions:
92 + - selector: load_balancers.dip_availability_average
93 + name: average
94 + - id: am_azure_load_balancers__global_backend_availability
95 + title: Azure Load Balancer Global Backend Availability
96 + context: global_backend_availability
97 + family: Availability
98 + type: line
99 + units: percentage
100 + algorithm: absolute
101 + dimensions:
102 + - selector: load_balancers.global_backend_availability_average
103 + name: average
104 + - id: am_azure_load_balancers__byte_throughput
105 + title: Azure Load Balancer Byte Throughput
106 + context: byte_throughput
107 + family: Throughput
108 + type: line
109 + units: bytes/s
110 + algorithm: incremental
111 + dimensions:
112 + - selector: load_balancers.byte_count_total
113 + name: total
114 + - id: am_azure_load_balancers__packet_throughput
115 + title: Azure Load Balancer Packet Throughput
116 + context: packet_throughput
117 + family: Throughput
118 + type: line
119 + units: packets/s
120 + algorithm: incremental
121 + dimensions:
122 + - selector: load_balancers.packet_count_total
123 + name: total
124 + - id: am_azure_load_balancers__syn_count
125 + title: Azure Load Balancer SYN Packets
126 + context: syn_count
127 + family: Throughput
128 + type: line
129 + units: packets/s
130 + algorithm: incremental
131 + dimensions:
132 + - selector: load_balancers.syn_count_total
133 + name: total
134 + - id: am_azure_load_balancers__snat_connections
135 + title: Azure Load Balancer SNAT Connections
136 + context: snat_connections
137 + family: SNAT
138 + type: line
139 + units: connections/s
140 + algorithm: incremental
141 + dimensions:
142 + - selector: load_balancers.snat_connection_count_total
143 + name: total
144 + - id: am_azure_load_balancers__snat_ports
145 + title: Azure Load Balancer SNAT Port Usage
146 + context: snat_ports
147 + family: SNAT
148 + type: line
149 + units: ports
150 + algorithm: absolute
151 + dimensions:
152 + - selector: load_balancers.allocated_snat_ports_average
153 + name: allocated
154 + - selector: load_balancers.used_snat_ports_average
155 + name: used
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/log_analytics.yaml new
+891
@@ -0,0 +1,891 @@
1 +---
2 +id: log_analytics
3 +name: Azure Log Analytics Workspace
4 +resource_type: Microsoft.OperationalInsights/workspaces
5 +metrics:
6 +- id: availability_rate_query
7 + azure_name: AvailabilityRate_Query
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: ingestion_time
13 + azure_name: Ingestion Time
14 + time_grain: PT1M
15 + series:
16 + - aggregation: average
17 + kind: gauge
18 + - aggregation: maximum
19 + kind: gauge
20 + - aggregation: minimum
21 + kind: gauge
22 +- id: ingestion_volume
23 + azure_name: Ingestion Volume
24 + time_grain: PT1M
25 + series:
26 + - aggregation: count
27 + kind: counter
28 +- id: query_count
29 + azure_name: Query Count
30 + time_grain: PT1M
31 + series:
32 + - aggregation: count
33 + kind: counter
34 +- id: query_failure_count
35 + azure_name: Query Failure Count
36 + time_grain: PT1M
37 + series:
38 + - aggregation: count
39 + kind: counter
40 +- id: bytes_exported
41 + azure_name: BytesExported
42 + time_grain: PT1M
43 + series:
44 + - aggregation: total
45 + kind: counter
46 +- id: records_exported
47 + azure_name: RecordsExported
48 + time_grain: PT1M
49 + series:
50 + - aggregation: total
51 + kind: counter
52 +- id: export_failed
53 + azure_name: ExportFailed
54 + time_grain: PT1M
55 + series:
56 + - aggregation: total
57 + kind: counter
58 +- id: average_processor_time
59 + azure_name: Average_% Processor Time
60 + time_grain: PT1M
61 + series:
62 + - aggregation: average
63 + kind: gauge
64 +- id: average_privileged_time
65 + azure_name: Average_% Privileged Time
66 + time_grain: PT1M
67 + series:
68 + - aggregation: average
69 + kind: gauge
70 +- id: average_user_time
71 + azure_name: Average_% User Time
72 + time_grain: PT1M
73 + series:
74 + - aggregation: average
75 + kind: gauge
76 +- id: average_dpc_time
77 + azure_name: Average_% DPC Time
78 + time_grain: PT1M
79 + series:
80 + - aggregation: average
81 + kind: gauge
82 +- id: average_interrupt_time
83 + azure_name: Average_% Interrupt Time
84 + time_grain: PT1M
85 + series:
86 + - aggregation: average
87 + kind: gauge
88 +- id: average_idle_time
89 + azure_name: Average_% Idle Time
90 + time_grain: PT1M
91 + series:
92 + - aggregation: average
93 + kind: gauge
94 +- id: average_io_wait_time
95 + azure_name: Average_% IO Wait Time
96 + time_grain: PT1M
97 + series:
98 + - aggregation: average
99 + kind: gauge
100 +- id: average_nice_time
101 + azure_name: Average_% Nice Time
102 + time_grain: PT1M
103 + series:
104 + - aggregation: average
105 + kind: gauge
106 +- id: average_pct_privileged_time
107 + azure_name: Average_Pct Privileged Time
108 + time_grain: PT1M
109 + series:
110 + - aggregation: average
111 + kind: gauge
112 +- id: average_pct_user_time
113 + azure_name: Average_Pct User Time
114 + time_grain: PT1M
115 + series:
116 + - aggregation: average
117 + kind: gauge
118 +- id: average_available_memory
119 + azure_name: Average_% Available Memory
120 + time_grain: PT1M
121 + series:
122 + - aggregation: average
123 + kind: gauge
124 +- id: average_used_memory
125 + azure_name: Average_% Used Memory
126 + time_grain: PT1M
127 + series:
128 + - aggregation: average
129 + kind: gauge
130 +- id: average_committed_bytes_in_use
131 + azure_name: Average_% Committed Bytes In Use
132 + time_grain: PT1M
133 + series:
134 + - aggregation: average
135 + kind: gauge
136 +- id: average_available_m_bytes
137 + azure_name: Average_Available MBytes
138 + time_grain: PT1M
139 + series:
140 + - aggregation: average
141 + kind: gauge
142 +- id: average_available_m_bytes_memory
143 + azure_name: Average_Available MBytes Memory
144 + time_grain: PT1M
145 + series:
146 + - aggregation: average
147 + kind: gauge
148 +- id: average_used_memory_k_bytes
149 + azure_name: Average_Used Memory kBytes
150 + time_grain: PT1M
151 + series:
152 + - aggregation: average
153 + kind: gauge
154 +- id: average_used_memory_m_bytes
155 + azure_name: Average_Used Memory MBytes
156 + time_grain: PT1M
157 + series:
158 + - aggregation: average
159 + kind: gauge
160 +- id: average_free_physical_memory
161 + azure_name: Average_Free Physical Memory
162 + time_grain: PT1M
163 + series:
164 + - aggregation: average
165 + kind: gauge
166 +- id: average_free_virtual_memory
167 + azure_name: Average_Free Virtual Memory
168 + time_grain: PT1M
169 + series:
170 + - aggregation: average
171 + kind: gauge
172 +- id: average_virtual_shared_memory
173 + azure_name: Average_Virtual Shared Memory
174 + time_grain: PT1M
175 + series:
176 + - aggregation: average
177 + kind: gauge
178 +- id: average_available_swap_space
179 + azure_name: Average_% Available Swap Space
180 + time_grain: PT1M
181 + series:
182 + - aggregation: average
183 + kind: gauge
184 +- id: average_used_swap_space
185 + azure_name: Average_% Used Swap Space
186 + time_grain: PT1M
187 + series:
188 + - aggregation: average
189 + kind: gauge
190 +- id: average_available_m_bytes_swap
191 + azure_name: Average_Available MBytes Swap
192 + time_grain: PT1M
193 + series:
194 + - aggregation: average
195 + kind: gauge
196 +- id: average_used_m_bytes_swap_space
197 + azure_name: Average_Used MBytes Swap Space
198 + time_grain: PT1M
199 + series:
200 + - aggregation: average
201 + kind: gauge
202 +- id: average_free_space
203 + azure_name: Average_% Free Space
204 + time_grain: PT1M
205 + series:
206 + - aggregation: average
207 + kind: gauge
208 +- id: average_used_space
209 + azure_name: Average_% Used Space
210 + time_grain: PT1M
211 + series:
212 + - aggregation: average
213 + kind: gauge
214 +- id: average_free_inodes
215 + azure_name: Average_% Free Inodes
216 + time_grain: PT1M
217 + series:
218 + - aggregation: average
219 + kind: gauge
220 +- id: average_used_inodes
221 + azure_name: Average_% Used Inodes
222 + time_grain: PT1M
223 + series:
224 + - aggregation: average
225 + kind: gauge
226 +- id: average_free_megabytes
227 + azure_name: Average_Free Megabytes
228 + time_grain: PT1M
229 + series:
230 + - aggregation: average
231 + kind: gauge
232 +- id: average_disk_read_bytes_sec
233 + azure_name: Average_Disk Read Bytes/sec
234 + time_grain: PT1M
235 + series:
236 + - aggregation: average
237 + kind: gauge
238 +- id: average_disk_write_bytes_sec
239 + azure_name: Average_Disk Write Bytes/sec
240 + time_grain: PT1M
241 + series:
242 + - aggregation: average
243 + kind: gauge
244 +- id: average_disk_reads_sec
245 + azure_name: Average_Disk Reads/sec
246 + time_grain: PT1M
247 + series:
248 + - aggregation: average
249 + kind: gauge
250 +- id: average_disk_writes_sec
251 + azure_name: Average_Disk Writes/sec
252 + time_grain: PT1M
253 + series:
254 + - aggregation: average
255 + kind: gauge
256 +- id: average_disk_transfers_sec
257 + azure_name: Average_Disk Transfers/sec
258 + time_grain: PT1M
259 + series:
260 + - aggregation: average
261 + kind: gauge
262 +- id: average_logical_disk_bytes_sec
263 + azure_name: Average_Logical Disk Bytes/sec
264 + time_grain: PT1M
265 + series:
266 + - aggregation: average
267 + kind: gauge
268 +- id: average_physical_disk_bytes_sec
269 + azure_name: Average_Physical Disk Bytes/sec
270 + time_grain: PT1M
271 + series:
272 + - aggregation: average
273 + kind: gauge
274 +- id: average_avg_disk_sec_read
275 + azure_name: Average_Avg. Disk sec/Read
276 + time_grain: PT1M
277 + series:
278 + - aggregation: average
279 + kind: gauge
280 +- id: average_avg_disk_sec_write
281 + azure_name: Average_Avg. Disk sec/Write
282 + time_grain: PT1M
283 + series:
284 + - aggregation: average
285 + kind: gauge
286 +- id: average_avg_disk_sec_transfer
287 + azure_name: Average_Avg. Disk sec/Transfer
288 + time_grain: PT1M
289 + series:
290 + - aggregation: average
291 + kind: gauge
292 +- id: average_current_disk_queue_length
293 + azure_name: Average_Current Disk Queue Length
294 + time_grain: PT1M
295 + series:
296 + - aggregation: average
297 + kind: gauge
298 +- id: average_page_reads_sec
299 + azure_name: Average_Page Reads/sec
300 + time_grain: PT1M
301 + series:
302 + - aggregation: average
303 + kind: gauge
304 +- id: average_page_writes_sec
305 + azure_name: Average_Page Writes/sec
306 + time_grain: PT1M
307 + series:
308 + - aggregation: average
309 + kind: gauge
310 +- id: average_pages_sec
311 + azure_name: Average_Pages/sec
312 + time_grain: PT1M
313 + series:
314 + - aggregation: average
315 + kind: gauge
316 +- id: average_free_space_in_paging_files
317 + azure_name: Average_Free Space in Paging Files
318 + time_grain: PT1M
319 + series:
320 + - aggregation: average
321 + kind: gauge
322 +- id: average_size_stored_in_paging_files
323 + azure_name: Average_Size Stored In Paging Files
324 + time_grain: PT1M
325 + series:
326 + - aggregation: average
327 + kind: gauge
328 +- id: average_bytes_received_sec
329 + azure_name: Average_Bytes Received/sec
330 + time_grain: PT1M
331 + series:
332 + - aggregation: average
333 + kind: gauge
334 +- id: average_bytes_sent_sec
335 + azure_name: Average_Bytes Sent/sec
336 + time_grain: PT1M
337 + series:
338 + - aggregation: average
339 + kind: gauge
340 +- id: average_bytes_total_sec
341 + azure_name: Average_Bytes Total/sec
342 + time_grain: PT1M
343 + series:
344 + - aggregation: average
345 + kind: gauge
346 +- id: average_total_bytes
347 + azure_name: Average_Total Bytes
348 + time_grain: PT1M
349 + series:
350 + - aggregation: average
351 + kind: gauge
352 +- id: average_total_bytes_received
353 + azure_name: Average_Total Bytes Received
354 + time_grain: PT1M
355 + series:
356 + - aggregation: average
357 + kind: gauge
358 +- id: average_total_bytes_transmitted
359 + azure_name: Average_Total Bytes Transmitted
360 + time_grain: PT1M
361 + series:
362 + - aggregation: average
363 + kind: gauge
364 +- id: average_total_packets_received
365 + azure_name: Average_Total Packets Received
366 + time_grain: PT1M
367 + series:
368 + - aggregation: average
369 + kind: gauge
370 +- id: average_total_packets_transmitted
371 + azure_name: Average_Total Packets Transmitted
372 + time_grain: PT1M
373 + series:
374 + - aggregation: average
375 + kind: gauge
376 +- id: average_total_collisions
377 + azure_name: Average_Total Collisions
378 + time_grain: PT1M
379 + series:
380 + - aggregation: average
381 + kind: gauge
382 +- id: average_total_rx_errors
383 + azure_name: Average_Total Rx Errors
384 + time_grain: PT1M
385 + series:
386 + - aggregation: average
387 + kind: gauge
388 +- id: average_total_tx_errors
389 + azure_name: Average_Total Tx Errors
390 + time_grain: PT1M
391 + series:
392 + - aggregation: average
393 + kind: gauge
394 +- id: average_processes
395 + azure_name: Average_Processes
396 + time_grain: PT1M
397 + series:
398 + - aggregation: average
399 + kind: gauge
400 +- id: average_processor_queue_length
401 + azure_name: Average_Processor Queue Length
402 + time_grain: PT1M
403 + series:
404 + - aggregation: average
405 + kind: gauge
406 +- id: average_uptime
407 + azure_name: Average_Uptime
408 + time_grain: PT1M
409 + series:
410 + - aggregation: average
411 + kind: gauge
412 +- id: average_users
413 + azure_name: Average_Users
414 + time_grain: PT1M
415 + series:
416 + - aggregation: average
417 + kind: gauge
418 +- id: event
419 + azure_name: Event
420 + time_grain: PT1M
421 + series:
422 + - aggregation: average
423 + kind: gauge
424 +- id: heartbeat
425 + azure_name: Heartbeat
426 + time_grain: PT1M
427 + series:
428 + - aggregation: total
429 + kind: counter
430 +- id: update
431 + azure_name: Update
432 + time_grain: PT1M
433 + series:
434 + - aggregation: average
435 + kind: gauge
436 +template:
437 + family: Azure Log Analytics Workspace
438 + context_namespace: log_analytics
439 + chart_defaults:
440 + label_promotion:
441 + - resource_name
442 + - resource_group
443 + - region
444 + - resource_type
445 + - profile
446 + instances:
447 + by_labels:
448 + - resource_uid
449 + charts:
450 + - id: am_azure_log_analytics__query_availability
451 + title: Azure Log Analytics Query Availability
452 + context: query_availability
453 + family: Availability
454 + type: line
455 + units: percentage
456 + algorithm: absolute
457 + dimensions:
458 + - selector: log_analytics.availability_rate_query_average
459 + name: availability
460 + - id: am_azure_log_analytics__ingestion_latency
461 + title: Azure Log Analytics Ingestion Latency
462 + context: ingestion_latency
463 + family: Ingestion
464 + type: line
465 + units: seconds
466 + algorithm: absolute
467 + dimensions:
468 + - selector: log_analytics.ingestion_time_average
469 + name: average
470 + - selector: log_analytics.ingestion_time_maximum
471 + name: maximum
472 + - selector: log_analytics.ingestion_time_minimum
473 + name: minimum
474 + - id: am_azure_log_analytics__ingestion_volume
475 + title: Azure Log Analytics Ingestion Volume
476 + context: ingestion_volume
477 + family: Ingestion
478 + type: line
479 + units: records/s
480 + algorithm: incremental
481 + dimensions:
482 + - selector: log_analytics.ingestion_volume_count
483 + name: records
484 + - id: am_azure_log_analytics__queries
485 + title: Azure Log Analytics Queries
486 + context: queries
487 + family: Queries
488 + type: line
489 + units: queries/s
490 + algorithm: incremental
491 + dimensions:
492 + - selector: log_analytics.query_count_count
493 + name: total
494 + - selector: log_analytics.query_failure_count_count
495 + name: failed
496 + - id: am_azure_log_analytics__export_data
497 + title: Azure Log Analytics Exported Data
498 + context: export_data
499 + family: DataExport
500 + type: line
501 + units: bytes/s
502 + algorithm: incremental
503 + dimensions:
504 + - selector: log_analytics.bytes_exported_total
505 + name: exported
506 + - id: am_azure_log_analytics__export_records
507 + title: Azure Log Analytics Exported Records
508 + context: export_records
509 + family: DataExport
510 + type: line
511 + units: records/s
512 + algorithm: incremental
513 + dimensions:
514 + - selector: log_analytics.records_exported_total
515 + name: exported
516 + - id: am_azure_log_analytics__export_failures
517 + title: Azure Log Analytics Export Failures
518 + context: export_failures
519 + family: DataExport
520 + type: line
521 + units: exports/s
522 + algorithm: incremental
523 + dimensions:
524 + - selector: log_analytics.export_failed_total
525 + name: failed
526 + - id: am_azure_log_analytics__legacy_cpu_utilization
527 + title: Azure Log Analytics Legacy CPU Utilization
528 + context: legacy_cpu_utilization
529 + family: 'Legacy: CPU'
530 + type: line
531 + units: percentage
532 + algorithm: absolute
533 + dimensions:
534 + - selector: log_analytics.average_processor_time_average
535 + name: processor
536 + - selector: log_analytics.average_privileged_time_average
537 + name: privileged
538 + - selector: log_analytics.average_user_time_average
539 + name: user
540 + - selector: log_analytics.average_idle_time_average
541 + name: idle
542 + - id: am_azure_log_analytics__legacy_cpu_detailed
543 + title: Azure Log Analytics Legacy CPU Detailed
544 + context: legacy_cpu_detailed
545 + family: 'Legacy: CPU'
546 + type: line
547 + units: percentage
548 + algorithm: absolute
549 + dimensions:
550 + - selector: log_analytics.average_dpc_time_average
551 + name: dpc
552 + - selector: log_analytics.average_interrupt_time_average
553 + name: interrupt
554 + - selector: log_analytics.average_io_wait_time_average
555 + name: io_wait
556 + - selector: log_analytics.average_nice_time_average
557 + name: nice
558 + - id: am_azure_log_analytics__legacy_cpu_pct
559 + title: Azure Log Analytics Legacy CPU Pct Time
560 + context: legacy_cpu_pct
561 + family: 'Legacy: CPU'
562 + type: line
563 + units: percentage
564 + algorithm: absolute
565 + dimensions:
566 + - selector: log_analytics.average_pct_privileged_time_average
567 + name: privileged
568 + - selector: log_analytics.average_pct_user_time_average
569 + name: user
570 + - id: am_azure_log_analytics__legacy_memory_utilization
571 + title: Azure Log Analytics Legacy Memory Utilization
572 + context: legacy_memory_utilization
573 + family: 'Legacy: Memory'
574 + type: line
575 + units: percentage
576 + algorithm: absolute
577 + dimensions:
578 + - selector: log_analytics.average_available_memory_average
579 + name: available
580 + - selector: log_analytics.average_used_memory_average
581 + name: used
582 + - selector: log_analytics.average_committed_bytes_in_use_average
583 + name: committed
584 + - id: am_azure_log_analytics__legacy_memory_available
585 + title: Azure Log Analytics Legacy Available Memory
586 + context: legacy_memory_available
587 + family: 'Legacy: Memory'
588 + type: line
589 + units: megabytes
590 + algorithm: absolute
591 + dimensions:
592 + - selector: log_analytics.average_available_m_bytes_average
593 + name: available_mbytes
594 + - selector: log_analytics.average_available_m_bytes_memory_average
595 + name: available_mbytes_memory
596 + - id: am_azure_log_analytics__legacy_memory_used_kbytes
597 + title: Azure Log Analytics Legacy Used Memory (kBytes)
598 + context: legacy_memory_used_kbytes
599 + family: 'Legacy: Memory'
600 + type: line
601 + units: kilobytes
602 + algorithm: absolute
603 + dimensions:
604 + - selector: log_analytics.average_used_memory_k_bytes_average
605 + name: used
606 + - id: am_azure_log_analytics__legacy_memory_used_mbytes
607 + title: Azure Log Analytics Legacy Used Memory (MBytes)
608 + context: legacy_memory_used_mbytes
609 + family: 'Legacy: Memory'
610 + type: line
611 + units: megabytes
612 + algorithm: absolute
613 + dimensions:
614 + - selector: log_analytics.average_used_memory_m_bytes_average
615 + name: used
616 + - id: am_azure_log_analytics__legacy_memory_free
617 + title: Azure Log Analytics Legacy Free Memory
618 + context: legacy_memory_free
619 + family: 'Legacy: Memory'
620 + type: line
621 + units: megabytes
622 + algorithm: absolute
623 + dimensions:
624 + - selector: log_analytics.average_free_physical_memory_average
625 + name: physical
626 + - selector: log_analytics.average_free_virtual_memory_average
627 + name: virtual
628 + - selector: log_analytics.average_virtual_shared_memory_average
629 + name: shared
630 + - id: am_azure_log_analytics__legacy_swap_utilization
631 + title: Azure Log Analytics Legacy Swap Utilization
632 + context: legacy_swap_utilization
633 + family: 'Legacy: Swap'
634 + type: line
635 + units: percentage
636 + algorithm: absolute
637 + dimensions:
638 + - selector: log_analytics.average_available_swap_space_average
639 + name: available
640 + - selector: log_analytics.average_used_swap_space_average
641 + name: used
642 + - id: am_azure_log_analytics__legacy_swap_size
643 + title: Azure Log Analytics Legacy Swap Size
644 + context: legacy_swap_size
645 + family: 'Legacy: Swap'
646 + type: line
647 + units: megabytes
648 + algorithm: absolute
649 + dimensions:
650 + - selector: log_analytics.average_available_m_bytes_swap_average
651 + name: available
652 + - selector: log_analytics.average_used_m_bytes_swap_space_average
653 + name: used
654 + - id: am_azure_log_analytics__legacy_disk_space_utilization
655 + title: Azure Log Analytics Legacy Disk Space Utilization
656 + context: legacy_disk_space_utilization
657 + family: 'Legacy: Disk'
658 + type: line
659 + units: percentage
660 + algorithm: absolute
661 + dimensions:
662 + - selector: log_analytics.average_free_space_average
663 + name: free
664 + - selector: log_analytics.average_used_space_average
665 + name: used
666 + - id: am_azure_log_analytics__legacy_disk_inodes
667 + title: Azure Log Analytics Legacy Disk Inodes
668 + context: legacy_disk_inodes
669 + family: 'Legacy: Disk'
670 + type: line
671 + units: percentage
672 + algorithm: absolute
673 + dimensions:
674 + - selector: log_analytics.average_free_inodes_average
675 + name: free
676 + - selector: log_analytics.average_used_inodes_average
677 + name: used
678 + - id: am_azure_log_analytics__legacy_disk_free
679 + title: Azure Log Analytics Legacy Disk Free Space
680 + context: legacy_disk_free
681 + family: 'Legacy: Disk'
682 + type: line
683 + units: megabytes
684 + algorithm: absolute
685 + dimensions:
686 + - selector: log_analytics.average_free_megabytes_average
687 + name: free
688 + - id: am_azure_log_analytics__legacy_disk_io_throughput
689 + title: Azure Log Analytics Legacy Disk I/O Throughput
690 + context: legacy_disk_io_throughput
691 + family: 'Legacy: Disk'
692 + type: line
693 + units: bytes/s
694 + algorithm: absolute
695 + dimensions:
696 + - selector: log_analytics.average_disk_read_bytes_sec_average
697 + name: read
698 + - selector: log_analytics.average_disk_write_bytes_sec_average
699 + name: write
700 + - selector: log_analytics.average_logical_disk_bytes_sec_average
701 + name: logical
702 + - selector: log_analytics.average_physical_disk_bytes_sec_average
703 + name: physical
704 + - id: am_azure_log_analytics__legacy_disk_io_operations
705 + title: Azure Log Analytics Legacy Disk I/O Operations
706 + context: legacy_disk_io_operations
707 + family: 'Legacy: Disk'
708 + type: line
709 + units: operations/s
710 + algorithm: absolute
711 + dimensions:
712 + - selector: log_analytics.average_disk_reads_sec_average
713 + name: reads
714 + - selector: log_analytics.average_disk_writes_sec_average
715 + name: writes
716 + - selector: log_analytics.average_disk_transfers_sec_average
717 + name: transfers
718 + - id: am_azure_log_analytics__legacy_disk_io_latency
719 + title: Azure Log Analytics Legacy Disk I/O Latency
720 + context: legacy_disk_io_latency
721 + family: 'Legacy: Disk'
722 + type: line
723 + units: seconds
724 + algorithm: absolute
725 + dimensions:
726 + - selector: log_analytics.average_avg_disk_sec_read_average
727 + name: read
728 + - selector: log_analytics.average_avg_disk_sec_write_average
729 + name: write
730 + - selector: log_analytics.average_avg_disk_sec_transfer_average
731 + name: transfer
732 + - id: am_azure_log_analytics__legacy_disk_queue
733 + title: Azure Log Analytics Legacy Disk Queue Length
734 + context: legacy_disk_queue
735 + family: 'Legacy: Disk'
736 + type: line
737 + units: operations
738 + algorithm: absolute
739 + dimensions:
740 + - selector: log_analytics.average_current_disk_queue_length_average
741 + name: queue_length
742 + - id: am_azure_log_analytics__legacy_paging
743 + title: Azure Log Analytics Legacy Paging Activity
744 + context: legacy_paging
745 + family: 'Legacy: Memory'
746 + type: line
747 + units: pages/s
748 + algorithm: absolute
749 + dimensions:
750 + - selector: log_analytics.average_page_reads_sec_average
751 + name: reads
752 + - selector: log_analytics.average_page_writes_sec_average
753 + name: writes
754 + - selector: log_analytics.average_pages_sec_average
755 + name: total
756 + - id: am_azure_log_analytics__legacy_paging_files
757 + title: Azure Log Analytics Legacy Paging Files
758 + context: legacy_paging_files
759 + family: 'Legacy: Memory'
760 + type: line
761 + units: megabytes
762 + algorithm: absolute
763 + dimensions:
764 + - selector: log_analytics.average_free_space_in_paging_files_average
765 + name: free
766 + - selector: log_analytics.average_size_stored_in_paging_files_average
767 + name: stored
768 + - id: am_azure_log_analytics__legacy_network_throughput_win
769 + title: Azure Log Analytics Legacy Network Throughput (Windows)
770 + context: legacy_network_throughput_win
771 + family: 'Legacy: Network'
772 + type: line
773 + units: bytes/s
774 + algorithm: absolute
775 + dimensions:
776 + - selector: log_analytics.average_bytes_received_sec_average
777 + name: received
778 + - selector: log_analytics.average_bytes_sent_sec_average
779 + name: sent
780 + - selector: log_analytics.average_bytes_total_sec_average
781 + name: total
782 + - id: am_azure_log_analytics__legacy_network_traffic
783 + title: Azure Log Analytics Legacy Network Traffic
784 + context: legacy_network_traffic
785 + family: 'Legacy: Network'
786 + type: line
787 + units: bytes
788 + algorithm: absolute
789 + dimensions:
790 + - selector: log_analytics.average_total_bytes_average
791 + name: total
792 + - selector: log_analytics.average_total_bytes_received_average
793 + name: received
794 + - selector: log_analytics.average_total_bytes_transmitted_average
795 + name: transmitted
796 + - id: am_azure_log_analytics__legacy_network_packets
797 + title: Azure Log Analytics Legacy Network Packets
798 + context: legacy_network_packets
799 + family: 'Legacy: Network'
800 + type: line
801 + units: packets
802 + algorithm: absolute
803 + dimensions:
804 + - selector: log_analytics.average_total_packets_received_average
805 + name: received
806 + - selector: log_analytics.average_total_packets_transmitted_average
807 + name: transmitted
808 + - id: am_azure_log_analytics__legacy_network_errors
809 + title: Azure Log Analytics Legacy Network Errors
810 + context: legacy_network_errors
811 + family: 'Legacy: Network'
812 + type: line
813 + units: errors
814 + algorithm: absolute
815 + dimensions:
816 + - selector: log_analytics.average_total_rx_errors_average
817 + name: rx
818 + - selector: log_analytics.average_total_tx_errors_average
819 + name: tx
820 + - selector: log_analytics.average_total_collisions_average
821 + name: collisions
822 + - id: am_azure_log_analytics__legacy_system
823 + title: Azure Log Analytics Legacy System
824 + context: legacy_system
825 + family: 'Legacy: System'
826 + type: line
827 + units: processes
828 + algorithm: absolute
829 + dimensions:
830 + - selector: log_analytics.average_processes_average
831 + name: processes
832 + - id: am_azure_log_analytics__legacy_processor_queue
833 + title: Azure Log Analytics Legacy Processor Queue
834 + context: legacy_processor_queue
835 + family: 'Legacy: System'
836 + type: line
837 + units: threads
838 + algorithm: absolute
839 + dimensions:
840 + - selector: log_analytics.average_processor_queue_length_average
841 + name: queue_length
842 + - id: am_azure_log_analytics__legacy_uptime
843 + title: Azure Log Analytics Legacy Uptime
844 + context: legacy_uptime
845 + family: 'Legacy: System'
846 + type: line
847 + units: seconds
848 + algorithm: absolute
849 + dimensions:
850 + - selector: log_analytics.average_uptime_average
851 + name: uptime
852 + - id: am_azure_log_analytics__legacy_users
853 + title: Azure Log Analytics Legacy Users
854 + context: legacy_users
855 + family: 'Legacy: System'
856 + type: line
857 + units: users
858 + algorithm: absolute
859 + dimensions:
860 + - selector: log_analytics.average_users_average
861 + name: users
862 + - id: am_azure_log_analytics__legacy_events
863 + title: Azure Log Analytics Legacy Events
864 + context: legacy_events
865 + family: 'Legacy: Events'
866 + type: line
867 + units: events/s
868 + algorithm: absolute
869 + dimensions:
870 + - selector: log_analytics.event_average
871 + name: events
872 + - id: am_azure_log_analytics__legacy_heartbeat
873 + title: Azure Log Analytics Legacy Heartbeat
874 + context: legacy_heartbeat
875 + family: 'Legacy: Events'
876 + type: line
877 + units: heartbeats/s
878 + algorithm: incremental
879 + dimensions:
880 + - selector: log_analytics.heartbeat_total
881 + name: heartbeats
882 + - id: am_azure_log_analytics__legacy_updates
883 + title: Azure Log Analytics Legacy Updates
884 + context: legacy_updates
885 + family: 'Legacy: Events'
886 + type: line
887 + units: updates
888 + algorithm: absolute
889 + dimensions:
890 + - selector: log_analytics.update_average
891 + name: updates
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/logic_apps.yaml new
+419
@@ -0,0 +1,419 @@
1 +---
2 +id: logic_apps
3 +name: Azure Logic Apps Workflow
4 +resource_type: Microsoft.Logic/workflows
5 +metrics:
6 +- id: runs_started
7 + azure_name: RunsStarted
8 + time_grain: PT1M
9 + series:
10 + - aggregation: total
11 + kind: counter
12 +- id: runs_completed
13 + azure_name: RunsCompleted
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: runs_succeeded
19 + azure_name: RunsSucceeded
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: counter
24 +- id: runs_failed
25 + azure_name: RunsFailed
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: runs_cancelled
31 + azure_name: RunsCancelled
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: counter
36 +- id: run_latency
37 + azure_name: RunLatency
38 + time_grain: PT1M
39 + series:
40 + - aggregation: average
41 + kind: gauge
42 +- id: run_success_latency
43 + azure_name: RunSuccessLatency
44 + time_grain: PT1M
45 + series:
46 + - aggregation: average
47 + kind: gauge
48 +- id: run_failure_percentage
49 + azure_name: RunFailurePercentage
50 + time_grain: PT1M
51 + series:
52 + - aggregation: total
53 + kind: gauge
54 +- id: run_throttled_events
55 + azure_name: RunThrottledEvents
56 + time_grain: PT1M
57 + series:
58 + - aggregation: total
59 + kind: counter
60 +- id: run_start_throttled_events
61 + azure_name: RunStartThrottledEvents
62 + time_grain: PT1M
63 + series:
64 + - aggregation: total
65 + kind: counter
66 +- id: actions_started
67 + azure_name: ActionsStarted
68 + time_grain: PT1M
69 + series:
70 + - aggregation: total
71 + kind: counter
72 +- id: actions_completed
73 + azure_name: ActionsCompleted
74 + time_grain: PT1M
75 + series:
76 + - aggregation: total
77 + kind: counter
78 +- id: actions_succeeded
79 + azure_name: ActionsSucceeded
80 + time_grain: PT1M
81 + series:
82 + - aggregation: total
83 + kind: counter
84 +- id: actions_failed
85 + azure_name: ActionsFailed
86 + time_grain: PT1M
87 + series:
88 + - aggregation: total
89 + kind: counter
90 +- id: actions_skipped
91 + azure_name: ActionsSkipped
92 + time_grain: PT1M
93 + series:
94 + - aggregation: total
95 + kind: counter
96 +- id: action_latency
97 + azure_name: ActionLatency
98 + time_grain: PT1M
99 + series:
100 + - aggregation: average
101 + kind: gauge
102 +- id: action_success_latency
103 + azure_name: ActionSuccessLatency
104 + time_grain: PT1M
105 + series:
106 + - aggregation: average
107 + kind: gauge
108 +- id: action_throttled_events
109 + azure_name: ActionThrottledEvents
110 + time_grain: PT1M
111 + series:
112 + - aggregation: total
113 + kind: counter
114 +- id: triggers_started
115 + azure_name: TriggersStarted
116 + time_grain: PT1M
117 + series:
118 + - aggregation: total
119 + kind: counter
120 +- id: triggers_completed
121 + azure_name: TriggersCompleted
122 + time_grain: PT1M
123 + series:
124 + - aggregation: total
125 + kind: counter
126 +- id: triggers_succeeded
127 + azure_name: TriggersSucceeded
128 + time_grain: PT1M
129 + series:
130 + - aggregation: total
131 + kind: counter
132 +- id: triggers_fired
133 + azure_name: TriggersFired
134 + time_grain: PT1M
135 + series:
136 + - aggregation: total
137 + kind: counter
138 +- id: triggers_failed
139 + azure_name: TriggersFailed
140 + time_grain: PT1M
141 + series:
142 + - aggregation: total
143 + kind: counter
144 +- id: triggers_skipped
145 + azure_name: TriggersSkipped
146 + time_grain: PT1M
147 + series:
148 + - aggregation: total
149 + kind: counter
150 +- id: trigger_latency
151 + azure_name: TriggerLatency
152 + time_grain: PT1M
153 + series:
154 + - aggregation: average
155 + kind: gauge
156 +- id: trigger_fire_latency
157 + azure_name: TriggerFireLatency
158 + time_grain: PT1M
159 + series:
160 + - aggregation: average
161 + kind: gauge
162 +- id: trigger_success_latency
163 + azure_name: TriggerSuccessLatency
164 + time_grain: PT1M
165 + series:
166 + - aggregation: average
167 + kind: gauge
168 +- id: trigger_throttled_events
169 + azure_name: TriggerThrottledEvents
170 + time_grain: PT1M
171 + series:
172 + - aggregation: total
173 + kind: counter
174 +- id: total_billable_executions
175 + azure_name: TotalBillableExecutions
176 + time_grain: PT1M
177 + series:
178 + - aggregation: total
179 + kind: counter
180 +- id: billable_action_executions
181 + azure_name: BillableActionExecutions
182 + time_grain: PT1M
183 + series:
184 + - aggregation: total
185 + kind: counter
186 +- id: billable_trigger_executions
187 + azure_name: BillableTriggerExecutions
188 + time_grain: PT1M
189 + series:
190 + - aggregation: total
191 + kind: counter
192 +- id: billing_usage_native_operation
193 + azure_name: BillingUsageNativeOperation
194 + time_grain: PT1M
195 + series:
196 + - aggregation: total
197 + kind: counter
198 +- id: billing_usage_standard_connector
199 + azure_name: BillingUsageStandardConnector
200 + time_grain: PT1M
201 + series:
202 + - aggregation: total
203 + kind: counter
204 +- id: billing_usage_storage_consumption
205 + azure_name: BillingUsageStorageConsumption
206 + time_grain: PT1M
207 + series:
208 + - aggregation: total
209 + kind: counter
210 +- id: agent_loop_execution
211 + azure_name: AgentLoopExecution
212 + time_grain: PT1M
213 + series:
214 + - aggregation: total
215 + kind: counter
216 +- id: completion_token_overflow_usage
217 + azure_name: CompletionTokenOverflowUsage
218 + time_grain: PT1M
219 + series:
220 + - aggregation: total
221 + kind: counter
222 +- id: prompt_token_overflow_usage
223 + azure_name: PromptTokenOverflowUsage
224 + time_grain: PT1M
225 + series:
226 + - aggregation: total
227 + kind: counter
228 +template:
229 + family: Azure Logic Apps Workflow
230 + context_namespace: logic_apps
231 + chart_defaults:
232 + label_promotion:
233 + - resource_name
234 + - resource_group
235 + - region
236 + - resource_type
237 + - profile
238 + instances:
239 + by_labels:
240 + - resource_uid
241 + charts:
242 + - id: am_azure_logic_apps__run_lifecycle
243 + title: Azure Logic Apps Run Lifecycle
244 + context: run_lifecycle
245 + family: Runs
246 + type: line
247 + units: runs/s
248 + algorithm: incremental
249 + dimensions:
250 + - selector: logic_apps.runs_started_total
251 + name: started
252 + - selector: logic_apps.runs_completed_total
253 + name: completed
254 + - selector: logic_apps.runs_succeeded_total
255 + name: succeeded
256 + - selector: logic_apps.runs_failed_total
257 + name: failed
258 + - selector: logic_apps.runs_cancelled_total
259 + name: cancelled
260 + - id: am_azure_logic_apps__run_latency
261 + title: Azure Logic Apps Run Latency
262 + context: run_latency
263 + family: Runs
264 + type: line
265 + units: seconds
266 + algorithm: absolute
267 + dimensions:
268 + - selector: logic_apps.run_latency_average
269 + name: all
270 + - selector: logic_apps.run_success_latency_average
271 + name: success
272 + - id: am_azure_logic_apps__run_failure_rate
273 + title: Azure Logic Apps Run Failure Rate
274 + context: run_failure_rate
275 + family: Runs
276 + type: line
277 + units: percentage
278 + algorithm: absolute
279 + dimensions:
280 + - selector: logic_apps.run_failure_percentage_total
281 + name: failure_rate
282 + - id: am_azure_logic_apps__run_throttling
283 + title: Azure Logic Apps Run Throttling
284 + context: run_throttling
285 + family: Runs
286 + type: line
287 + units: events/s
288 + algorithm: incremental
289 + dimensions:
290 + - selector: logic_apps.run_throttled_events_total
291 + name: during_run
292 + - selector: logic_apps.run_start_throttled_events_total
293 + name: at_start
294 + - id: am_azure_logic_apps__action_lifecycle
295 + title: Azure Logic Apps Action Lifecycle
296 + context: action_lifecycle
297 + family: Actions
298 + type: line
299 + units: actions/s
300 + algorithm: incremental
301 + dimensions:
302 + - selector: logic_apps.actions_started_total
303 + name: started
304 + - selector: logic_apps.actions_completed_total
305 + name: completed
306 + - selector: logic_apps.actions_succeeded_total
307 + name: succeeded
308 + - selector: logic_apps.actions_failed_total
309 + name: failed
310 + - selector: logic_apps.actions_skipped_total
311 + name: skipped
312 + - id: am_azure_logic_apps__action_latency
313 + title: Azure Logic Apps Action Latency
314 + context: action_latency
315 + family: Actions
316 + type: line
317 + units: seconds
318 + algorithm: absolute
319 + dimensions:
320 + - selector: logic_apps.action_latency_average
321 + name: all
322 + - selector: logic_apps.action_success_latency_average
323 + name: success
324 + - id: am_azure_logic_apps__action_throttling
325 + title: Azure Logic Apps Action Throttling
326 + context: action_throttling
327 + family: Actions
328 + type: line
329 + units: events/s
330 + algorithm: incremental
331 + dimensions:
332 + - selector: logic_apps.action_throttled_events_total
333 + name: total
334 + - id: am_azure_logic_apps__trigger_lifecycle
335 + title: Azure Logic Apps Trigger Lifecycle
336 + context: trigger_lifecycle
337 + family: Triggers
338 + type: line
339 + units: triggers/s
340 + algorithm: incremental
341 + dimensions:
342 + - selector: logic_apps.triggers_started_total
343 + name: started
344 + - selector: logic_apps.triggers_completed_total
345 + name: completed
346 + - selector: logic_apps.triggers_succeeded_total
347 + name: succeeded
348 + - selector: logic_apps.triggers_fired_total
349 + name: fired
350 + - selector: logic_apps.triggers_failed_total
351 + name: failed
352 + - selector: logic_apps.triggers_skipped_total
353 + name: skipped
354 + - id: am_azure_logic_apps__trigger_latency
355 + title: Azure Logic Apps Trigger Latency
356 + context: trigger_latency
357 + family: Triggers
358 + type: line
359 + units: seconds
360 + algorithm: absolute
361 + dimensions:
362 + - selector: logic_apps.trigger_latency_average
363 + name: all
364 + - selector: logic_apps.trigger_fire_latency_average
365 + name: fire
366 + - selector: logic_apps.trigger_success_latency_average
367 + name: success
368 + - id: am_azure_logic_apps__trigger_throttling
369 + title: Azure Logic Apps Trigger Throttling
370 + context: trigger_throttling
371 + family: Triggers
372 + type: line
373 + units: events/s
374 + algorithm: incremental
375 + dimensions:
376 + - selector: logic_apps.trigger_throttled_events_total
377 + name: total
378 + - id: am_azure_logic_apps__billable_executions
379 + title: Azure Logic Apps Billable Executions
380 + context: billable_executions
381 + family: Billing
382 + type: line
383 + units: executions/s
384 + algorithm: incremental
385 + dimensions:
386 + - selector: logic_apps.total_billable_executions_total
387 + name: total
388 + - selector: logic_apps.billable_action_executions_total
389 + name: actions
390 + - selector: logic_apps.billable_trigger_executions_total
391 + name: triggers
392 + - id: am_azure_logic_apps__billing_by_type
393 + title: Azure Logic Apps Billing by Type
394 + context: billing_by_type
395 + family: Billing
396 + type: line
397 + units: operations/s
398 + algorithm: incremental
399 + dimensions:
400 + - selector: logic_apps.billing_usage_native_operation_total
401 + name: native
402 + - selector: logic_apps.billing_usage_standard_connector_total
403 + name: standard_connector
404 + - selector: logic_apps.billing_usage_storage_consumption_total
405 + name: storage
406 + - id: am_azure_logic_apps__agent
407 + title: Azure Logic Apps AI Agent Activity
408 + context: agent
409 + family: Agent
410 + type: line
411 + units: events/s
412 + algorithm: incremental
413 + dimensions:
414 + - selector: logic_apps.agent_loop_execution_total
415 + name: loop_executions
416 + - selector: logic_apps.completion_token_overflow_usage_total
417 + name: completion_overflow
418 + - selector: logic_apps.prompt_token_overflow_usage_total
419 + name: prompt_overflow
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/machine_learning.yaml new
+779
@@ -0,0 +1,779 @@
1 +---
2 +id: machine_learning
3 +name: Azure Machine Learning Workspace
4 +resource_type: Microsoft.MachineLearningServices/workspaces
5 +metrics:
6 +- id: agents
7 + azure_name: Agents
8 + time_grain: PT1M
9 + series:
10 + - aggregation: total
11 + kind: counter
12 +- id: indexed_files
13 + azure_name: IndexedFiles
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: messages
19 + azure_name: Messages
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: counter
24 +- id: runs
25 + azure_name: Runs
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: threads
31 + azure_name: Threads
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: counter
36 +- id: tokens
37 + azure_name: Tokens
38 + time_grain: PT1M
39 + series:
40 + - aggregation: total
41 + kind: counter
42 +- id: tool_calls
43 + azure_name: ToolCalls
44 + time_grain: PT1M
45 + series:
46 + - aggregation: total
47 + kind: counter
48 +- id: model_deploy_failed
49 + azure_name: Model Deploy Failed
50 + time_grain: PT1M
51 + series:
52 + - aggregation: total
53 + kind: counter
54 +- id: model_deploy_started
55 + azure_name: Model Deploy Started
56 + time_grain: PT1M
57 + series:
58 + - aggregation: total
59 + kind: counter
60 +- id: model_deploy_succeeded
61 + azure_name: Model Deploy Succeeded
62 + time_grain: PT1M
63 + series:
64 + - aggregation: total
65 + kind: counter
66 +- id: model_register_failed
67 + azure_name: Model Register Failed
68 + time_grain: PT1M
69 + series:
70 + - aggregation: total
71 + kind: counter
72 +- id: model_register_succeeded
73 + azure_name: Model Register Succeeded
74 + time_grain: PT1M
75 + series:
76 + - aggregation: total
77 + kind: counter
78 +- id: active_cores
79 + azure_name: Active Cores
80 + time_grain: PT1M
81 + series:
82 + - aggregation: average
83 + kind: gauge
84 +- id: idle_cores
85 + azure_name: Idle Cores
86 + time_grain: PT1M
87 + series:
88 + - aggregation: average
89 + kind: gauge
90 +- id: leaving_cores
91 + azure_name: Leaving Cores
92 + time_grain: PT1M
93 + series:
94 + - aggregation: average
95 + kind: gauge
96 +- id: preempted_cores
97 + azure_name: Preempted Cores
98 + time_grain: PT1M
99 + series:
100 + - aggregation: average
101 + kind: gauge
102 +- id: unusable_cores
103 + azure_name: Unusable Cores
104 + time_grain: PT1M
105 + series:
106 + - aggregation: average
107 + kind: gauge
108 +- id: total_cores
109 + azure_name: Total Cores
110 + time_grain: PT1M
111 + series:
112 + - aggregation: average
113 + kind: gauge
114 +- id: active_nodes
115 + azure_name: Active Nodes
116 + time_grain: PT1M
117 + series:
118 + - aggregation: average
119 + kind: gauge
120 +- id: idle_nodes
121 + azure_name: Idle Nodes
122 + time_grain: PT1M
123 + series:
124 + - aggregation: average
125 + kind: gauge
126 +- id: leaving_nodes
127 + azure_name: Leaving Nodes
128 + time_grain: PT1M
129 + series:
130 + - aggregation: average
131 + kind: gauge
132 +- id: preempted_nodes
133 + azure_name: Preempted Nodes
134 + time_grain: PT1M
135 + series:
136 + - aggregation: average
137 + kind: gauge
138 +- id: unusable_nodes
139 + azure_name: Unusable Nodes
140 + time_grain: PT1M
141 + series:
142 + - aggregation: average
143 + kind: gauge
144 +- id: total_nodes
145 + azure_name: Total Nodes
146 + time_grain: PT1M
147 + series:
148 + - aggregation: average
149 + kind: gauge
150 +- id: quota_utilization_percentage
151 + azure_name: Quota Utilization Percentage
152 + time_grain: PT1M
153 + series:
154 + - aggregation: average
155 + kind: gauge
156 +- id: cpu_utilization
157 + azure_name: CpuUtilization
158 + time_grain: PT1M
159 + series:
160 + - aggregation: average
161 + kind: gauge
162 +- id: cpu_utilization_percentage
163 + azure_name: CpuUtilizationPercentage
164 + time_grain: PT1M
165 + series:
166 + - aggregation: average
167 + kind: gauge
168 +- id: cpu_utilization_millicores
169 + azure_name: CpuUtilizationMillicores
170 + time_grain: PT1M
171 + series:
172 + - aggregation: average
173 + kind: gauge
174 +- id: cpu_capacity_millicores
175 + azure_name: CpuCapacityMillicores
176 + time_grain: PT1M
177 + series:
178 + - aggregation: average
179 + kind: gauge
180 +- id: cpu_memory_utilization_percentage
181 + azure_name: CpuMemoryUtilizationPercentage
182 + time_grain: PT1M
183 + series:
184 + - aggregation: average
185 + kind: gauge
186 +- id: cpu_memory_utilization_megabytes
187 + azure_name: CpuMemoryUtilizationMegabytes
188 + time_grain: PT1M
189 + series:
190 + - aggregation: average
191 + kind: gauge
192 +- id: cpu_memory_capacity_megabytes
193 + azure_name: CpuMemoryCapacityMegabytes
194 + time_grain: PT1M
195 + series:
196 + - aggregation: average
197 + kind: gauge
198 +- id: gpu_utilization
199 + azure_name: GpuUtilization
200 + time_grain: PT1M
201 + series:
202 + - aggregation: average
203 + kind: gauge
204 +- id: gpu_utilization_percentage
205 + azure_name: GpuUtilizationPercentage
206 + time_grain: PT1M
207 + series:
208 + - aggregation: average
209 + kind: gauge
210 +- id: gpu_utilization_milli_gpus
211 + azure_name: GpuUtilizationMilliGPUs
212 + time_grain: PT1M
213 + series:
214 + - aggregation: average
215 + kind: gauge
216 +- id: gpu_capacity_milli_gpus
217 + azure_name: GpuCapacityMilliGPUs
218 + time_grain: PT1M
219 + series:
220 + - aggregation: average
221 + kind: gauge
222 +- id: gpu_memory_utilization
223 + azure_name: GpuMemoryUtilization
224 + time_grain: PT1M
225 + series:
226 + - aggregation: average
227 + kind: gauge
228 +- id: gpu_memory_utilization_percentage
229 + azure_name: GpuMemoryUtilizationPercentage
230 + time_grain: PT1M
231 + series:
232 + - aggregation: average
233 + kind: gauge
234 +- id: gpu_memory_utilization_megabytes
235 + azure_name: GpuMemoryUtilizationMegabytes
236 + time_grain: PT1M
237 + series:
238 + - aggregation: average
239 + kind: gauge
240 +- id: gpu_memory_capacity_megabytes
241 + azure_name: GpuMemoryCapacityMegabytes
242 + time_grain: PT1M
243 + series:
244 + - aggregation: average
245 + kind: gauge
246 +- id: gpu_energy_joules
247 + azure_name: GpuEnergyJoules
248 + time_grain: PT1M
249 + series:
250 + - aggregation: total
251 + kind: counter
252 +- id: disk_used_megabytes
253 + azure_name: DiskUsedMegabytes
254 + time_grain: PT1M
255 + series:
256 + - aggregation: average
257 + kind: gauge
258 +- id: disk_avail_megabytes
259 + azure_name: DiskAvailMegabytes
260 + time_grain: PT1M
261 + series:
262 + - aggregation: average
263 + kind: gauge
264 +- id: disk_read_megabytes
265 + azure_name: DiskReadMegabytes
266 + time_grain: PT1M
267 + series:
268 + - aggregation: total
269 + kind: counter
270 +- id: disk_write_megabytes
271 + azure_name: DiskWriteMegabytes
272 + time_grain: PT1M
273 + series:
274 + - aggregation: total
275 + kind: counter
276 +- id: network_input_megabytes
277 + azure_name: NetworkInputMegabytes
278 + time_grain: PT1M
279 + series:
280 + - aggregation: total
281 + kind: counter
282 +- id: network_output_megabytes
283 + azure_name: NetworkOutputMegabytes
284 + time_grain: PT1M
285 + series:
286 + - aggregation: total
287 + kind: counter
288 +- id: ib_receive_megabytes
289 + azure_name: IBReceiveMegabytes
290 + time_grain: PT1M
291 + series:
292 + - aggregation: total
293 + kind: counter
294 +- id: ib_transmit_megabytes
295 + azure_name: IBTransmitMegabytes
296 + time_grain: PT1M
297 + series:
298 + - aggregation: total
299 + kind: counter
300 +- id: storage_api_success_count
301 + azure_name: StorageAPISuccessCount
302 + time_grain: PT1M
303 + series:
304 + - aggregation: total
305 + kind: counter
306 +- id: storage_api_failure_count
307 + azure_name: StorageAPIFailureCount
308 + time_grain: PT1M
309 + series:
310 + - aggregation: total
311 + kind: counter
312 +- id: not_started_runs
313 + azure_name: Not Started Runs
314 + time_grain: PT1M
315 + series:
316 + - aggregation: total
317 + kind: counter
318 +- id: starting_runs
319 + azure_name: Starting Runs
320 + time_grain: PT1M
321 + series:
322 + - aggregation: total
323 + kind: counter
324 +- id: preparing_runs
325 + azure_name: Preparing Runs
326 + time_grain: PT1M
327 + series:
328 + - aggregation: total
329 + kind: counter
330 +- id: provisioning_runs
331 + azure_name: Provisioning Runs
332 + time_grain: PT1M
333 + series:
334 + - aggregation: total
335 + kind: counter
336 +- id: queued_runs
337 + azure_name: Queued Runs
338 + time_grain: PT1M
339 + series:
340 + - aggregation: total
341 + kind: counter
342 +- id: started_runs
343 + azure_name: Started Runs
344 + time_grain: PT1M
345 + series:
346 + - aggregation: total
347 + kind: counter
348 +- id: completed_runs
349 + azure_name: Completed Runs
350 + time_grain: PT1M
351 + series:
352 + - aggregation: total
353 + kind: counter
354 +- id: failed_runs
355 + azure_name: Failed Runs
356 + time_grain: PT1M
357 + series:
358 + - aggregation: total
359 + kind: counter
360 +- id: cancelled_runs
361 + azure_name: Cancelled Runs
362 + time_grain: PT1M
363 + series:
364 + - aggregation: total
365 + kind: counter
366 +- id: cancel_requested_runs
367 + azure_name: Cancel Requested Runs
368 + time_grain: PT1M
369 + series:
370 + - aggregation: total
371 + kind: counter
372 +- id: finalizing_runs
373 + azure_name: Finalizing Runs
374 + time_grain: PT1M
375 + series:
376 + - aggregation: total
377 + kind: counter
378 +- id: not_responding_runs
379 + azure_name: Not Responding Runs
380 + time_grain: PT1M
381 + series:
382 + - aggregation: total
383 + kind: counter
384 +- id: errors
385 + azure_name: Errors
386 + time_grain: PT1M
387 + series:
388 + - aggregation: total
389 + kind: counter
390 +- id: warnings
391 + azure_name: Warnings
392 + time_grain: PT1M
393 + series:
394 + - aggregation: total
395 + kind: counter
396 +template:
397 + family: Azure Machine Learning Workspace
398 + context_namespace: machine_learning
399 + chart_defaults:
400 + label_promotion:
401 + - resource_name
402 + - resource_group
403 + - region
404 + - resource_type
405 + - profile
406 + instances:
407 + by_labels:
408 + - resource_uid
409 + charts:
410 + - id: am_azure_machine_learning__agent_events
411 + title: Azure Machine Learning Agent Events
412 + context: agent_events
413 + family: Agents
414 + type: line
415 + units: events/s
416 + algorithm: incremental
417 + dimensions:
418 + - selector: machine_learning.agents_total
419 + name: agent_events
420 + - selector: machine_learning.threads_total
421 + name: thread_events
422 + - id: am_azure_machine_learning__agent_messages
423 + title: Azure Machine Learning Agent Messages
424 + context: agent_messages
425 + family: Agents
426 + type: line
427 + units: messages/s
428 + algorithm: incremental
429 + dimensions:
430 + - selector: machine_learning.messages_total
431 + name: messages
432 + - id: am_azure_machine_learning__agent_runs
433 + title: Azure Machine Learning Agent Runs
434 + context: agent_runs
435 + family: Agents
436 + type: line
437 + units: runs/s
438 + algorithm: incremental
439 + dimensions:
440 + - selector: machine_learning.runs_total
441 + name: runs
442 + - id: am_azure_machine_learning__agent_tokens
443 + title: Azure Machine Learning Agent Tokens
444 + context: agent_tokens
445 + family: Agents
446 + type: line
447 + units: tokens/s
448 + algorithm: incremental
449 + dimensions:
450 + - selector: machine_learning.tokens_total
451 + name: tokens
452 + - id: am_azure_machine_learning__agent_tool_calls
453 + title: Azure Machine Learning Agent Tool Calls
454 + context: agent_tool_calls
455 + family: Agents
456 + type: line
457 + units: calls/s
458 + algorithm: incremental
459 + dimensions:
460 + - selector: machine_learning.tool_calls_total
461 + name: tool_calls
462 + - id: am_azure_machine_learning__agent_indexed_files
463 + title: Azure Machine Learning Agent Indexed Files
464 + context: agent_indexed_files
465 + family: Agents
466 + type: line
467 + units: files/s
468 + algorithm: incremental
469 + dimensions:
470 + - selector: machine_learning.indexed_files_total
471 + name: indexed_files
472 + - id: am_azure_machine_learning__model_deployments
473 + title: Azure Machine Learning Model Deployments
474 + context: model_deployments
475 + family: Model
476 + type: line
477 + units: deployments/s
478 + algorithm: incremental
479 + dimensions:
480 + - selector: machine_learning.model_deploy_started_total
481 + name: started
482 + - selector: machine_learning.model_deploy_succeeded_total
483 + name: succeeded
484 + - selector: machine_learning.model_deploy_failed_total
485 + name: failed
486 + - id: am_azure_machine_learning__model_registrations
487 + title: Azure Machine Learning Model Registrations
488 + context: model_registrations
489 + family: Model
490 + type: line
491 + units: registrations/s
492 + algorithm: incremental
493 + dimensions:
494 + - selector: machine_learning.model_register_succeeded_total
495 + name: succeeded
496 + - selector: machine_learning.model_register_failed_total
497 + name: failed
498 + - id: am_azure_machine_learning__cluster_cores
499 + title: Azure Machine Learning Cluster Cores
500 + context: cluster_cores
501 + family: Quota
502 + type: stacked
503 + units: cores
504 + algorithm: absolute
505 + dimensions:
506 + - selector: machine_learning.active_cores_average
507 + name: active
508 + - selector: machine_learning.idle_cores_average
509 + name: idle
510 + - selector: machine_learning.leaving_cores_average
511 + name: leaving
512 + - selector: machine_learning.preempted_cores_average
513 + name: preempted
514 + - selector: machine_learning.unusable_cores_average
515 + name: unusable
516 + - id: am_azure_machine_learning__total_cores
517 + title: Azure Machine Learning Total Cores
518 + context: total_cores
519 + family: Quota
520 + type: line
521 + units: cores
522 + algorithm: absolute
523 + dimensions:
524 + - selector: machine_learning.total_cores_average
525 + name: total
526 + - id: am_azure_machine_learning__cluster_nodes
527 + title: Azure Machine Learning Cluster Nodes
528 + context: cluster_nodes
529 + family: Quota
530 + type: stacked
531 + units: nodes
532 + algorithm: absolute
533 + dimensions:
534 + - selector: machine_learning.active_nodes_average
535 + name: active
536 + - selector: machine_learning.idle_nodes_average
537 + name: idle
538 + - selector: machine_learning.leaving_nodes_average
539 + name: leaving
540 + - selector: machine_learning.preempted_nodes_average
541 + name: preempted
542 + - selector: machine_learning.unusable_nodes_average
543 + name: unusable
544 + - id: am_azure_machine_learning__total_nodes
545 + title: Azure Machine Learning Total Nodes
546 + context: total_nodes
547 + family: Quota
548 + type: line
549 + units: nodes
550 + algorithm: absolute
551 + dimensions:
552 + - selector: machine_learning.total_nodes_average
553 + name: total
554 + - id: am_azure_machine_learning__quota_utilization
555 + title: Azure Machine Learning Quota Utilization
556 + context: quota_utilization
557 + family: Quota
558 + type: line
559 + units: percentage
560 + algorithm: absolute
561 + dimensions:
562 + - selector: machine_learning.quota_utilization_percentage_average
563 + name: utilization
564 + - id: am_azure_machine_learning__cpu_utilization
565 + title: Azure Machine Learning CPU Utilization
566 + context: cpu_utilization
567 + family: Compute
568 + type: line
569 + units: percentage
570 + algorithm: absolute
571 + dimensions:
572 + - selector: machine_learning.cpu_utilization_average
573 + name: cluster_cpu
574 + - selector: machine_learning.cpu_utilization_percentage_average
575 + name: node_cpu
576 + - id: am_azure_machine_learning__cpu_millicores
577 + title: Azure Machine Learning CPU Millicores
578 + context: cpu_millicores
579 + family: Compute
580 + type: line
581 + units: millicores
582 + algorithm: absolute
583 + dimensions:
584 + - selector: machine_learning.cpu_utilization_millicores_average
585 + name: used
586 + - selector: machine_learning.cpu_capacity_millicores_average
587 + name: capacity
588 + - id: am_azure_machine_learning__cpu_memory_utilization
589 + title: Azure Machine Learning CPU Memory Utilization
590 + context: cpu_memory_utilization
591 + family: Compute
592 + type: line
593 + units: percentage
594 + algorithm: absolute
595 + dimensions:
596 + - selector: machine_learning.cpu_memory_utilization_percentage_average
597 + name: utilization
598 + - id: am_azure_machine_learning__cpu_memory_megabytes
599 + title: Azure Machine Learning CPU Memory
600 + context: cpu_memory_megabytes
601 + family: Compute
602 + type: line
603 + units: megabytes
604 + algorithm: absolute
605 + dimensions:
606 + - selector: machine_learning.cpu_memory_utilization_megabytes_average
607 + name: used
608 + - selector: machine_learning.cpu_memory_capacity_megabytes_average
609 + name: capacity
610 + - id: am_azure_machine_learning__gpu_utilization
611 + title: Azure Machine Learning GPU Utilization
612 + context: gpu_utilization
613 + family: Compute
614 + type: line
615 + units: percentage
616 + algorithm: absolute
617 + dimensions:
618 + - selector: machine_learning.gpu_utilization_average
619 + name: cluster_gpu
620 + - selector: machine_learning.gpu_utilization_percentage_average
621 + name: node_gpu
622 + - id: am_azure_machine_learning__gpu_milligpus
623 + title: Azure Machine Learning GPU MilliGPUs
624 + context: gpu_milligpus
625 + family: Compute
626 + type: line
627 + units: milliGPUs
628 + algorithm: absolute
629 + dimensions:
630 + - selector: machine_learning.gpu_utilization_milli_gpus_average
631 + name: used
632 + - selector: machine_learning.gpu_capacity_milli_gpus_average
633 + name: capacity
634 + - id: am_azure_machine_learning__gpu_memory_utilization
635 + title: Azure Machine Learning GPU Memory Utilization
636 + context: gpu_memory_utilization
637 + family: Compute
638 + type: line
639 + units: percentage
640 + algorithm: absolute
641 + dimensions:
642 + - selector: machine_learning.gpu_memory_utilization_average
643 + name: cluster_gpu_memory
644 + - selector: machine_learning.gpu_memory_utilization_percentage_average
645 + name: node_gpu_memory
646 + - id: am_azure_machine_learning__gpu_memory_megabytes
647 + title: Azure Machine Learning GPU Memory
648 + context: gpu_memory_megabytes
649 + family: Compute
650 + type: line
651 + units: megabytes
652 + algorithm: absolute
653 + dimensions:
654 + - selector: machine_learning.gpu_memory_utilization_megabytes_average
655 + name: used
656 + - selector: machine_learning.gpu_memory_capacity_megabytes_average
657 + name: capacity
658 + - id: am_azure_machine_learning__gpu_energy
659 + title: Azure Machine Learning GPU Energy
660 + context: gpu_energy
661 + family: Compute
662 + type: line
663 + units: joules/s
664 + algorithm: incremental
665 + dimensions:
666 + - selector: machine_learning.gpu_energy_joules_total
667 + name: energy
668 + - id: am_azure_machine_learning__disk_usage
669 + title: Azure Machine Learning Disk Usage
670 + context: disk_usage
671 + family: Compute
672 + type: line
673 + units: megabytes
674 + algorithm: absolute
675 + dimensions:
676 + - selector: machine_learning.disk_used_megabytes_average
677 + name: used
678 + - selector: machine_learning.disk_avail_megabytes_average
679 + name: available
680 + - id: am_azure_machine_learning__disk_io
681 + title: Azure Machine Learning Disk I/O
682 + context: disk_io
683 + family: Compute
684 + type: line
685 + units: megabytes/s
686 + algorithm: incremental
687 + dimensions:
688 + - selector: machine_learning.disk_read_megabytes_total
689 + name: read
690 + - selector: machine_learning.disk_write_megabytes_total
691 + name: write
692 + - id: am_azure_machine_learning__network_traffic
693 + title: Azure Machine Learning Network Traffic
694 + context: network_traffic
695 + family: Network
696 + type: line
697 + units: megabytes/s
698 + algorithm: incremental
699 + dimensions:
700 + - selector: machine_learning.network_input_megabytes_total
701 + name: in
702 + - selector: machine_learning.network_output_megabytes_total
703 + name: out
704 + - id: am_azure_machine_learning__infiniband_traffic
705 + title: Azure Machine Learning InfiniBand Traffic
706 + context: infiniband_traffic
707 + family: Network
708 + type: line
709 + units: megabytes/s
710 + algorithm: incremental
711 + dimensions:
712 + - selector: machine_learning.ib_receive_megabytes_total
713 + name: receive
714 + - selector: machine_learning.ib_transmit_megabytes_total
715 + name: transmit
716 + - id: am_azure_machine_learning__storage_api_calls
717 + title: Azure Machine Learning Storage API Calls
718 + context: storage_api_calls
719 + family: Compute
720 + type: line
721 + units: calls/s
722 + algorithm: incremental
723 + dimensions:
724 + - selector: machine_learning.storage_api_success_count_total
725 + name: success
726 + - selector: machine_learning.storage_api_failure_count_total
727 + name: failure
728 + - id: am_azure_machine_learning__run_lifecycle
729 + title: Azure Machine Learning Run Lifecycle
730 + context: run_lifecycle
731 + family: Runs
732 + type: line
733 + units: runs/s
734 + algorithm: incremental
735 + dimensions:
736 + - selector: machine_learning.not_started_runs_total
737 + name: not_started
738 + - selector: machine_learning.starting_runs_total
739 + name: starting
740 + - selector: machine_learning.preparing_runs_total
741 + name: preparing
742 + - selector: machine_learning.provisioning_runs_total
743 + name: provisioning
744 + - selector: machine_learning.queued_runs_total
745 + name: queued
746 + - selector: machine_learning.started_runs_total
747 + name: started
748 + - id: am_azure_machine_learning__run_completion
749 + title: Azure Machine Learning Run Completion
750 + context: run_completion
751 + family: Runs
752 + type: line
753 + units: runs/s
754 + algorithm: incremental
755 + dimensions:
756 + - selector: machine_learning.completed_runs_total
757 + name: completed
758 + - selector: machine_learning.failed_runs_total
759 + name: failed
760 + - selector: machine_learning.finalizing_runs_total
761 + name: finalizing
762 + - selector: machine_learning.cancelled_runs_total
763 + name: cancelled
764 + - selector: machine_learning.cancel_requested_runs_total
765 + name: cancel_requested
766 + - selector: machine_learning.not_responding_runs_total
767 + name: not_responding
768 + - id: am_azure_machine_learning__run_issues
769 + title: Azure Machine Learning Run Issues
770 + context: run_issues
771 + family: Runs
772 + type: line
773 + units: events/s
774 + algorithm: incremental
775 + dimensions:
776 + - selector: machine_learning.errors_total
777 + name: errors
778 + - selector: machine_learning.warnings_total
779 + name: warnings
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/mysql_flexible.yaml new
+723
@@ -0,0 +1,723 @@
1 +---
2 +id: mysql_flexible
3 +name: Azure MySQL Flexible Server
4 +resource_type: Microsoft.DBforMySQL/flexibleServers
5 +metrics:
6 +- id: ha_io_status
7 + azure_name: HA_IO_status
8 + time_grain: PT1M
9 + series:
10 + - aggregation: maximum
11 + kind: gauge
12 +- id: ha_sql_status
13 + azure_name: HA_SQL_status
14 + time_grain: PT1M
15 + series:
16 + - aggregation: maximum
17 + kind: gauge
18 +- id: replica_io_running
19 + azure_name: Replica_IO_Running
20 + time_grain: PT1M
21 + series:
22 + - aggregation: maximum
23 + kind: gauge
24 +- id: replica_sql_running
25 + azure_name: Replica_SQL_Running
26 + time_grain: PT1M
27 + series:
28 + - aggregation: maximum
29 + kind: gauge
30 +- id: aborted_connections
31 + azure_name: aborted_connections
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: counter
36 +- id: ha_replication_lag
37 + azure_name: HA_replication_lag
38 + time_grain: PT1M
39 + series:
40 + - aggregation: average
41 + kind: gauge
42 +- id: innodb_row_lock_time
43 + azure_name: Innodb_row_lock_time
44 + time_grain: PT1M
45 + series:
46 + - aggregation: average
47 + kind: gauge
48 +- id: innodb_row_lock_waits
49 + azure_name: Innodb_row_lock_waits
50 + time_grain: PT1M
51 + series:
52 + - aggregation: total
53 + kind: counter
54 +- id: replication_lag
55 + azure_name: replication_lag
56 + time_grain: PT1M
57 + series:
58 + - aggregation: average
59 + kind: gauge
60 +- id: uptime
61 + azure_name: Uptime
62 + time_grain: PT1M
63 + series:
64 + - aggregation: maximum
65 + kind: gauge
66 +- id: cpu_percent
67 + azure_name: cpu_percent
68 + time_grain: PT1M
69 + series:
70 + - aggregation: average
71 + kind: gauge
72 +- id: memory_percent
73 + azure_name: memory_percent
74 + time_grain: PT1M
75 + series:
76 + - aggregation: average
77 + kind: gauge
78 +- id: io_consumption_percent
79 + azure_name: io_consumption_percent
80 + time_grain: PT1M
81 + series:
82 + - aggregation: average
83 + kind: gauge
84 +- id: cpu_credits_consumed
85 + azure_name: cpu_credits_consumed
86 + time_grain: PT15M
87 + series:
88 + - aggregation: average
89 + kind: gauge
90 +- id: cpu_credits_remaining
91 + azure_name: cpu_credits_remaining
92 + time_grain: PT15M
93 + series:
94 + - aggregation: average
95 + kind: gauge
96 +- id: storage_used
97 + azure_name: storage_used
98 + time_grain: PT1M
99 + series:
100 + - aggregation: average
101 + kind: gauge
102 +- id: storage_limit
103 + azure_name: storage_limit
104 + time_grain: PT1M
105 + series:
106 + - aggregation: maximum
107 + kind: gauge
108 +- id: storage_percent
109 + azure_name: storage_percent
110 + time_grain: PT1M
111 + series:
112 + - aggregation: average
113 + kind: gauge
114 +- id: data_storage_used
115 + azure_name: data_storage_used
116 + time_grain: PT1M
117 + series:
118 + - aggregation: average
119 + kind: gauge
120 +- id: ibdata1_storage_used
121 + azure_name: ibdata1_storage_used
122 + time_grain: PT1M
123 + series:
124 + - aggregation: average
125 + kind: gauge
126 +- id: binlog_storage_used
127 + azure_name: binlog_storage_used
128 + time_grain: PT1M
129 + series:
130 + - aggregation: average
131 + kind: gauge
132 +- id: others_storage_used
133 + azure_name: others_storage_used
134 + time_grain: PT1M
135 + series:
136 + - aggregation: average
137 + kind: gauge
138 +- id: backup_storage_used
139 + azure_name: backup_storage_used
140 + time_grain: PT15M
141 + series:
142 + - aggregation: average
143 + kind: gauge
144 +- id: serverlog_storage_usage
145 + azure_name: serverlog_storage_usage
146 + time_grain: PT1M
147 + series:
148 + - aggregation: average
149 + kind: gauge
150 +- id: serverlog_storage_limit
151 + azure_name: serverlog_storage_limit
152 + time_grain: PT1M
153 + series:
154 + - aggregation: maximum
155 + kind: gauge
156 +- id: serverlog_storage_percent
157 + azure_name: serverlog_storage_percent
158 + time_grain: PT1M
159 + series:
160 + - aggregation: average
161 + kind: gauge
162 +- id: innodb_buffer_pool_pages_data
163 + azure_name: Innodb_buffer_pool_pages_data
164 + time_grain: PT1M
165 + series:
166 + - aggregation: maximum
167 + kind: gauge
168 +- id: innodb_buffer_pool_pages_dirty
169 + azure_name: Innodb_buffer_pool_pages_dirty
170 + time_grain: PT1M
171 + series:
172 + - aggregation: maximum
173 + kind: gauge
174 +- id: innodb_buffer_pool_pages_free
175 + azure_name: Innodb_buffer_pool_pages_free
176 + time_grain: PT1M
177 + series:
178 + - aggregation: maximum
179 + kind: gauge
180 +- id: innodb_buffer_pool_read_requests
181 + azure_name: Innodb_buffer_pool_read_requests
182 + time_grain: PT1M
183 + series:
184 + - aggregation: total
185 + kind: counter
186 +- id: innodb_buffer_pool_reads
187 + azure_name: Innodb_buffer_pool_reads
188 + time_grain: PT1M
189 + series:
190 + - aggregation: total
191 + kind: counter
192 +- id: sort_merge_passes
193 + azure_name: Sort_merge_passes
194 + time_grain: PT1M
195 + series:
196 + - aggregation: total
197 + kind: counter
198 +- id: threads_running
199 + azure_name: Threads_running
200 + time_grain: PT1M
201 + series:
202 + - aggregation: maximum
203 + kind: gauge
204 +- id: active_connections
205 + azure_name: active_connections
206 + time_grain: PT1M
207 + series:
208 + - aggregation: average
209 + kind: gauge
210 +- id: total_connections
211 + azure_name: total_connections
212 + time_grain: PT1M
213 + series:
214 + - aggregation: total
215 + kind: counter
216 +- id: active_transactions
217 + azure_name: active_transactions
218 + time_grain: PT1M
219 + series:
220 + - aggregation: average
221 + kind: gauge
222 +- id: queries
223 + azure_name: Queries
224 + time_grain: PT1M
225 + series:
226 + - aggregation: total
227 + kind: counter
228 +- id: slow_queries
229 + azure_name: Slow_queries
230 + time_grain: PT1M
231 + series:
232 + - aggregation: total
233 + kind: counter
234 +- id: com_select
235 + azure_name: Com_select
236 + time_grain: PT1M
237 + series:
238 + - aggregation: total
239 + kind: counter
240 +- id: com_insert
241 + azure_name: Com_insert
242 + time_grain: PT1M
243 + series:
244 + - aggregation: total
245 + kind: counter
246 +- id: com_update
247 + azure_name: Com_update
248 + time_grain: PT1M
249 + series:
250 + - aggregation: total
251 + kind: counter
252 +- id: com_delete
253 + azure_name: Com_delete
254 + time_grain: PT1M
255 + series:
256 + - aggregation: total
257 + kind: counter
258 +- id: com_create_table
259 + azure_name: Com_create_table
260 + time_grain: PT1M
261 + series:
262 + - aggregation: total
263 + kind: counter
264 +- id: com_alter_table
265 + azure_name: Com_alter_table
266 + time_grain: PT1M
267 + series:
268 + - aggregation: total
269 + kind: counter
270 +- id: com_drop_table
271 + azure_name: Com_drop_table
272 + time_grain: PT1M
273 + series:
274 + - aggregation: total
275 + kind: counter
276 +- id: com_create_db
277 + azure_name: Com_create_db
278 + time_grain: PT1M
279 + series:
280 + - aggregation: total
281 + kind: counter
282 +- id: com_drop_db
283 + azure_name: Com_drop_db
284 + time_grain: PT1M
285 + series:
286 + - aggregation: total
287 + kind: counter
288 +- id: innodb_buffer_pool_pages_flushed
289 + azure_name: Innodb_buffer_pool_pages_flushed
290 + time_grain: PT1M
291 + series:
292 + - aggregation: average
293 + kind: gauge
294 +- id: innodb_data_writes
295 + azure_name: Innodb_data_writes
296 + time_grain: PT1M
297 + series:
298 + - aggregation: total
299 + kind: counter
300 +- id: lock_deadlocks
301 + azure_name: lock_deadlocks
302 + time_grain: PT1M
303 + series:
304 + - aggregation: total
305 + kind: counter
306 +- id: lock_timeouts
307 + azure_name: lock_timeouts
308 + time_grain: PT1M
309 + series:
310 + - aggregation: total
311 + kind: counter
312 +- id: network_bytes_ingress
313 + azure_name: network_bytes_ingress
314 + time_grain: PT1M
315 + series:
316 + - aggregation: total
317 + kind: counter
318 +- id: network_bytes_egress
319 + azure_name: network_bytes_egress
320 + time_grain: PT1M
321 + series:
322 + - aggregation: total
323 + kind: counter
324 +- id: storage_io_count
325 + azure_name: storage_io_count
326 + time_grain: PT1M
327 + series:
328 + - aggregation: total
329 + kind: counter
330 +- id: trx_rseg_history_len
331 + azure_name: trx_rseg_history_len
332 + time_grain: PT1M
333 + series:
334 + - aggregation: maximum
335 + kind: gauge
336 +template:
337 + family: Azure MySQL Flexible Server
338 + context_namespace: mysql_flexible
339 + chart_defaults:
340 + label_promotion:
341 + - resource_name
342 + - resource_group
343 + - region
344 + - resource_type
345 + - profile
346 + instances:
347 + by_labels:
348 + - resource_uid
349 + charts:
350 + - id: am_azure_mysql_flexible__cpu
351 + title: Azure MySQL Flexible Server CPU Utilization
352 + context: cpu
353 + family: Utilization
354 + type: line
355 + units: percentage
356 + algorithm: absolute
357 + dimensions:
358 + - selector: mysql_flexible.cpu_percent_average
359 + name: average
360 + - id: am_azure_mysql_flexible__memory
361 + title: Azure MySQL Flexible Server Memory Utilization
362 + context: memory
363 + family: Utilization
364 + type: line
365 + units: percentage
366 + algorithm: absolute
367 + dimensions:
368 + - selector: mysql_flexible.memory_percent_average
369 + name: average
370 + - id: am_azure_mysql_flexible__io_utilization
371 + title: Azure MySQL Flexible Server Storage I/O Utilization
372 + context: io_utilization
373 + family: Utilization
374 + type: line
375 + units: percentage
376 + algorithm: absolute
377 + dimensions:
378 + - selector: mysql_flexible.io_consumption_percent_average
379 + name: average
380 + - id: am_azure_mysql_flexible__cpu_credits
381 + title: Azure MySQL Flexible Server CPU Credits
382 + context: cpu_credits
383 + family: Utilization
384 + type: line
385 + units: credits
386 + algorithm: absolute
387 + dimensions:
388 + - selector: mysql_flexible.cpu_credits_consumed_average
389 + name: consumed
390 + - selector: mysql_flexible.cpu_credits_remaining_average
391 + name: remaining
392 + - id: am_azure_mysql_flexible__ha_status
393 + title: Azure MySQL Flexible Server HA Replication Status
394 + context: ha_status
395 + family: Availability
396 + type: line
397 + units: status
398 + algorithm: absolute
399 + dimensions:
400 + - selector: mysql_flexible.ha_io_status_maximum
401 + name: io
402 + - selector: mysql_flexible.ha_sql_status_maximum
403 + name: sql
404 + - id: am_azure_mysql_flexible__replica_status
405 + title: Azure MySQL Flexible Server Replica Status
406 + context: replica_status
407 + family: Availability
408 + type: line
409 + units: status
410 + algorithm: absolute
411 + dimensions:
412 + - selector: mysql_flexible.replica_io_running_maximum
413 + name: io
414 + - selector: mysql_flexible.replica_sql_running_maximum
415 + name: sql
416 + - id: am_azure_mysql_flexible__uptime
417 + title: Azure MySQL Flexible Server Uptime
418 + context: uptime
419 + family: Availability
420 + type: line
421 + units: seconds
422 + algorithm: absolute
423 + dimensions:
424 + - selector: mysql_flexible.uptime_maximum
425 + name: uptime
426 + - id: am_azure_mysql_flexible__replication_lag
427 + title: Azure MySQL Flexible Server Replication Lag
428 + context: replication_lag
429 + family: Replication
430 + type: line
431 + units: seconds
432 + algorithm: absolute
433 + dimensions:
434 + - selector: mysql_flexible.replication_lag_average
435 + name: replica
436 + - selector: mysql_flexible.ha_replication_lag_average
437 + name: ha
438 + - id: am_azure_mysql_flexible__innodb_row_lock_time
439 + title: Azure MySQL Flexible Server InnoDB Row Lock Time
440 + context: innodb_row_lock_time
441 + family: Contention
442 + type: line
443 + units: milliseconds
444 + algorithm: absolute
445 + dimensions:
446 + - selector: mysql_flexible.innodb_row_lock_time_average
447 + name: average
448 + - id: am_azure_mysql_flexible__innodb_row_lock_waits
449 + title: Azure MySQL Flexible Server InnoDB Row Lock Waits
450 + context: innodb_row_lock_waits
451 + family: Contention
452 + type: line
453 + units: waits/s
454 + algorithm: incremental
455 + dimensions:
456 + - selector: mysql_flexible.innodb_row_lock_waits_total
457 + name: total
458 + - id: am_azure_mysql_flexible__aborted_connections
459 + title: Azure MySQL Flexible Server Aborted Connections
460 + context: aborted_connections
461 + family: Errors
462 + type: line
463 + units: connections/s
464 + algorithm: incremental
465 + dimensions:
466 + - selector: mysql_flexible.aborted_connections_total
467 + name: total
468 + - id: am_azure_mysql_flexible__active_connections
469 + title: Azure MySQL Flexible Server Active Connections
470 + context: active_connections
471 + family: Connections
472 + type: line
473 + units: connections
474 + algorithm: absolute
475 + dimensions:
476 + - selector: mysql_flexible.active_connections_average
477 + name: average
478 + - id: am_azure_mysql_flexible__total_connections
479 + title: Azure MySQL Flexible Server Total Connections
480 + context: total_connections
481 + family: Connections
482 + type: line
483 + units: connections/s
484 + algorithm: incremental
485 + dimensions:
486 + - selector: mysql_flexible.total_connections_total
487 + name: total
488 + - id: am_azure_mysql_flexible__active_transactions
489 + title: Azure MySQL Flexible Server Active Transactions
490 + context: active_transactions
491 + family: Connections
492 + type: line
493 + units: transactions
494 + algorithm: absolute
495 + dimensions:
496 + - selector: mysql_flexible.active_transactions_average
497 + name: average
498 + - id: am_azure_mysql_flexible__threads_running
499 + title: Azure MySQL Flexible Server Threads Running
500 + context: threads_running
501 + family: Connections
502 + type: line
503 + units: threads
504 + algorithm: absolute
505 + dimensions:
506 + - selector: mysql_flexible.threads_running_maximum
507 + name: maximum
508 + - id: am_azure_mysql_flexible__queries
509 + title: Azure MySQL Flexible Server Queries
510 + context: queries
511 + family: Throughput
512 + type: line
513 + units: queries/s
514 + algorithm: incremental
515 + dimensions:
516 + - selector: mysql_flexible.queries_total
517 + name: total
518 + - selector: mysql_flexible.slow_queries_total
519 + name: slow
520 + - id: am_azure_mysql_flexible__dml_statements
521 + title: Azure MySQL Flexible Server DML Statements
522 + context: dml_statements
523 + family: Throughput
524 + type: line
525 + units: statements/s
526 + algorithm: incremental
527 + dimensions:
528 + - selector: mysql_flexible.com_select_total
529 + name: select
530 + - selector: mysql_flexible.com_insert_total
531 + name: insert
532 + - selector: mysql_flexible.com_update_total
533 + name: update
534 + - selector: mysql_flexible.com_delete_total
535 + name: delete
536 + - id: am_azure_mysql_flexible__ddl_statements
537 + title: Azure MySQL Flexible Server DDL Statements
538 + context: ddl_statements
539 + family: Throughput
540 + type: line
541 + units: statements/s
542 + algorithm: incremental
543 + dimensions:
544 + - selector: mysql_flexible.com_create_table_total
545 + name: create_table
546 + - selector: mysql_flexible.com_alter_table_total
547 + name: alter_table
548 + - selector: mysql_flexible.com_drop_table_total
549 + name: drop_table
550 + - selector: mysql_flexible.com_create_db_total
551 + name: create_db
552 + - selector: mysql_flexible.com_drop_db_total
553 + name: drop_db
554 + - id: am_azure_mysql_flexible__lock_deadlocks
555 + title: Azure MySQL Flexible Server Deadlocks
556 + context: lock_deadlocks
557 + family: Contention
558 + type: line
559 + units: deadlocks/s
560 + algorithm: incremental
561 + dimensions:
562 + - selector: mysql_flexible.lock_deadlocks_total
563 + name: total
564 + - id: am_azure_mysql_flexible__lock_timeouts
565 + title: Azure MySQL Flexible Server Lock Timeouts
566 + context: lock_timeouts
567 + family: Contention
568 + type: line
569 + units: timeouts/s
570 + algorithm: incremental
571 + dimensions:
572 + - selector: mysql_flexible.lock_timeouts_total
573 + name: total
574 + - id: am_azure_mysql_flexible__innodb_buffer_pool_pages
575 + title: Azure MySQL Flexible Server InnoDB Buffer Pool Pages
576 + context: innodb_buffer_pool_pages
577 + family: InnoDB
578 + type: line
579 + units: pages
580 + algorithm: absolute
581 + dimensions:
582 + - selector: mysql_flexible.innodb_buffer_pool_pages_data_maximum
583 + name: data
584 + - selector: mysql_flexible.innodb_buffer_pool_pages_dirty_maximum
585 + name: dirty
586 + - selector: mysql_flexible.innodb_buffer_pool_pages_free_maximum
587 + name: free
588 + - selector: mysql_flexible.innodb_buffer_pool_pages_flushed_average
589 + name: flushed
590 + - id: am_azure_mysql_flexible__innodb_buffer_pool_io
591 + title: Azure MySQL Flexible Server InnoDB Buffer Pool I/O
592 + context: innodb_buffer_pool_io
593 + family: InnoDB
594 + type: line
595 + units: requests/s
596 + algorithm: incremental
597 + dimensions:
598 + - selector: mysql_flexible.innodb_buffer_pool_read_requests_total
599 + name: read_requests
600 + - selector: mysql_flexible.innodb_buffer_pool_reads_total
601 + name: disk_reads
602 + - id: am_azure_mysql_flexible__innodb_data_writes
603 + title: Azure MySQL Flexible Server InnoDB Data Writes
604 + context: innodb_data_writes
605 + family: InnoDB
606 + type: line
607 + units: writes/s
608 + algorithm: incremental
609 + dimensions:
610 + - selector: mysql_flexible.innodb_data_writes_total
611 + name: total
612 + - id: am_azure_mysql_flexible__sort_merge_passes
613 + title: Azure MySQL Flexible Server Sort Merge Passes
614 + context: sort_merge_passes
615 + family: Performance
616 + type: line
617 + units: passes/s
618 + algorithm: incremental
619 + dimensions:
620 + - selector: mysql_flexible.sort_merge_passes_total
621 + name: total
622 + - id: am_azure_mysql_flexible__network
623 + title: Azure MySQL Flexible Server Network Traffic
624 + context: network
625 + family: Network
626 + type: line
627 + units: bytes/s
628 + algorithm: incremental
629 + dimensions:
630 + - selector: mysql_flexible.network_bytes_ingress_total
631 + name: in
632 + - selector: mysql_flexible.network_bytes_egress_total
633 + name: out
634 + - id: am_azure_mysql_flexible__storage_io
635 + title: Azure MySQL Flexible Server Storage I/O
636 + context: storage_io
637 + family: I/O
638 + type: line
639 + units: operations/s
640 + algorithm: incremental
641 + dimensions:
642 + - selector: mysql_flexible.storage_io_count_total
643 + name: total
644 + - id: am_azure_mysql_flexible__storage
645 + title: Azure MySQL Flexible Server Storage
646 + context: storage
647 + family: Capacity
648 + type: line
649 + units: bytes
650 + algorithm: absolute
651 + dimensions:
652 + - selector: mysql_flexible.storage_used_average
653 + name: used
654 + - selector: mysql_flexible.storage_limit_maximum
655 + name: limit
656 + - id: am_azure_mysql_flexible__storage_utilization
657 + title: Azure MySQL Flexible Server Storage Utilization
658 + context: storage_utilization
659 + family: Capacity
660 + type: line
661 + units: percentage
662 + algorithm: absolute
663 + dimensions:
664 + - selector: mysql_flexible.storage_percent_average
665 + name: average
666 + - id: am_azure_mysql_flexible__storage_breakdown
667 + title: Azure MySQL Flexible Server Storage Breakdown
668 + context: storage_breakdown
669 + family: Capacity
670 + type: line
671 + units: bytes
672 + algorithm: absolute
673 + dimensions:
674 + - selector: mysql_flexible.data_storage_used_average
675 + name: data
676 + - selector: mysql_flexible.ibdata1_storage_used_average
677 + name: ibdata1
678 + - selector: mysql_flexible.binlog_storage_used_average
679 + name: binlog
680 + - selector: mysql_flexible.others_storage_used_average
681 + name: others
682 + - id: am_azure_mysql_flexible__backup_storage
683 + title: Azure MySQL Flexible Server Backup Storage
684 + context: backup_storage
685 + family: Capacity
686 + type: line
687 + units: bytes
688 + algorithm: absolute
689 + dimensions:
690 + - selector: mysql_flexible.backup_storage_used_average
691 + name: used
692 + - id: am_azure_mysql_flexible__serverlog_storage
693 + title: Azure MySQL Flexible Server Server Log Storage
694 + context: serverlog_storage
695 + family: Capacity
696 + type: line
697 + units: bytes
698 + algorithm: absolute
699 + dimensions:
700 + - selector: mysql_flexible.serverlog_storage_usage_average
701 + name: used
702 + - selector: mysql_flexible.serverlog_storage_limit_maximum
703 + name: limit
704 + - id: am_azure_mysql_flexible__serverlog_storage_utilization
705 + title: Azure MySQL Flexible Server Server Log Storage Utilization
706 + context: serverlog_storage_utilization
707 + family: Capacity
708 + type: line
709 + units: percentage
710 + algorithm: absolute
711 + dimensions:
712 + - selector: mysql_flexible.serverlog_storage_percent_average
713 + name: average
714 + - id: am_azure_mysql_flexible__history_list_length
715 + title: Azure MySQL Flexible Server History List Length
716 + context: history_list_length
717 + family: InnoDB
718 + type: line
719 + units: entries
720 + algorithm: absolute
721 + dimensions:
722 + - selector: mysql_flexible.trx_rseg_history_len_maximum
723 + name: maximum
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/nat_gateway.yaml new
+115
@@ -0,0 +1,115 @@
1 +---
2 +id: nat_gateway
3 +name: Azure NAT Gateway
4 +resource_type: Microsoft.Network/natGateways
5 +metrics:
6 +- id: datapath_availability
7 + azure_name: DatapathAvailability
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: byte_count
13 + azure_name: ByteCount
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: packet_count
19 + azure_name: PacketCount
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: counter
24 +- id: packet_drop_count
25 + azure_name: PacketDropCount
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: snat_connection_count
31 + azure_name: SNATConnectionCount
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: gauge
36 +- id: total_connection_count
37 + azure_name: TotalConnectionCount
38 + time_grain: PT1M
39 + series:
40 + - aggregation: total
41 + kind: gauge
42 +template:
43 + family: Azure NAT Gateway
44 + context_namespace: nat_gateway
45 + chart_defaults:
46 + label_promotion:
47 + - resource_name
48 + - resource_group
49 + - region
50 + - resource_type
51 + - profile
52 + instances:
53 + by_labels:
54 + - resource_uid
55 + charts:
56 + - id: am_azure_nat_gateway__datapath_availability
57 + title: Azure NAT Gateway Datapath Availability
58 + context: datapath_availability
59 + family: Availability
60 + type: line
61 + units: percentage
62 + algorithm: absolute
63 + dimensions:
64 + - selector: nat_gateway.datapath_availability_average
65 + name: average
66 + - id: am_azure_nat_gateway__byte_throughput
67 + title: Azure NAT Gateway Byte Throughput
68 + context: byte_throughput
69 + family: Throughput
70 + type: line
71 + units: bytes/s
72 + algorithm: incremental
73 + dimensions:
74 + - selector: nat_gateway.byte_count_total
75 + name: total
76 + - id: am_azure_nat_gateway__packet_throughput
77 + title: Azure NAT Gateway Packet Throughput
78 + context: packet_throughput
79 + family: Throughput
80 + type: line
81 + units: packets/s
82 + algorithm: incremental
83 + dimensions:
84 + - selector: nat_gateway.packet_count_total
85 + name: total
86 + - id: am_azure_nat_gateway__dropped_packets
87 + title: Azure NAT Gateway Dropped Packets
88 + context: dropped_packets
89 + family: Errors
90 + type: line
91 + units: packets/s
92 + algorithm: incremental
93 + dimensions:
94 + - selector: nat_gateway.packet_drop_count_total
95 + name: total
96 + - id: am_azure_nat_gateway__snat_connections
97 + title: Azure NAT Gateway SNAT Connections
98 + context: snat_connections
99 + family: Connections
100 + type: line
101 + units: connections
102 + algorithm: absolute
103 + dimensions:
104 + - selector: nat_gateway.snat_connection_count_total
105 + name: total
106 + - id: am_azure_nat_gateway__total_connections
107 + title: Azure NAT Gateway Total SNAT Connections
108 + context: total_connections
109 + family: Connections
110 + type: line
111 + units: connections
112 + algorithm: absolute
113 + dimensions:
114 + - selector: nat_gateway.total_connection_count_total
115 + name: total
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/postgres_flexible.yaml new
+931
@@ -0,0 +1,931 @@
1 +---
2 +id: postgres_flexible
3 +name: Azure PostgreSQL Flexible Server
4 +resource_type: Microsoft.DBforPostgreSQL/flexibleServers
5 +metrics:
6 +- id: cpu_percent
7 + azure_name: cpu_percent
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: memory_percent
13 + azure_name: memory_percent
14 + time_grain: PT1M
15 + series:
16 + - aggregation: average
17 + kind: gauge
18 +- id: is_db_alive
19 + azure_name: is_db_alive
20 + time_grain: PT1M
21 + series:
22 + - aggregation: maximum
23 + kind: gauge
24 +- id: iops
25 + azure_name: iops
26 + time_grain: PT1M
27 + series:
28 + - aggregation: average
29 + kind: gauge
30 +- id: read_iops
31 + azure_name: read_iops
32 + time_grain: PT1M
33 + series:
34 + - aggregation: average
35 + kind: gauge
36 +- id: write_iops
37 + azure_name: write_iops
38 + time_grain: PT1M
39 + series:
40 + - aggregation: average
41 + kind: gauge
42 +- id: read_throughput
43 + azure_name: read_throughput
44 + time_grain: PT1M
45 + series:
46 + - aggregation: average
47 + kind: gauge
48 +- id: write_throughput
49 + azure_name: write_throughput
50 + time_grain: PT1M
51 + series:
52 + - aggregation: average
53 + kind: gauge
54 +- id: disk_bandwidth_consumed_percentage
55 + azure_name: disk_bandwidth_consumed_percentage
56 + time_grain: PT1M
57 + series:
58 + - aggregation: average
59 + kind: gauge
60 +- id: disk_iops_consumed_percentage
61 + azure_name: disk_iops_consumed_percentage
62 + time_grain: PT1M
63 + series:
64 + - aggregation: average
65 + kind: gauge
66 +- id: disk_queue_depth
67 + azure_name: disk_queue_depth
68 + time_grain: PT1M
69 + series:
70 + - aggregation: average
71 + kind: gauge
72 +- id: blks_hit
73 + azure_name: blks_hit
74 + time_grain: PT1M
75 + series:
76 + - aggregation: total
77 + kind: counter
78 +- id: blks_read
79 + azure_name: blks_read
80 + time_grain: PT1M
81 + series:
82 + - aggregation: total
83 + kind: counter
84 +- id: active_connections
85 + azure_name: active_connections
86 + time_grain: PT1M
87 + series:
88 + - aggregation: average
89 + kind: gauge
90 +- id: connections_succeeded
91 + azure_name: connections_succeeded
92 + time_grain: PT1M
93 + series:
94 + - aggregation: total
95 + kind: counter
96 +- id: connections_failed
97 + azure_name: connections_failed
98 + time_grain: PT1M
99 + series:
100 + - aggregation: total
101 + kind: counter
102 +- id: tps
103 + azure_name: tps
104 + time_grain: PT1M
105 + series:
106 + - aggregation: total
107 + kind: counter
108 +- id: xact_commit
109 + azure_name: xact_commit
110 + time_grain: PT1M
111 + series:
112 + - aggregation: total
113 + kind: counter
114 +- id: xact_rollback
115 + azure_name: xact_rollback
116 + time_grain: PT1M
117 + series:
118 + - aggregation: total
119 + kind: counter
120 +- id: deadlocks
121 + azure_name: deadlocks
122 + time_grain: PT1M
123 + series:
124 + - aggregation: total
125 + kind: counter
126 +- id: tup_returned
127 + azure_name: tup_returned
128 + time_grain: PT1M
129 + series:
130 + - aggregation: total
131 + kind: counter
132 +- id: tup_fetched
133 + azure_name: tup_fetched
134 + time_grain: PT1M
135 + series:
136 + - aggregation: total
137 + kind: counter
138 +- id: tup_inserted
139 + azure_name: tup_inserted
140 + time_grain: PT1M
141 + series:
142 + - aggregation: total
143 + kind: counter
144 +- id: tup_updated
145 + azure_name: tup_updated
146 + time_grain: PT1M
147 + series:
148 + - aggregation: total
149 + kind: counter
150 +- id: tup_deleted
151 + azure_name: tup_deleted
152 + time_grain: PT1M
153 + series:
154 + - aggregation: total
155 + kind: counter
156 +- id: temp_files
157 + azure_name: temp_files
158 + time_grain: PT1M
159 + series:
160 + - aggregation: total
161 + kind: counter
162 +- id: temp_bytes
163 + azure_name: temp_bytes
164 + time_grain: PT1M
165 + series:
166 + - aggregation: total
167 + kind: counter
168 +- id: longest_query_time_sec
169 + azure_name: longest_query_time_sec
170 + time_grain: PT1M
171 + series:
172 + - aggregation: maximum
173 + kind: gauge
174 +- id: longest_transaction_time_sec
175 + azure_name: longest_transaction_time_sec
176 + time_grain: PT1M
177 + series:
178 + - aggregation: maximum
179 + kind: gauge
180 +- id: maximum_used_transaction_ids
181 + azure_name: maximum_used_transactionIDs
182 + time_grain: PT1M
183 + series:
184 + - aggregation: average
185 + kind: gauge
186 +- id: oldest_backend_xmin_age
187 + azure_name: oldest_backend_xmin_age
188 + time_grain: PT1M
189 + series:
190 + - aggregation: maximum
191 + kind: gauge
192 +- id: network_bytes_egress
193 + azure_name: network_bytes_egress
194 + time_grain: PT1M
195 + series:
196 + - aggregation: total
197 + kind: counter
198 +- id: network_bytes_ingress
199 + azure_name: network_bytes_ingress
200 + time_grain: PT1M
201 + series:
202 + - aggregation: total
203 + kind: counter
204 +- id: storage_used
205 + azure_name: storage_used
206 + time_grain: PT1M
207 + series:
208 + - aggregation: average
209 + kind: gauge
210 +- id: storage_free
211 + azure_name: storage_free
212 + time_grain: PT1M
213 + series:
214 + - aggregation: average
215 + kind: gauge
216 +- id: storage_percent
217 + azure_name: storage_percent
218 + time_grain: PT1M
219 + series:
220 + - aggregation: average
221 + kind: gauge
222 +- id: txlogs_storage_used
223 + azure_name: txlogs_storage_used
224 + time_grain: PT1M
225 + series:
226 + - aggregation: average
227 + kind: gauge
228 +- id: database_size_bytes
229 + azure_name: database_size_bytes
230 + time_grain: PT30M
231 + series:
232 + - aggregation: average
233 + kind: gauge
234 +- id: backup_storage_used
235 + azure_name: backup_storage_used
236 + time_grain: PT1M
237 + series:
238 + - aggregation: average
239 + kind: gauge
240 +- id: oldest_backend_xmin
241 + azure_name: oldest_backend_xmin
242 + time_grain: PT1M
243 + series:
244 + - aggregation: maximum
245 + kind: gauge
246 +- id: sessions_by_state
247 + azure_name: sessions_by_state
248 + time_grain: PT1M
249 + series:
250 + - aggregation: maximum
251 + kind: gauge
252 +- id: sessions_by_wait_event_type
253 + azure_name: sessions_by_wait_event_type
254 + time_grain: PT1M
255 + series:
256 + - aggregation: maximum
257 + kind: gauge
258 +- id: analyze_count_user_tables
259 + azure_name: analyze_count_user_tables
260 + time_grain: PT30M
261 + series:
262 + - aggregation: maximum
263 + kind: gauge
264 +- id: autoanalyze_count_user_tables
265 + azure_name: autoanalyze_count_user_tables
266 + time_grain: PT30M
267 + series:
268 + - aggregation: maximum
269 + kind: gauge
270 +- id: autovacuum_count_user_tables
271 + azure_name: autovacuum_count_user_tables
272 + time_grain: PT30M
273 + series:
274 + - aggregation: maximum
275 + kind: gauge
276 +- id: bloat_percent
277 + azure_name: bloat_percent
278 + time_grain: PT30M
279 + series:
280 + - aggregation: maximum
281 + kind: gauge
282 +- id: n_dead_tup_user_tables
283 + azure_name: n_dead_tup_user_tables
284 + time_grain: PT30M
285 + series:
286 + - aggregation: maximum
287 + kind: gauge
288 +- id: n_live_tup_user_tables
289 + azure_name: n_live_tup_user_tables
290 + time_grain: PT30M
291 + series:
292 + - aggregation: maximum
293 + kind: gauge
294 +- id: n_mod_since_analyze_user_tables
295 + azure_name: n_mod_since_analyze_user_tables
296 + time_grain: PT30M
297 + series:
298 + - aggregation: maximum
299 + kind: gauge
300 +- id: tables_analyzed_user_tables
301 + azure_name: tables_analyzed_user_tables
302 + time_grain: PT30M
303 + series:
304 + - aggregation: maximum
305 + kind: gauge
306 +- id: tables_autoanalyzed_user_tables
307 + azure_name: tables_autoanalyzed_user_tables
308 + time_grain: PT30M
309 + series:
310 + - aggregation: maximum
311 + kind: gauge
312 +- id: tables_autovacuumed_user_tables
313 + azure_name: tables_autovacuumed_user_tables
314 + time_grain: PT30M
315 + series:
316 + - aggregation: maximum
317 + kind: gauge
318 +- id: tables_counter_user_tables
319 + azure_name: tables_counter_user_tables
320 + time_grain: PT30M
321 + series:
322 + - aggregation: maximum
323 + kind: gauge
324 +- id: tables_vacuumed_user_tables
325 + azure_name: tables_vacuumed_user_tables
326 + time_grain: PT30M
327 + series:
328 + - aggregation: maximum
329 + kind: gauge
330 +- id: vacuum_count_user_tables
331 + azure_name: vacuum_count_user_tables
332 + time_grain: PT30M
333 + series:
334 + - aggregation: maximum
335 + kind: gauge
336 +- id: numbackends
337 + azure_name: numbackends
338 + time_grain: PT1M
339 + series:
340 + - aggregation: maximum
341 + kind: gauge
342 +- id: xact_total
343 + azure_name: xact_total
344 + time_grain: PT1M
345 + series:
346 + - aggregation: total
347 + kind: counter
348 +- id: client_connections_active
349 + azure_name: client_connections_active
350 + time_grain: PT1M
351 + series:
352 + - aggregation: maximum
353 + kind: gauge
354 +- id: client_connections_waiting
355 + azure_name: client_connections_waiting
356 + time_grain: PT1M
357 + series:
358 + - aggregation: maximum
359 + kind: gauge
360 +- id: num_pools
361 + azure_name: num_pools
362 + time_grain: PT1M
363 + series:
364 + - aggregation: maximum
365 + kind: gauge
366 +- id: server_connections_active
367 + azure_name: server_connections_active
368 + time_grain: PT1M
369 + series:
370 + - aggregation: maximum
371 + kind: gauge
372 +- id: server_connections_idle
373 + azure_name: server_connections_idle
374 + time_grain: PT1M
375 + series:
376 + - aggregation: maximum
377 + kind: gauge
378 +- id: total_pooled_connections
379 + azure_name: total_pooled_connections
380 + time_grain: PT1M
381 + series:
382 + - aggregation: maximum
383 + kind: gauge
384 +- id: cpu_credits_consumed
385 + azure_name: cpu_credits_consumed
386 + time_grain: PT1M
387 + series:
388 + - aggregation: average
389 + kind: gauge
390 +- id: cpu_credits_remaining
391 + azure_name: cpu_credits_remaining
392 + time_grain: PT1M
393 + series:
394 + - aggregation: average
395 + kind: gauge
396 +- id: postmaster_process_cpu_usage_percent
397 + azure_name: postmaster_process_cpu_usage_percent
398 + time_grain: PT1M
399 + series:
400 + - aggregation: average
401 + kind: gauge
402 +- id: max_connections
403 + azure_name: max_connections
404 + time_grain: PT30M
405 + series:
406 + - aggregation: maximum
407 + kind: gauge
408 +- id: tcp_connection_backlog
409 + azure_name: tcp_connection_backlog
410 + time_grain: PT1M
411 + series:
412 + - aggregation: maximum
413 + kind: gauge
414 +- id: physical_replication_delay_in_seconds
415 + azure_name: physical_replication_delay_in_seconds
416 + time_grain: PT1M
417 + series:
418 + - aggregation: average
419 + kind: gauge
420 +- id: physical_replication_delay_in_bytes
421 + azure_name: physical_replication_delay_in_bytes
422 + time_grain: PT1M
423 + series:
424 + - aggregation: maximum
425 + kind: gauge
426 +- id: logical_replication_delay_in_bytes
427 + azure_name: logical_replication_delay_in_bytes
428 + time_grain: PT1M
429 + series:
430 + - aggregation: maximum
431 + kind: gauge
432 +template:
433 + family: Azure PostgreSQL Flexible Server
434 + context_namespace: postgres_flexible
435 + chart_defaults:
436 + label_promotion:
437 + - resource_name
438 + - resource_group
439 + - region
440 + - resource_type
441 + - profile
442 + instances:
443 + by_labels:
444 + - resource_uid
445 + charts:
446 + - id: am_azure_postgres_flexible__cpu
447 + title: Azure PostgreSQL Flexible Server CPU Utilization
448 + context: cpu
449 + family: Utilization
450 + type: line
451 + units: percentage
452 + algorithm: absolute
453 + dimensions:
454 + - selector: postgres_flexible.cpu_percent_average
455 + name: average
456 + - id: am_azure_postgres_flexible__memory
457 + title: Azure PostgreSQL Flexible Server Memory Utilization
458 + context: memory
459 + family: Utilization
460 + type: line
461 + units: percentage
462 + algorithm: absolute
463 + dimensions:
464 + - selector: postgres_flexible.memory_percent_average
465 + name: average
466 + - id: am_azure_postgres_flexible__availability
467 + title: Azure PostgreSQL Flexible Server Database Alive
468 + context: availability
469 + family: Availability
470 + type: line
471 + units: state
472 + algorithm: absolute
473 + dimensions:
474 + - selector: postgres_flexible.is_db_alive_maximum
475 + name: maximum
476 + - id: am_azure_postgres_flexible__iops
477 + title: Azure PostgreSQL Flexible Server IOPS
478 + context: iops
479 + family: I/O
480 + type: line
481 + units: operations/s
482 + algorithm: absolute
483 + dimensions:
484 + - selector: postgres_flexible.iops_average
485 + name: total
486 + - selector: postgres_flexible.read_iops_average
487 + name: read
488 + - selector: postgres_flexible.write_iops_average
489 + name: write
490 + - id: am_azure_postgres_flexible__disk_throughput
491 + title: Azure PostgreSQL Flexible Server Disk Throughput
492 + context: disk_throughput
493 + family: I/O
494 + type: line
495 + units: bytes/s
496 + algorithm: absolute
497 + dimensions:
498 + - selector: postgres_flexible.read_throughput_average
499 + name: read
500 + - selector: postgres_flexible.write_throughput_average
501 + name: write
502 + - id: am_azure_postgres_flexible__disk_saturation
503 + title: Azure PostgreSQL Flexible Server Disk Saturation
504 + context: disk_saturation
505 + family: I/O
506 + type: line
507 + units: percentage
508 + algorithm: absolute
509 + dimensions:
510 + - selector: postgres_flexible.disk_bandwidth_consumed_percentage_average
511 + name: bandwidth
512 + - selector: postgres_flexible.disk_iops_consumed_percentage_average
513 + name: iops
514 + - id: am_azure_postgres_flexible__disk_queue_depth
515 + title: Azure PostgreSQL Flexible Server Disk Queue Depth
516 + context: disk_queue_depth
517 + family: I/O
518 + type: line
519 + units: operations
520 + algorithm: absolute
521 + dimensions:
522 + - selector: postgres_flexible.disk_queue_depth_average
523 + name: average
524 + - id: am_azure_postgres_flexible__buffer_cache
525 + title: Azure PostgreSQL Flexible Server Buffer Cache
526 + context: buffer_cache
527 + family: Performance
528 + type: line
529 + units: blocks/s
530 + algorithm: incremental
531 + dimensions:
532 + - selector: postgres_flexible.blks_hit_total
533 + name: hits
534 + - selector: postgres_flexible.blks_read_total
535 + name: reads
536 + - id: am_azure_postgres_flexible__active_connections
537 + title: Azure PostgreSQL Flexible Server Active Connections
538 + context: active_connections
539 + family: Connections
540 + type: line
541 + units: connections
542 + algorithm: absolute
543 + dimensions:
544 + - selector: postgres_flexible.active_connections_average
545 + name: average
546 + - id: am_azure_postgres_flexible__connection_rate
547 + title: Azure PostgreSQL Flexible Server Connection Rate
548 + context: connection_rate
549 + family: Connections
550 + type: line
551 + units: connections/s
552 + algorithm: incremental
553 + dimensions:
554 + - selector: postgres_flexible.connections_succeeded_total
555 + name: succeeded
556 + - selector: postgres_flexible.connections_failed_total
557 + name: failed
558 + - id: am_azure_postgres_flexible__transactions
559 + title: Azure PostgreSQL Flexible Server Transactions
560 + context: transactions
561 + family: Throughput
562 + type: line
563 + units: transactions/s
564 + algorithm: incremental
565 + dimensions:
566 + - selector: postgres_flexible.xact_commit_total
567 + name: committed
568 + - selector: postgres_flexible.xact_rollback_total
569 + name: rolled_back
570 + - id: am_azure_postgres_flexible__transaction_rate
571 + title: Azure PostgreSQL Flexible Server Transaction Rate
572 + context: transaction_rate
573 + family: Throughput
574 + type: line
575 + units: transactions/s
576 + algorithm: incremental
577 + dimensions:
578 + - selector: postgres_flexible.tps_total
579 + name: total
580 + - selector: postgres_flexible.xact_total_total
581 + name: xact_total
582 + - id: am_azure_postgres_flexible__deadlocks
583 + title: Azure PostgreSQL Flexible Server Deadlocks
584 + context: deadlocks
585 + family: Contention
586 + type: line
587 + units: deadlocks/s
588 + algorithm: incremental
589 + dimensions:
590 + - selector: postgres_flexible.deadlocks_total
591 + name: total
592 + - id: am_azure_postgres_flexible__tuple_reads
593 + title: Azure PostgreSQL Flexible Server Tuple Reads
594 + context: tuple_reads
595 + family: Throughput
596 + type: line
597 + units: tuples/s
598 + algorithm: incremental
599 + dimensions:
600 + - selector: postgres_flexible.tup_returned_total
601 + name: returned
602 + - selector: postgres_flexible.tup_fetched_total
603 + name: fetched
604 + - id: am_azure_postgres_flexible__tuple_writes
605 + title: Azure PostgreSQL Flexible Server Tuple Writes
606 + context: tuple_writes
607 + family: Throughput
608 + type: line
609 + units: tuples/s
610 + algorithm: incremental
611 + dimensions:
612 + - selector: postgres_flexible.tup_inserted_total
613 + name: inserted
614 + - selector: postgres_flexible.tup_updated_total
615 + name: updated
616 + - selector: postgres_flexible.tup_deleted_total
617 + name: deleted
618 + - id: am_azure_postgres_flexible__temp_files
619 + title: Azure PostgreSQL Flexible Server Temp Files Created
620 + context: temp_files
621 + family: Performance
622 + type: line
623 + units: files/s
624 + algorithm: incremental
625 + dimensions:
626 + - selector: postgres_flexible.temp_files_total
627 + name: total
628 + - id: am_azure_postgres_flexible__temp_bytes
629 + title: Azure PostgreSQL Flexible Server Temp Bytes Written
630 + context: temp_bytes
631 + family: Performance
632 + type: line
633 + units: bytes/s
634 + algorithm: incremental
635 + dimensions:
636 + - selector: postgres_flexible.temp_bytes_total
637 + name: total
638 + - id: am_azure_postgres_flexible__long_running
639 + title: Azure PostgreSQL Flexible Server Long Running Operations
640 + context: long_running
641 + family: Activity
642 + type: line
643 + units: seconds
644 + algorithm: absolute
645 + dimensions:
646 + - selector: postgres_flexible.longest_query_time_sec_maximum
647 + name: query
648 + - selector: postgres_flexible.longest_transaction_time_sec_maximum
649 + name: transaction
650 + - id: am_azure_postgres_flexible__xid_usage
651 + title: Azure PostgreSQL Flexible Server Transaction ID Usage
652 + context: xid_usage
653 + family: Safety
654 + type: line
655 + units: transactions
656 + algorithm: absolute
657 + dimensions:
658 + - selector: postgres_flexible.maximum_used_transaction_ids_average
659 + name: max_used
660 + - selector: postgres_flexible.oldest_backend_xmin_maximum
661 + name: oldest_xmin
662 + - id: am_azure_postgres_flexible__xmin_age
663 + title: Azure PostgreSQL Flexible Server Backend XID Age
664 + context: xmin_age
665 + family: Safety
666 + type: line
667 + units: transactions
668 + algorithm: absolute
669 + dimensions:
670 + - selector: postgres_flexible.oldest_backend_xmin_age_maximum
671 + name: maximum
672 + - id: am_azure_postgres_flexible__network
673 + title: Azure PostgreSQL Flexible Server Network Traffic
674 + context: network
675 + family: Network
676 + type: line
677 + units: bytes/s
678 + algorithm: incremental
679 + dimensions:
680 + - selector: postgres_flexible.network_bytes_ingress_total
681 + name: in
682 + - selector: postgres_flexible.network_bytes_egress_total
683 + name: out
684 + - id: am_azure_postgres_flexible__storage
685 + title: Azure PostgreSQL Flexible Server Storage
686 + context: storage
687 + family: Capacity
688 + type: line
689 + units: bytes
690 + algorithm: absolute
691 + dimensions:
692 + - selector: postgres_flexible.storage_used_average
693 + name: used
694 + - selector: postgres_flexible.storage_free_average
695 + name: free
696 + - id: am_azure_postgres_flexible__storage_utilization
697 + title: Azure PostgreSQL Flexible Server Storage Utilization
698 + context: storage_utilization
699 + family: Capacity
700 + type: line
701 + units: percentage
702 + algorithm: absolute
703 + dimensions:
704 + - selector: postgres_flexible.storage_percent_average
705 + name: average
706 + - id: am_azure_postgres_flexible__wal_storage
707 + title: Azure PostgreSQL Flexible Server WAL Storage
708 + context: wal_storage
709 + family: Capacity
710 + type: line
711 + units: bytes
712 + algorithm: absolute
713 + dimensions:
714 + - selector: postgres_flexible.txlogs_storage_used_average
715 + name: used
716 + - id: am_azure_postgres_flexible__database_size
717 + title: Azure PostgreSQL Flexible Server Database Size
718 + context: database_size
719 + family: Capacity
720 + type: line
721 + units: bytes
722 + algorithm: absolute
723 + dimensions:
724 + - selector: postgres_flexible.database_size_bytes_average
725 + name: average
726 + - id: am_azure_postgres_flexible__backup_storage
727 + title: Azure PostgreSQL Flexible Server Backup Storage
728 + context: backup_storage
729 + family: Capacity
730 + type: line
731 + units: bytes
732 + algorithm: absolute
733 + dimensions:
734 + - selector: postgres_flexible.backup_storage_used_average
735 + name: used
736 + - id: am_azure_postgres_flexible__replication_lag_time
737 + title: Azure PostgreSQL Flexible Server Replication Lag
738 + context: replication_lag_time
739 + family: Replication
740 + type: line
741 + units: seconds
742 + algorithm: absolute
743 + dimensions:
744 + - selector: postgres_flexible.physical_replication_delay_in_seconds_average
745 + name: average
746 + - id: am_azure_postgres_flexible__replication_lag_bytes
747 + title: Azure PostgreSQL Flexible Server Replication Lag Bytes
748 + context: replication_lag_bytes
749 + family: Replication
750 + type: line
751 + units: bytes
752 + algorithm: absolute
753 + dimensions:
754 + - selector: postgres_flexible.physical_replication_delay_in_bytes_maximum
755 + name: physical
756 + - selector: postgres_flexible.logical_replication_delay_in_bytes_maximum
757 + name: logical
758 + - id: am_azure_postgres_flexible__sessions_by_state
759 + title: Azure PostgreSQL Flexible Server Sessions by State
760 + context: sessions_by_state
761 + family: Activity
762 + type: line
763 + units: sessions
764 + algorithm: absolute
765 + dimensions:
766 + - selector: postgres_flexible.sessions_by_state_maximum
767 + name: maximum
768 + - id: am_azure_postgres_flexible__sessions_by_wait_event_type
769 + title: Azure PostgreSQL Flexible Server Sessions by Wait Event Type
770 + context: sessions_by_wait_event_type
771 + family: Activity
772 + type: line
773 + units: sessions
774 + algorithm: absolute
775 + dimensions:
776 + - selector: postgres_flexible.sessions_by_wait_event_type_maximum
777 + name: maximum
778 + - id: am_azure_postgres_flexible__autovacuum_operations
779 + title: Azure PostgreSQL Flexible Server Autovacuum Operations
780 + context: autovacuum_operations
781 + family: Autovacuum
782 + type: line
783 + units: operations
784 + algorithm: absolute
785 + dimensions:
786 + - selector: postgres_flexible.vacuum_count_user_tables_maximum
787 + name: vacuum
788 + - selector: postgres_flexible.autovacuum_count_user_tables_maximum
789 + name: autovacuum
790 + - selector: postgres_flexible.analyze_count_user_tables_maximum
791 + name: analyze
792 + - selector: postgres_flexible.autoanalyze_count_user_tables_maximum
793 + name: autoanalyze
794 + - id: am_azure_postgres_flexible__autovacuum_table_coverage
795 + title: Azure PostgreSQL Flexible Server Autovacuum Table Coverage
796 + context: autovacuum_table_coverage
797 + family: Autovacuum
798 + type: line
799 + units: tables
800 + algorithm: absolute
801 + dimensions:
802 + - selector: postgres_flexible.tables_vacuumed_user_tables_maximum
803 + name: vacuumed
804 + - selector: postgres_flexible.tables_autovacuumed_user_tables_maximum
805 + name: autovacuumed
806 + - selector: postgres_flexible.tables_analyzed_user_tables_maximum
807 + name: analyzed
808 + - selector: postgres_flexible.tables_autoanalyzed_user_tables_maximum
809 + name: autoanalyzed
810 + - selector: postgres_flexible.tables_counter_user_tables_maximum
811 + name: total
812 + - id: am_azure_postgres_flexible__tuple_liveness
813 + title: Azure PostgreSQL Flexible Server Tuple Liveness
814 + context: tuple_liveness
815 + family: Autovacuum
816 + type: line
817 + units: tuples
818 + algorithm: absolute
819 + dimensions:
820 + - selector: postgres_flexible.n_live_tup_user_tables_maximum
821 + name: live
822 + - selector: postgres_flexible.n_dead_tup_user_tables_maximum
823 + name: dead
824 + - selector: postgres_flexible.n_mod_since_analyze_user_tables_maximum
825 + name: modified_since_analyze
826 + - id: am_azure_postgres_flexible__bloat
827 + title: Azure PostgreSQL Flexible Server Table Bloat
828 + context: bloat
829 + family: Autovacuum
830 + type: line
831 + units: percentage
832 + algorithm: absolute
833 + dimensions:
834 + - selector: postgres_flexible.bloat_percent_maximum
835 + name: maximum
836 + - id: am_azure_postgres_flexible__backend_count
837 + title: Azure PostgreSQL Flexible Server Backend Count
838 + context: backend_count
839 + family: Connections
840 + type: line
841 + units: connections
842 + algorithm: absolute
843 + dimensions:
844 + - selector: postgres_flexible.numbackends_maximum
845 + name: maximum
846 + - id: am_azure_postgres_flexible__pgbouncer_client_connections
847 + title: Azure PostgreSQL Flexible Server PgBouncer Client Connections
848 + context: pgbouncer_client_connections
849 + family: PgBouncer
850 + type: line
851 + units: connections
852 + algorithm: absolute
853 + dimensions:
854 + - selector: postgres_flexible.client_connections_active_maximum
855 + name: active
856 + - selector: postgres_flexible.client_connections_waiting_maximum
857 + name: waiting
858 + - id: am_azure_postgres_flexible__pgbouncer_server_connections
859 + title: Azure PostgreSQL Flexible Server PgBouncer Server Connections
860 + context: pgbouncer_server_connections
861 + family: PgBouncer
862 + type: line
863 + units: connections
864 + algorithm: absolute
865 + dimensions:
866 + - selector: postgres_flexible.server_connections_active_maximum
867 + name: active
868 + - selector: postgres_flexible.server_connections_idle_maximum
869 + name: idle
870 + - id: am_azure_postgres_flexible__pgbouncer_pool_count
871 + title: Azure PostgreSQL Flexible Server PgBouncer Pool Count
872 + context: pgbouncer_pool_count
873 + family: PgBouncer
874 + type: line
875 + units: pools
876 + algorithm: absolute
877 + dimensions:
878 + - selector: postgres_flexible.num_pools_maximum
879 + name: pools
880 + - id: am_azure_postgres_flexible__pgbouncer_pooled_connections
881 + title: Azure PostgreSQL Flexible Server PgBouncer Pooled Connections
882 + context: pgbouncer_pooled_connections
883 + family: PgBouncer
884 + type: line
885 + units: connections
886 + algorithm: absolute
887 + dimensions:
888 + - selector: postgres_flexible.total_pooled_connections_maximum
889 + name: pooled_connections
890 + - id: am_azure_postgres_flexible__cpu_credits
891 + title: Azure PostgreSQL Flexible Server CPU Credits
892 + context: cpu_credits
893 + family: Saturation
894 + type: line
895 + units: credits
896 + algorithm: absolute
897 + dimensions:
898 + - selector: postgres_flexible.cpu_credits_consumed_average
899 + name: consumed
900 + - selector: postgres_flexible.cpu_credits_remaining_average
901 + name: remaining
902 + - id: am_azure_postgres_flexible__postmaster_cpu
903 + title: Azure PostgreSQL Flexible Server Postmaster CPU Usage
904 + context: postmaster_cpu
905 + family: Saturation
906 + type: line
907 + units: percentage
908 + algorithm: absolute
909 + dimensions:
910 + - selector: postgres_flexible.postmaster_process_cpu_usage_percent_average
911 + name: average
912 + - id: am_azure_postgres_flexible__max_connections
913 + title: Azure PostgreSQL Flexible Server Max Connections
914 + context: max_connections
915 + family: Connections
916 + type: line
917 + units: connections
918 + algorithm: absolute
919 + dimensions:
920 + - selector: postgres_flexible.max_connections_maximum
921 + name: maximum
922 + - id: am_azure_postgres_flexible__tcp_connection_backlog
923 + title: Azure PostgreSQL Flexible Server TCP Connection Backlog
924 + context: tcp_connection_backlog
925 + family: Connections
926 + type: line
927 + units: connections
928 + algorithm: absolute
929 + dimensions:
930 + - selector: postgres_flexible.tcp_connection_backlog_maximum
931 + name: maximum
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/redis_cache.yaml new
+643
@@ -0,0 +1,643 @@
1 +---
2 +id: redis_cache
3 +name: Azure Cache for Redis
4 +resource_type: Microsoft.Cache/redis
5 +metrics:
6 +- id: cachehits
7 + azure_name: cachehits
8 + time_grain: PT1M
9 + series:
10 + - aggregation: total
11 + kind: counter
12 +- id: cachemisses
13 + azure_name: cachemisses
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: cache_read
19 + azure_name: cacheRead
20 + time_grain: PT1M
21 + series:
22 + - aggregation: maximum
23 + kind: gauge
24 +- id: cache_write
25 + azure_name: cacheWrite
26 + time_grain: PT1M
27 + series:
28 + - aggregation: maximum
29 + kind: gauge
30 +- id: server_load
31 + azure_name: serverLoad
32 + time_grain: PT1M
33 + series:
34 + - aggregation: maximum
35 + kind: gauge
36 +- id: percent_processor_time
37 + azure_name: percentProcessorTime
38 + time_grain: PT1M
39 + series:
40 + - aggregation: maximum
41 + kind: gauge
42 +- id: usedmemory
43 + azure_name: usedmemory
44 + time_grain: PT1M
45 + series:
46 + - aggregation: maximum
47 + kind: gauge
48 +- id: usedmemorypercentage
49 + azure_name: usedmemorypercentage
50 + time_grain: PT1M
51 + series:
52 + - aggregation: maximum
53 + kind: gauge
54 +- id: usedmemory_rss
55 + azure_name: usedmemoryRss
56 + time_grain: PT1M
57 + series:
58 + - aggregation: maximum
59 + kind: gauge
60 +- id: connectedclients
61 + azure_name: connectedclients
62 + time_grain: PT1M
63 + series:
64 + - aggregation: maximum
65 + kind: gauge
66 +- id: operations_per_second
67 + azure_name: operationsPerSecond
68 + time_grain: PT1M
69 + series:
70 + - aggregation: maximum
71 + kind: gauge
72 +- id: totalcommandsprocessed
73 + azure_name: totalcommandsprocessed
74 + time_grain: PT1M
75 + series:
76 + - aggregation: total
77 + kind: counter
78 +- id: getcommands
79 + azure_name: getcommands
80 + time_grain: PT1M
81 + series:
82 + - aggregation: total
83 + kind: counter
84 +- id: setcommands
85 + azure_name: setcommands
86 + time_grain: PT1M
87 + series:
88 + - aggregation: total
89 + kind: counter
90 +- id: cache_latency
91 + azure_name: cacheLatency
92 + time_grain: PT1M
93 + series:
94 + - aggregation: average
95 + kind: gauge
96 +- id: totalkeys
97 + azure_name: totalkeys
98 + time_grain: PT1M
99 + series:
100 + - aggregation: maximum
101 + kind: gauge
102 +- id: evictedkeys
103 + azure_name: evictedkeys
104 + time_grain: PT1M
105 + series:
106 + - aggregation: total
107 + kind: counter
108 +- id: expiredkeys
109 + azure_name: expiredkeys
110 + time_grain: PT1M
111 + series:
112 + - aggregation: total
113 + kind: counter
114 +- id: errors
115 + azure_name: errors
116 + time_grain: PT1M
117 + series:
118 + - aggregation: maximum
119 + kind: gauge
120 +- id: cachemissrate
121 + azure_name: cachemissrate
122 + time_grain: PT1M
123 + series:
124 + - aggregation: total
125 + kind: gauge
126 +- id: latency_p99
127 + azure_name: LatencyP99
128 + time_grain: PT1M
129 + series:
130 + - aggregation: average
131 + kind: gauge
132 +- id: all_connections_closed_per_second
133 + azure_name: allConnectionsClosedPerSecond
134 + time_grain: PT1M
135 + series:
136 + - aggregation: maximum
137 + kind: gauge
138 +- id: all_connections_created_per_second
139 + azure_name: allConnectionsCreatedPerSecond
140 + time_grain: PT1M
141 + series:
142 + - aggregation: maximum
143 + kind: gauge
144 +- id: connected_clients_using_aad_token
145 + azure_name: ConnectedClientsUsingAADToken
146 + time_grain: PT1M
147 + series:
148 + - aggregation: maximum
149 + kind: gauge
150 +- id: allcachehits
151 + azure_name: allcachehits
152 + time_grain: PT1M
153 + series:
154 + - aggregation: total
155 + kind: counter
156 +- id: allcachemisses
157 + azure_name: allcachemisses
158 + time_grain: PT1M
159 + series:
160 + - aggregation: total
161 + kind: counter
162 +- id: allcache_read
163 + azure_name: allcacheRead
164 + time_grain: PT1M
165 + series:
166 + - aggregation: maximum
167 + kind: gauge
168 +- id: allcache_write
169 + azure_name: allcacheWrite
170 + time_grain: PT1M
171 + series:
172 + - aggregation: maximum
173 + kind: gauge
174 +- id: allserver_load
175 + azure_name: allserverLoad
176 + time_grain: PT1M
177 + series:
178 + - aggregation: maximum
179 + kind: gauge
180 +- id: allpercentprocessortime
181 + azure_name: allpercentprocessortime
182 + time_grain: PT1M
183 + series:
184 + - aggregation: maximum
185 + kind: gauge
186 +- id: allusedmemory
187 + azure_name: allusedmemory
188 + time_grain: PT1M
189 + series:
190 + - aggregation: maximum
191 + kind: gauge
192 +- id: allusedmemorypercentage
193 + azure_name: allusedmemorypercentage
194 + time_grain: PT1M
195 + series:
196 + - aggregation: maximum
197 + kind: gauge
198 +- id: allusedmemory_rss
199 + azure_name: allusedmemoryRss
200 + time_grain: PT1M
201 + series:
202 + - aggregation: maximum
203 + kind: gauge
204 +- id: allconnectedclients
205 + azure_name: allconnectedclients
206 + time_grain: PT1M
207 + series:
208 + - aggregation: maximum
209 + kind: gauge
210 +- id: alloperations_per_second
211 + azure_name: alloperationsPerSecond
212 + time_grain: PT1M
213 + series:
214 + - aggregation: maximum
215 + kind: gauge
216 +- id: alltotalcommandsprocessed
217 + azure_name: alltotalcommandsprocessed
218 + time_grain: PT1M
219 + series:
220 + - aggregation: total
221 + kind: counter
222 +- id: allgetcommands
223 + azure_name: allgetcommands
224 + time_grain: PT1M
225 + series:
226 + - aggregation: total
227 + kind: counter
228 +- id: allsetcommands
229 + azure_name: allsetcommands
230 + time_grain: PT1M
231 + series:
232 + - aggregation: total
233 + kind: counter
234 +- id: alltotalkeys
235 + azure_name: alltotalkeys
236 + time_grain: PT1M
237 + series:
238 + - aggregation: maximum
239 + kind: gauge
240 +- id: allevictedkeys
241 + azure_name: allevictedkeys
242 + time_grain: PT1M
243 + series:
244 + - aggregation: total
245 + kind: counter
246 +- id: allexpiredkeys
247 + azure_name: allexpiredkeys
248 + time_grain: PT1M
249 + series:
250 + - aggregation: total
251 + kind: counter
252 +- id: geo_replication_connectivity_lag
253 + azure_name: GeoReplicationConnectivityLag
254 + time_grain: PT1M
255 + series:
256 + - aggregation: average
257 + kind: gauge
258 +- id: geo_replication_data_sync_offset
259 + azure_name: GeoReplicationDataSyncOffset
260 + time_grain: PT1M
261 + series:
262 + - aggregation: average
263 + kind: gauge
264 +- id: geo_replication_full_sync_event_finished
265 + azure_name: GeoReplicationFullSyncEventFinished
266 + time_grain: PT1M
267 + series:
268 + - aggregation: count
269 + kind: counter
270 +- id: geo_replication_full_sync_event_started
271 + azure_name: GeoReplicationFullSyncEventStarted
272 + time_grain: PT1M
273 + series:
274 + - aggregation: count
275 + kind: counter
276 +- id: geo_replication_healthy
277 + azure_name: GeoReplicationHealthy
278 + time_grain: PT1M
279 + series:
280 + - aggregation: average
281 + kind: gauge
282 +template:
283 + family: Azure Cache for Redis
284 + context_namespace: redis_cache
285 + chart_defaults:
286 + label_promotion:
287 + - resource_name
288 + - resource_group
289 + - region
290 + - resource_type
291 + - profile
292 + instances:
293 + by_labels:
294 + - resource_uid
295 + charts:
296 + - id: am_azure_redis_cache__cache_hits
297 + title: Azure Cache for Redis Hit Rate
298 + context: cache_hits
299 + family: Cache
300 + type: line
301 + units: operations/s
302 + algorithm: incremental
303 + dimensions:
304 + - selector: redis_cache.cachehits_total
305 + name: hits
306 + - selector: redis_cache.cachemisses_total
307 + name: misses
308 + - id: am_azure_redis_cache__throughput
309 + title: Azure Cache for Redis Throughput
310 + context: throughput
311 + family: Cache
312 + type: line
313 + units: bytes/s
314 + algorithm: absolute
315 + dimensions:
316 + - selector: redis_cache.cache_read_maximum
317 + name: read
318 + - selector: redis_cache.cache_write_maximum
319 + name: write
320 + - id: am_azure_redis_cache__server_load
321 + title: Azure Cache for Redis Server Load
322 + context: server_load
323 + family: Server
324 + type: line
325 + units: percentage
326 + algorithm: absolute
327 + dimensions:
328 + - selector: redis_cache.server_load_maximum
329 + name: maximum
330 + - id: am_azure_redis_cache__cpu
331 + title: Azure Cache for Redis CPU Utilization
332 + context: cpu
333 + family: Server
334 + type: line
335 + units: percentage
336 + algorithm: absolute
337 + dimensions:
338 + - selector: redis_cache.percent_processor_time_maximum
339 + name: maximum
340 + - id: am_azure_redis_cache__memory_usage
341 + title: Azure Cache for Redis Memory Usage
342 + context: memory_usage
343 + family: Memory
344 + type: line
345 + units: bytes
346 + algorithm: absolute
347 + dimensions:
348 + - selector: redis_cache.usedmemory_maximum
349 + name: used
350 + - selector: redis_cache.usedmemory_rss_maximum
351 + name: rss
352 + - id: am_azure_redis_cache__memory_utilization
353 + title: Azure Cache for Redis Memory Utilization
354 + context: memory_utilization
355 + family: Memory
356 + type: line
357 + units: percentage
358 + algorithm: absolute
359 + dimensions:
360 + - selector: redis_cache.usedmemorypercentage_maximum
361 + name: maximum
362 + - id: am_azure_redis_cache__clients
363 + title: Azure Cache for Redis Connected Clients
364 + context: clients
365 + family: Clients
366 + type: line
367 + units: clients
368 + algorithm: absolute
369 + dimensions:
370 + - selector: redis_cache.connectedclients_maximum
371 + name: maximum
372 + - id: am_azure_redis_cache__operations
373 + title: Azure Cache for Redis Operations
374 + context: operations
375 + family: Operations
376 + type: line
377 + units: operations/s
378 + algorithm: absolute
379 + dimensions:
380 + - selector: redis_cache.operations_per_second_maximum
381 + name: maximum
382 + - id: am_azure_redis_cache__commands
383 + title: Azure Cache for Redis Commands Processed
384 + context: commands
385 + family: Operations
386 + type: line
387 + units: commands/s
388 + algorithm: incremental
389 + dimensions:
390 + - selector: redis_cache.totalcommandsprocessed_total
391 + name: total
392 + - id: am_azure_redis_cache__command_types
393 + title: Azure Cache for Redis Command Types
394 + context: command_types
395 + family: Operations
396 + type: line
397 + units: commands/s
398 + algorithm: incremental
399 + dimensions:
400 + - selector: redis_cache.getcommands_total
401 + name: get
402 + - selector: redis_cache.setcommands_total
403 + name: set
404 + - id: am_azure_redis_cache__latency
405 + title: Azure Cache for Redis Latency
406 + context: latency
407 + family: Latency
408 + type: line
409 + units: microseconds
410 + algorithm: absolute
411 + dimensions:
412 + - selector: redis_cache.cache_latency_average
413 + name: average
414 + - id: am_azure_redis_cache__key_events
415 + title: Azure Cache for Redis Key Events
416 + context: key_events
417 + family: Keys
418 + type: line
419 + units: keys/s
420 + algorithm: incremental
421 + dimensions:
422 + - selector: redis_cache.evictedkeys_total
423 + name: evicted
424 + - selector: redis_cache.expiredkeys_total
425 + name: expired
426 + - id: am_azure_redis_cache__total_keys
427 + title: Azure Cache for Redis Total Keys
428 + context: total_keys
429 + family: Keys
430 + type: line
431 + units: keys
432 + algorithm: absolute
433 + dimensions:
434 + - selector: redis_cache.totalkeys_maximum
435 + name: maximum
436 + - id: am_azure_redis_cache__errors
437 + title: Azure Cache for Redis Errors
438 + context: errors
439 + family: Errors
440 + type: line
441 + units: errors
442 + algorithm: absolute
443 + dimensions:
444 + - selector: redis_cache.errors_maximum
445 + name: maximum
446 + - id: am_azure_redis_cache__miss_rate
447 + title: Azure Cache for Redis Miss Rate
448 + context: miss_rate
449 + family: Cache
450 + type: line
451 + units: percentage
452 + algorithm: absolute
453 + dimensions:
454 + - selector: redis_cache.cachemissrate_total
455 + name: miss_rate
456 + - id: am_azure_redis_cache__latency_p99
457 + title: Azure Cache for Redis P99 Latency
458 + context: latency_p99
459 + family: Latency
460 + type: line
461 + units: microseconds
462 + algorithm: absolute
463 + dimensions:
464 + - selector: redis_cache.latency_p99_average
465 + name: p99
466 + - id: am_azure_redis_cache__connection_rate
467 + title: Azure Cache for Redis Connection Rate
468 + context: connection_rate
469 + family: Clients
470 + type: line
471 + units: connections/s
472 + algorithm: absolute
473 + dimensions:
474 + - selector: redis_cache.all_connections_created_per_second_maximum
475 + name: created
476 + - selector: redis_cache.all_connections_closed_per_second_maximum
477 + name: closed
478 + - id: am_azure_redis_cache__aad_clients
479 + title: Azure Cache for Redis Entra Token Clients
480 + context: aad_clients
481 + family: Clients
482 + type: line
483 + units: clients
484 + algorithm: absolute
485 + dimensions:
486 + - selector: redis_cache.connected_clients_using_aad_token_maximum
487 + name: maximum
488 + - id: am_azure_redis_cache__instance_cache_hits
489 + title: Azure Cache for Redis Instance Hit Rate
490 + context: instance_cache_hits
491 + family: Instance Cache
492 + type: line
493 + units: operations/s
494 + algorithm: incremental
495 + dimensions:
496 + - selector: redis_cache.allcachehits_total
497 + name: hits
498 + - selector: redis_cache.allcachemisses_total
499 + name: misses
500 + - id: am_azure_redis_cache__instance_throughput
501 + title: Azure Cache for Redis Instance Throughput
502 + context: instance_throughput
503 + family: Instance Cache
504 + type: line
505 + units: bytes/s
506 + algorithm: absolute
507 + dimensions:
508 + - selector: redis_cache.allcache_read_maximum
509 + name: read
510 + - selector: redis_cache.allcache_write_maximum
511 + name: write
512 + - id: am_azure_redis_cache__instance_server_load
513 + title: Azure Cache for Redis Instance Server Load
514 + context: instance_server_load
515 + family: Instance Server
516 + type: line
517 + units: percentage
518 + algorithm: absolute
519 + dimensions:
520 + - selector: redis_cache.allserver_load_maximum
521 + name: server_load
522 + - selector: redis_cache.allpercentprocessortime_maximum
523 + name: cpu
524 + - id: am_azure_redis_cache__instance_memory_usage
525 + title: Azure Cache for Redis Instance Memory Usage
526 + context: instance_memory_usage
527 + family: Instance Memory
528 + type: line
529 + units: bytes
530 + algorithm: absolute
531 + dimensions:
532 + - selector: redis_cache.allusedmemory_maximum
533 + name: used
534 + - selector: redis_cache.allusedmemory_rss_maximum
535 + name: rss
536 + - id: am_azure_redis_cache__instance_memory_utilization
537 + title: Azure Cache for Redis Instance Memory Utilization
538 + context: instance_memory_utilization
539 + family: Instance Memory
540 + type: line
541 + units: percentage
542 + algorithm: absolute
543 + dimensions:
544 + - selector: redis_cache.allusedmemorypercentage_maximum
545 + name: maximum
546 + - id: am_azure_redis_cache__instance_clients
547 + title: Azure Cache for Redis Instance Connected Clients
548 + context: instance_clients
549 + family: Instance Clients
550 + type: line
551 + units: clients
552 + algorithm: absolute
553 + dimensions:
554 + - selector: redis_cache.allconnectedclients_maximum
555 + name: maximum
556 + - id: am_azure_redis_cache__instance_operations
557 + title: Azure Cache for Redis Instance Operations
558 + context: instance_operations
559 + family: Instance Operations
560 + type: line
561 + units: operations/s
562 + algorithm: absolute
563 + dimensions:
564 + - selector: redis_cache.alloperations_per_second_maximum
565 + name: maximum
566 + - id: am_azure_redis_cache__instance_commands
567 + title: Azure Cache for Redis Instance Commands Processed
568 + context: instance_commands
569 + family: Instance Operations
570 + type: line
571 + units: commands/s
572 + algorithm: incremental
573 + dimensions:
574 + - selector: redis_cache.alltotalcommandsprocessed_total
575 + name: total
576 + - selector: redis_cache.allgetcommands_total
577 + name: get
578 + - selector: redis_cache.allsetcommands_total
579 + name: set
580 + - id: am_azure_redis_cache__instance_total_keys
581 + title: Azure Cache for Redis Instance Total Keys
582 + context: instance_total_keys
583 + family: Instance Keys
584 + type: line
585 + units: keys
586 + algorithm: absolute
587 + dimensions:
588 + - selector: redis_cache.alltotalkeys_maximum
589 + name: maximum
590 + - id: am_azure_redis_cache__instance_key_events
591 + title: Azure Cache for Redis Instance Key Events
592 + context: instance_key_events
593 + family: Instance Keys
594 + type: line
595 + units: keys/s
596 + algorithm: incremental
597 + dimensions:
598 + - selector: redis_cache.allevictedkeys_total
599 + name: evicted
600 + - selector: redis_cache.allexpiredkeys_total
601 + name: expired
602 + - id: am_azure_redis_cache__geo_replication_lag
603 + title: Azure Cache for Redis Geo-Replication Connectivity Lag
604 + context: geo_replication_lag
605 + family: Geo-Replication
606 + type: line
607 + units: seconds
608 + algorithm: absolute
609 + dimensions:
610 + - selector: redis_cache.geo_replication_connectivity_lag_average
611 + name: average
612 + - id: am_azure_redis_cache__geo_replication_sync_offset
613 + title: Azure Cache for Redis Geo-Replication Data Sync Offset
614 + context: geo_replication_sync_offset
615 + family: Geo-Replication
616 + type: line
617 + units: bytes
618 + algorithm: absolute
619 + dimensions:
620 + - selector: redis_cache.geo_replication_data_sync_offset_average
621 + name: average
622 + - id: am_azure_redis_cache__geo_replication_sync_events
623 + title: Azure Cache for Redis Geo-Replication Sync Events
624 + context: geo_replication_sync_events
625 + family: Geo-Replication
626 + type: line
627 + units: events/s
628 + algorithm: incremental
629 + dimensions:
630 + - selector: redis_cache.geo_replication_full_sync_event_started_count
631 + name: started
632 + - selector: redis_cache.geo_replication_full_sync_event_finished_count
633 + name: finished
634 + - id: am_azure_redis_cache__geo_replication_health
635 + title: Azure Cache for Redis Geo-Replication Health
636 + context: geo_replication_health
637 + family: Geo-Replication
638 + type: line
639 + units: status
640 + algorithm: absolute
641 + dimensions:
642 + - selector: redis_cache.geo_replication_healthy_average
643 + name: average
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/service_bus.yaml new
+347
@@ -0,0 +1,347 @@
1 +---
2 +id: service_bus
3 +name: Azure Service Bus Namespace
4 +resource_type: Microsoft.ServiceBus/Namespaces
5 +metrics:
6 +- id: incoming_messages
7 + azure_name: IncomingMessages
8 + time_grain: PT1M
9 + series:
10 + - aggregation: total
11 + kind: counter
12 +- id: outgoing_messages
13 + azure_name: OutgoingMessages
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: complete_message
19 + azure_name: CompleteMessage
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: counter
24 +- id: abandon_message
25 + azure_name: AbandonMessage
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: active_messages
31 + azure_name: ActiveMessages
32 + time_grain: PT1M
33 + series:
34 + - aggregation: average
35 + kind: gauge
36 +- id: deadlettered_messages
37 + azure_name: DeadletteredMessages
38 + time_grain: PT1M
39 + series:
40 + - aggregation: average
41 + kind: gauge
42 +- id: scheduled_messages
43 + azure_name: ScheduledMessages
44 + time_grain: PT1M
45 + series:
46 + - aggregation: average
47 + kind: gauge
48 +- id: incoming_requests
49 + azure_name: IncomingRequests
50 + time_grain: PT1M
51 + series:
52 + - aggregation: total
53 + kind: counter
54 +- id: successful_requests
55 + azure_name: SuccessfulRequests
56 + time_grain: PT1M
57 + series:
58 + - aggregation: total
59 + kind: counter
60 +- id: server_errors
61 + azure_name: ServerErrors
62 + time_grain: PT1M
63 + series:
64 + - aggregation: total
65 + kind: counter
66 +- id: user_errors
67 + azure_name: UserErrors
68 + time_grain: PT1M
69 + series:
70 + - aggregation: total
71 + kind: counter
72 +- id: throttled_requests
73 + azure_name: ThrottledRequests
74 + time_grain: PT1M
75 + series:
76 + - aggregation: total
77 + kind: counter
78 +- id: active_connections
79 + azure_name: ActiveConnections
80 + time_grain: PT1M
81 + series:
82 + - aggregation: total
83 + kind: gauge
84 +- id: connections_opened
85 + azure_name: ConnectionsOpened
86 + time_grain: PT1M
87 + series:
88 + - aggregation: average
89 + kind: gauge
90 +- id: connections_closed
91 + azure_name: ConnectionsClosed
92 + time_grain: PT1M
93 + series:
94 + - aggregation: average
95 + kind: gauge
96 +- id: incoming_bytes
97 + azure_name: IncomingBytes
98 + time_grain: PT1M
99 + series:
100 + - aggregation: total
101 + kind: counter
102 +- id: outgoing_bytes
103 + azure_name: OutgoingBytes
104 + time_grain: PT1M
105 + series:
106 + - aggregation: total
107 + kind: counter
108 +- id: messages
109 + azure_name: Messages
110 + time_grain: PT1M
111 + series:
112 + - aggregation: average
113 + kind: gauge
114 +- id: namespace_cpu_usage
115 + azure_name: NamespaceCpuUsage
116 + time_grain: PT1M
117 + series:
118 + - aggregation: maximum
119 + kind: gauge
120 +- id: namespace_memory_usage
121 + azure_name: NamespaceMemoryUsage
122 + time_grain: PT1M
123 + series:
124 + - aggregation: maximum
125 + kind: gauge
126 +- id: server_send_latency
127 + azure_name: ServerSendLatency
128 + time_grain: PT1M
129 + series:
130 + - aggregation: average
131 + kind: gauge
132 +- id: pending_checkpoint_operation_count
133 + azure_name: PendingCheckpointOperationCount
134 + time_grain: PT1M
135 + series:
136 + - aggregation: total
137 + kind: gauge
138 +- id: replication_lag_count
139 + azure_name: ReplicationLagCount
140 + time_grain: PT1M
141 + series:
142 + - aggregation: maximum
143 + kind: gauge
144 +- id: replication_lag_duration
145 + azure_name: ReplicationLagDuration
146 + time_grain: PT1M
147 + series:
148 + - aggregation: maximum
149 + kind: gauge
150 +- id: size
151 + azure_name: Size
152 + time_grain: PT1M
153 + series:
154 + - aggregation: average
155 + kind: gauge
156 +template:
157 + family: Azure Service Bus Namespace
158 + context_namespace: service_bus
159 + chart_defaults:
160 + label_promotion:
161 + - resource_name
162 + - resource_group
163 + - region
164 + - resource_type
165 + - profile
166 + instances:
167 + by_labels:
168 + - resource_uid
169 + charts:
170 + - id: am_azure_service_bus__message_flow
171 + title: Azure Service Bus Message Flow
172 + context: message_flow
173 + family: Messages
174 + type: line
175 + units: messages/s
176 + algorithm: incremental
177 + dimensions:
178 + - selector: service_bus.incoming_messages_total
179 + name: in
180 + - selector: service_bus.outgoing_messages_total
181 + name: out
182 + - id: am_azure_service_bus__message_operations
183 + title: Azure Service Bus Message Operations
184 + context: message_operations
185 + family: Messages
186 + type: line
187 + units: messages/s
188 + algorithm: incremental
189 + dimensions:
190 + - selector: service_bus.complete_message_total
191 + name: completed
192 + - selector: service_bus.abandon_message_total
193 + name: abandoned
194 + - id: am_azure_service_bus__queue_depth
195 + title: Azure Service Bus Queue Depth
196 + context: queue_depth
197 + family: Queue
198 + type: line
199 + units: messages
200 + algorithm: absolute
201 + dimensions:
202 + - selector: service_bus.active_messages_average
203 + name: active
204 + - id: am_azure_service_bus__problem_messages
205 + title: Azure Service Bus Problem Messages
206 + context: problem_messages
207 + family: Queue
208 + type: line
209 + units: messages
210 + algorithm: absolute
211 + dimensions:
212 + - selector: service_bus.deadlettered_messages_average
213 + name: dead_lettered
214 + - selector: service_bus.scheduled_messages_average
215 + name: scheduled
216 + - id: am_azure_service_bus__total_messages
217 + title: Azure Service Bus Total Messages
218 + context: total_messages
219 + family: Queue
220 + type: line
221 + units: messages
222 + algorithm: absolute
223 + dimensions:
224 + - selector: service_bus.messages_average
225 + name: total
226 + - id: am_azure_service_bus__requests
227 + title: Azure Service Bus Requests
228 + context: requests
229 + family: Requests
230 + type: line
231 + units: requests/s
232 + algorithm: incremental
233 + dimensions:
234 + - selector: service_bus.incoming_requests_total
235 + name: incoming
236 + - selector: service_bus.successful_requests_total
237 + name: successful
238 + - id: am_azure_service_bus__errors
239 + title: Azure Service Bus Errors
240 + context: errors
241 + family: Errors
242 + type: line
243 + units: errors/s
244 + algorithm: incremental
245 + dimensions:
246 + - selector: service_bus.server_errors_total
247 + name: server
248 + - selector: service_bus.user_errors_total
249 + name: user
250 + - selector: service_bus.throttled_requests_total
251 + name: throttled
252 + - id: am_azure_service_bus__connections
253 + title: Azure Service Bus Active Connections
254 + context: connections
255 + family: Connections
256 + type: line
257 + units: connections
258 + algorithm: absolute
259 + dimensions:
260 + - selector: service_bus.active_connections_total
261 + name: active
262 + - id: am_azure_service_bus__connection_events
263 + title: Azure Service Bus Connection Events
264 + context: connection_events
265 + family: Connections
266 + type: line
267 + units: connections
268 + algorithm: absolute
269 + dimensions:
270 + - selector: service_bus.connections_opened_average
271 + name: opened
272 + - selector: service_bus.connections_closed_average
273 + name: closed
274 + - id: am_azure_service_bus__namespace_size
275 + title: Azure Service Bus Namespace Size
276 + context: namespace_size
277 + family: Capacity
278 + type: line
279 + units: bytes
280 + algorithm: absolute
281 + dimensions:
282 + - selector: service_bus.size_average
283 + name: average
284 + - id: am_azure_service_bus__data_throughput
285 + title: Azure Service Bus Data Throughput
286 + context: data_throughput
287 + family: Messages
288 + type: line
289 + units: bytes/s
290 + algorithm: incremental
291 + dimensions:
292 + - selector: service_bus.incoming_bytes_total
293 + name: in
294 + - selector: service_bus.outgoing_bytes_total
295 + name: out
296 + - id: am_azure_service_bus__namespace_resources
297 + title: Azure Service Bus Namespace Resources
298 + context: namespace_resources
299 + family: Capacity
300 + type: line
301 + units: percentage
302 + algorithm: absolute
303 + dimensions:
304 + - selector: service_bus.namespace_cpu_usage_maximum
305 + name: cpu
306 + - selector: service_bus.namespace_memory_usage_maximum
307 + name: memory
308 + - id: am_azure_service_bus__send_latency
309 + title: Azure Service Bus Send Latency
310 + context: send_latency
311 + family: Performance
312 + type: line
313 + units: milliseconds
314 + algorithm: absolute
315 + dimensions:
316 + - selector: service_bus.server_send_latency_average
317 + name: average
318 + - id: am_azure_service_bus__replication_lag
319 + title: Azure Service Bus Replication Lag
320 + context: replication_lag
321 + family: Replication
322 + type: line
323 + units: messages
324 + algorithm: absolute
325 + dimensions:
326 + - selector: service_bus.replication_lag_count_maximum
327 + name: messages
328 + - id: am_azure_service_bus__replication_lag_duration
329 + title: Azure Service Bus Replication Lag Duration
330 + context: replication_lag_duration
331 + family: Replication
332 + type: line
333 + units: seconds
334 + algorithm: absolute
335 + dimensions:
336 + - selector: service_bus.replication_lag_duration_maximum
337 + name: duration
338 + - id: am_azure_service_bus__checkpoint_operations
339 + title: Azure Service Bus Pending Checkpoint Operations
340 + context: checkpoint_operations
341 + family: Replication
342 + type: line
343 + units: operations
344 + algorithm: absolute
345 + dimensions:
346 + - selector: service_bus.pending_checkpoint_operation_count_total
347 + name: pending
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/sql_database.yaml new
+479
@@ -0,0 +1,479 @@
1 +---
2 +id: sql_database
3 +name: Azure SQL Database
4 +resource_type: Microsoft.Sql/servers/databases
5 +metrics:
6 +- id: cpu_percent
7 + azure_name: cpu_percent
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 + - aggregation: maximum
13 + kind: gauge
14 +- id: dtu_consumption_percent
15 + azure_name: dtu_consumption_percent
16 + time_grain: PT1M
17 + series:
18 + - aggregation: average
19 + kind: gauge
20 +- id: sql_instance_cpu_percent
21 + azure_name: sql_instance_cpu_percent
22 + time_grain: PT1M
23 + series:
24 + - aggregation: average
25 + kind: gauge
26 +- id: sql_instance_memory_percent
27 + azure_name: sql_instance_memory_percent
28 + time_grain: PT1M
29 + series:
30 + - aggregation: average
31 + kind: gauge
32 +- id: physical_data_read_percent
33 + azure_name: physical_data_read_percent
34 + time_grain: PT1M
35 + series:
36 + - aggregation: average
37 + kind: gauge
38 +- id: log_write_percent
39 + azure_name: log_write_percent
40 + time_grain: PT1M
41 + series:
42 + - aggregation: average
43 + kind: gauge
44 +- id: workers_percent
45 + azure_name: workers_percent
46 + time_grain: PT1M
47 + series:
48 + - aggregation: average
49 + kind: gauge
50 +- id: sessions_percent
51 + azure_name: sessions_percent
52 + time_grain: PT1M
53 + series:
54 + - aggregation: average
55 + kind: gauge
56 +- id: sessions_count
57 + azure_name: sessions_count
58 + time_grain: PT1M
59 + series:
60 + - aggregation: average
61 + kind: gauge
62 +- id: availability
63 + azure_name: availability
64 + time_grain: PT1M
65 + series:
66 + - aggregation: average
67 + kind: gauge
68 +- id: connection_successful
69 + azure_name: connection_successful
70 + time_grain: PT1M
71 + series:
72 + - aggregation: total
73 + kind: counter
74 +- id: connection_failed
75 + azure_name: connection_failed
76 + time_grain: PT1M
77 + series:
78 + - aggregation: total
79 + kind: counter
80 +- id: connection_failed_user_error
81 + azure_name: connection_failed_user_error
82 + time_grain: PT1M
83 + series:
84 + - aggregation: total
85 + kind: counter
86 +- id: blocked_by_firewall
87 + azure_name: blocked_by_firewall
88 + time_grain: PT1M
89 + series:
90 + - aggregation: total
91 + kind: counter
92 +- id: deadlock
93 + azure_name: deadlock
94 + time_grain: PT1M
95 + series:
96 + - aggregation: total
97 + kind: counter
98 +- id: storage
99 + azure_name: storage
100 + time_grain: PT1M
101 + series:
102 + - aggregation: average
103 + kind: gauge
104 +- id: allocated_data_storage
105 + azure_name: allocated_data_storage
106 + time_grain: PT1M
107 + series:
108 + - aggregation: average
109 + kind: gauge
110 +- id: storage_percent
111 + azure_name: storage_percent
112 + time_grain: PT1M
113 + series:
114 + - aggregation: average
115 + kind: gauge
116 +- id: xtp_storage_percent
117 + azure_name: xtp_storage_percent
118 + time_grain: PT1M
119 + series:
120 + - aggregation: average
121 + kind: gauge
122 +- id: tempdb_data_size
123 + azure_name: tempdb_data_size
124 + time_grain: PT1M
125 + series:
126 + - aggregation: average
127 + kind: gauge
128 +- id: tempdb_log_size
129 + azure_name: tempdb_log_size
130 + time_grain: PT1M
131 + series:
132 + - aggregation: average
133 + kind: gauge
134 +- id: tempdb_log_used_percent
135 + azure_name: tempdb_log_used_percent
136 + time_grain: PT1M
137 + series:
138 + - aggregation: average
139 + kind: gauge
140 +- id: cpu_used
141 + azure_name: cpu_used
142 + time_grain: PT1M
143 + series:
144 + - aggregation: average
145 + kind: gauge
146 +- id: cpu_limit
147 + azure_name: cpu_limit
148 + time_grain: PT1M
149 + series:
150 + - aggregation: average
151 + kind: gauge
152 +- id: dtu_used
153 + azure_name: dtu_used
154 + time_grain: PT1M
155 + series:
156 + - aggregation: average
157 + kind: gauge
158 +- id: dtu_limit
159 + azure_name: dtu_limit
160 + time_grain: PT1M
161 + series:
162 + - aggregation: average
163 + kind: gauge
164 +- id: replication_lag_seconds
165 + azure_name: replication_lag_seconds
166 + time_grain: PT1M
167 + series:
168 + - aggregation: average
169 + kind: gauge
170 +- id: app_cpu_percent
171 + azure_name: app_cpu_percent
172 + time_grain: PT1M
173 + series:
174 + - aggregation: average
175 + kind: gauge
176 +- id: app_memory_percent
177 + azure_name: app_memory_percent
178 + time_grain: PT1M
179 + series:
180 + - aggregation: average
181 + kind: gauge
182 +- id: app_cpu_billed
183 + azure_name: app_cpu_billed
184 + time_grain: PT1M
185 + series:
186 + - aggregation: total
187 + kind: counter
188 +- id: app_cpu_billed_ha_replicas
189 + azure_name: app_cpu_billed_ha_replicas
190 + time_grain: PT1M
191 + series:
192 + - aggregation: total
193 + kind: counter
194 +- id: free_amount_consumed
195 + azure_name: free_amount_consumed
196 + time_grain: PT15M
197 + series:
198 + - aggregation: average
199 + kind: gauge
200 +- id: free_amount_remaining
201 + azure_name: free_amount_remaining
202 + time_grain: PT15M
203 + series:
204 + - aggregation: average
205 + kind: gauge
206 +- id: ledger_digest_upload_failed
207 + azure_name: ledger_digest_upload_failed
208 + time_grain: PT1M
209 + series:
210 + - aggregation: count
211 + kind: counter
212 +- id: ledger_digest_upload_success
213 + azure_name: ledger_digest_upload_success
214 + time_grain: PT1M
215 + series:
216 + - aggregation: count
217 + kind: counter
218 +template:
219 + family: Azure SQL Database
220 + context_namespace: sql_database
221 + chart_defaults:
222 + label_promotion:
223 + - resource_name
224 + - resource_group
225 + - region
226 + - resource_type
227 + - profile
228 + instances:
229 + by_labels:
230 + - resource_uid
231 + charts:
232 + - id: am_azure_sql_database__cpu
233 + title: Azure SQL Database CPU Utilization
234 + context: cpu
235 + family: Utilization
236 + type: line
237 + units: percentage
238 + algorithm: absolute
239 + dimensions:
240 + - selector: sql_database.cpu_percent_average
241 + name: average
242 + - selector: sql_database.cpu_percent_maximum
243 + name: maximum
244 + - id: am_azure_sql_database__instance_cpu
245 + title: Azure SQL Database Instance CPU Utilization
246 + context: instance_cpu
247 + family: Utilization
248 + type: line
249 + units: percentage
250 + algorithm: absolute
251 + dimensions:
252 + - selector: sql_database.sql_instance_cpu_percent_average
253 + name: average
254 + - id: am_azure_sql_database__instance_memory
255 + title: Azure SQL Database Instance Memory Utilization
256 + context: instance_memory
257 + family: Utilization
258 + type: line
259 + units: percentage
260 + algorithm: absolute
261 + dimensions:
262 + - selector: sql_database.sql_instance_memory_percent_average
263 + name: average
264 + - id: am_azure_sql_database__dtu_consumption
265 + title: Azure SQL Database DTU Consumption
266 + context: dtu_consumption
267 + family: Utilization
268 + type: line
269 + units: percentage
270 + algorithm: absolute
271 + dimensions:
272 + - selector: sql_database.dtu_consumption_percent_average
273 + name: average
274 + - id: am_azure_sql_database__io_utilization
275 + title: Azure SQL Database I/O Utilization
276 + context: io_utilization
277 + family: I/O
278 + type: line
279 + units: percentage
280 + algorithm: absolute
281 + dimensions:
282 + - selector: sql_database.physical_data_read_percent_average
283 + name: data_read
284 + - selector: sql_database.log_write_percent_average
285 + name: log_write
286 + - id: am_azure_sql_database__resource_utilization
287 + title: Azure SQL Database Resource Utilization
288 + context: resource_utilization
289 + family: Utilization
290 + type: line
291 + units: percentage
292 + algorithm: absolute
293 + dimensions:
294 + - selector: sql_database.workers_percent_average
295 + name: workers
296 + - selector: sql_database.sessions_percent_average
297 + name: sessions
298 + - id: am_azure_sql_database__availability
299 + title: Azure SQL Database Availability
300 + context: availability
301 + family: Availability
302 + type: line
303 + units: percentage
304 + algorithm: absolute
305 + dimensions:
306 + - selector: sql_database.availability_average
307 + name: average
308 + - id: am_azure_sql_database__connections
309 + title: Azure SQL Database Connection Events
310 + context: connections
311 + family: Connections
312 + type: line
313 + units: connections/s
314 + algorithm: incremental
315 + dimensions:
316 + - selector: sql_database.connection_successful_total
317 + name: successful
318 + - selector: sql_database.connection_failed_total
319 + name: failed_system
320 + - selector: sql_database.connection_failed_user_error_total
321 + name: failed_user
322 + - selector: sql_database.blocked_by_firewall_total
323 + name: firewall_blocked
324 + - id: am_azure_sql_database__deadlocks
325 + title: Azure SQL Database Deadlocks
326 + context: deadlocks
327 + family: Locking
328 + type: line
329 + units: deadlocks/s
330 + algorithm: incremental
331 + dimensions:
332 + - selector: sql_database.deadlock_total
333 + name: total
334 + - id: am_azure_sql_database__storage
335 + title: Azure SQL Database Storage
336 + context: storage
337 + family: Storage
338 + type: line
339 + units: bytes
340 + algorithm: absolute
341 + dimensions:
342 + - selector: sql_database.storage_average
343 + name: used
344 + - selector: sql_database.allocated_data_storage_average
345 + name: allocated
346 + - id: am_azure_sql_database__storage_utilization
347 + title: Azure SQL Database Storage Utilization
348 + context: storage_utilization
349 + family: Storage
350 + type: line
351 + units: percentage
352 + algorithm: absolute
353 + dimensions:
354 + - selector: sql_database.storage_percent_average
355 + name: average
356 + - id: am_azure_sql_database__tempdb_size
357 + title: Azure SQL Database Tempdb Size
358 + context: tempdb_size
359 + family: Tempdb
360 + type: line
361 + units: KiB
362 + algorithm: absolute
363 + dimensions:
364 + - selector: sql_database.tempdb_data_size_average
365 + name: data
366 + - selector: sql_database.tempdb_log_size_average
367 + name: log
368 + - id: am_azure_sql_database__tempdb_log_utilization
369 + title: Azure SQL Database Tempdb Log Utilization
370 + context: tempdb_log_utilization
371 + family: Tempdb
372 + type: line
373 + units: percentage
374 + algorithm: absolute
375 + dimensions:
376 + - selector: sql_database.tempdb_log_used_percent_average
377 + name: average
378 + - id: am_azure_sql_database__vcore_usage
379 + title: Azure SQL Database vCore Usage
380 + context: vcore_usage
381 + family: Capacity
382 + type: line
383 + units: vCores
384 + algorithm: absolute
385 + dimensions:
386 + - selector: sql_database.cpu_used_average
387 + name: used
388 + - selector: sql_database.cpu_limit_average
389 + name: limit
390 + - id: am_azure_sql_database__dtu_usage
391 + title: Azure SQL Database DTU Usage
392 + context: dtu_usage
393 + family: Capacity
394 + type: line
395 + units: DTU
396 + algorithm: absolute
397 + dimensions:
398 + - selector: sql_database.dtu_used_average
399 + name: used
400 + - selector: sql_database.dtu_limit_average
401 + name: limit
402 + - id: am_azure_sql_database__sessions_count
403 + title: Azure SQL Database Sessions Count
404 + context: sessions_count
405 + family: Capacity
406 + type: line
407 + units: sessions
408 + algorithm: absolute
409 + dimensions:
410 + - selector: sql_database.sessions_count_average
411 + name: average
412 + - id: am_azure_sql_database__replication_lag
413 + title: Azure SQL Database Replication Lag
414 + context: replication_lag
415 + family: Replication
416 + type: line
417 + units: seconds
418 + algorithm: absolute
419 + dimensions:
420 + - selector: sql_database.replication_lag_seconds_average
421 + name: average
422 + - id: am_azure_sql_database__xtp_storage
423 + title: Azure SQL Database In-Memory OLTP Storage
424 + context: xtp_storage
425 + family: In-Memory OLTP
426 + type: line
427 + units: percentage
428 + algorithm: absolute
429 + dimensions:
430 + - selector: sql_database.xtp_storage_percent_average
431 + name: average
432 + - id: am_azure_sql_database__serverless_utilization
433 + title: Azure SQL Database Serverless Utilization
434 + context: serverless_utilization
435 + family: Serverless
436 + type: line
437 + units: percentage
438 + algorithm: absolute
439 + dimensions:
440 + - selector: sql_database.app_cpu_percent_average
441 + name: cpu
442 + - selector: sql_database.app_memory_percent_average
443 + name: memory
444 + - id: am_azure_sql_database__serverless_billing
445 + title: Azure SQL Database Serverless Billing
446 + context: serverless_billing
447 + family: Serverless
448 + type: line
449 + units: vCore-seconds/s
450 + algorithm: incremental
451 + dimensions:
452 + - selector: sql_database.app_cpu_billed_total
453 + name: total
454 + - selector: sql_database.app_cpu_billed_ha_replicas_total
455 + name: ha_replicas
456 + - id: am_azure_sql_database__free_tier_usage
457 + title: Azure SQL Database Free Tier Usage
458 + context: free_tier_usage
459 + family: Free Tier
460 + type: line
461 + units: vCore-seconds
462 + algorithm: absolute
463 + dimensions:
464 + - selector: sql_database.free_amount_consumed_average
465 + name: consumed
466 + - selector: sql_database.free_amount_remaining_average
467 + name: remaining
468 + - id: am_azure_sql_database__ledger_digest
469 + title: Azure SQL Database Ledger Digest Uploads
470 + context: ledger_digest
471 + family: Ledger
472 + type: line
473 + units: events/s
474 + algorithm: incremental
475 + dimensions:
476 + - selector: sql_database.ledger_digest_upload_success_count
477 + name: success
478 + - selector: sql_database.ledger_digest_upload_failed_count
479 + name: failed
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/sql_elastic_pool.yaml new
+351
@@ -0,0 +1,351 @@
1 +---
2 +id: sql_elastic_pool
3 +name: Azure SQL Elastic Pool
4 +resource_type: Microsoft.Sql/servers/elasticPools
5 +metrics:
6 +- id: cpu_percent
7 + azure_name: cpu_percent
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 + - aggregation: maximum
13 + kind: gauge
14 +- id: cpu_used
15 + azure_name: cpu_used
16 + time_grain: PT1M
17 + series:
18 + - aggregation: average
19 + kind: gauge
20 +- id: cpu_limit
21 + azure_name: cpu_limit
22 + time_grain: PT1M
23 + series:
24 + - aggregation: average
25 + kind: gauge
26 +- id: dtu_consumption_percent
27 + azure_name: dtu_consumption_percent
28 + time_grain: PT1M
29 + series:
30 + - aggregation: average
31 + kind: gauge
32 +- id: e_dtu_used
33 + azure_name: eDTU_used
34 + time_grain: PT1M
35 + series:
36 + - aggregation: average
37 + kind: gauge
38 +- id: e_dtu_limit
39 + azure_name: eDTU_limit
40 + time_grain: PT1M
41 + series:
42 + - aggregation: average
43 + kind: gauge
44 +- id: sql_instance_cpu_percent
45 + azure_name: sql_instance_cpu_percent
46 + time_grain: PT1M
47 + series:
48 + - aggregation: average
49 + kind: gauge
50 +- id: sql_instance_memory_percent
51 + azure_name: sql_instance_memory_percent
52 + time_grain: PT1M
53 + series:
54 + - aggregation: average
55 + kind: gauge
56 +- id: physical_data_read_percent
57 + azure_name: physical_data_read_percent
58 + time_grain: PT1M
59 + series:
60 + - aggregation: average
61 + kind: gauge
62 +- id: log_write_percent
63 + azure_name: log_write_percent
64 + time_grain: PT1M
65 + series:
66 + - aggregation: average
67 + kind: gauge
68 +- id: workers_percent
69 + azure_name: workers_percent
70 + time_grain: PT1M
71 + series:
72 + - aggregation: average
73 + kind: gauge
74 +- id: sessions_percent
75 + azure_name: sessions_percent
76 + time_grain: PT1M
77 + series:
78 + - aggregation: average
79 + kind: gauge
80 +- id: sessions_count
81 + azure_name: sessions_count
82 + time_grain: PT1M
83 + series:
84 + - aggregation: average
85 + kind: gauge
86 +- id: allocated_data_storage
87 + azure_name: allocated_data_storage
88 + time_grain: PT1M
89 + series:
90 + - aggregation: average
91 + kind: gauge
92 +- id: allocated_data_storage_percent
93 + azure_name: allocated_data_storage_percent
94 + time_grain: PT1M
95 + series:
96 + - aggregation: average
97 + kind: gauge
98 +- id: storage_used
99 + azure_name: storage_used
100 + time_grain: PT1M
101 + series:
102 + - aggregation: average
103 + kind: gauge
104 +- id: storage_percent
105 + azure_name: storage_percent
106 + time_grain: PT1M
107 + series:
108 + - aggregation: average
109 + kind: gauge
110 +- id: storage_limit
111 + azure_name: storage_limit
112 + time_grain: PT1M
113 + series:
114 + - aggregation: average
115 + kind: gauge
116 +- id: xtp_storage_percent
117 + azure_name: xtp_storage_percent
118 + time_grain: PT1M
119 + series:
120 + - aggregation: average
121 + kind: gauge
122 +- id: tempdb_data_size
123 + azure_name: tempdb_data_size
124 + time_grain: PT1M
125 + series:
126 + - aggregation: average
127 + kind: gauge
128 +- id: tempdb_log_size
129 + azure_name: tempdb_log_size
130 + time_grain: PT1M
131 + series:
132 + - aggregation: average
133 + kind: gauge
134 +- id: tempdb_log_used_percent
135 + azure_name: tempdb_log_used_percent
136 + time_grain: PT1M
137 + series:
138 + - aggregation: average
139 + kind: gauge
140 +- id: app_cpu_percent
141 + azure_name: app_cpu_percent
142 + time_grain: PT1M
143 + series:
144 + - aggregation: average
145 + kind: gauge
146 +- id: app_memory_percent
147 + azure_name: app_memory_percent
148 + time_grain: PT1M
149 + series:
150 + - aggregation: average
151 + kind: gauge
152 +- id: app_cpu_billed
153 + azure_name: app_cpu_billed
154 + time_grain: PT1M
155 + series:
156 + - aggregation: total
157 + kind: counter
158 +template:
159 + family: Azure SQL Elastic Pool
160 + context_namespace: sql_elastic_pool
161 + chart_defaults:
162 + label_promotion:
163 + - resource_name
164 + - resource_group
165 + - region
166 + - resource_type
167 + - profile
168 + instances:
169 + by_labels:
170 + - resource_uid
171 + charts:
172 + - id: am_azure_sql_elastic_pool__cpu
173 + title: Azure SQL Elastic Pool CPU Utilization
174 + context: cpu
175 + family: Utilization
176 + type: line
177 + units: percentage
178 + algorithm: absolute
179 + dimensions:
180 + - selector: sql_elastic_pool.cpu_percent_average
181 + name: average
182 + - selector: sql_elastic_pool.cpu_percent_maximum
183 + name: maximum
184 + - id: am_azure_sql_elastic_pool__instance_cpu
185 + title: Azure SQL Elastic Pool Instance CPU Utilization
186 + context: instance_cpu
187 + family: Utilization
188 + type: line
189 + units: percentage
190 + algorithm: absolute
191 + dimensions:
192 + - selector: sql_elastic_pool.sql_instance_cpu_percent_average
193 + name: average
194 + - id: am_azure_sql_elastic_pool__instance_memory
195 + title: Azure SQL Elastic Pool Instance Memory Utilization
196 + context: instance_memory
197 + family: Utilization
198 + type: line
199 + units: percentage
200 + algorithm: absolute
201 + dimensions:
202 + - selector: sql_elastic_pool.sql_instance_memory_percent_average
203 + name: average
204 + - id: am_azure_sql_elastic_pool__dtu_consumption
205 + title: Azure SQL Elastic Pool DTU Consumption
206 + context: dtu_consumption
207 + family: Utilization
208 + type: line
209 + units: percentage
210 + algorithm: absolute
211 + dimensions:
212 + - selector: sql_elastic_pool.dtu_consumption_percent_average
213 + name: average
214 + - id: am_azure_sql_elastic_pool__io_utilization
215 + title: Azure SQL Elastic Pool I/O Utilization
216 + context: io_utilization
217 + family: I/O
218 + type: line
219 + units: percentage
220 + algorithm: absolute
221 + dimensions:
222 + - selector: sql_elastic_pool.physical_data_read_percent_average
223 + name: data_read
224 + - selector: sql_elastic_pool.log_write_percent_average
225 + name: log_write
226 + - id: am_azure_sql_elastic_pool__resource_utilization
227 + title: Azure SQL Elastic Pool Resource Utilization
228 + context: resource_utilization
229 + family: Utilization
230 + type: line
231 + units: percentage
232 + algorithm: absolute
233 + dimensions:
234 + - selector: sql_elastic_pool.workers_percent_average
235 + name: workers
236 + - selector: sql_elastic_pool.sessions_percent_average
237 + name: sessions
238 + - id: am_azure_sql_elastic_pool__sessions_count
239 + title: Azure SQL Elastic Pool Sessions Count
240 + context: sessions_count
241 + family: Capacity
242 + type: line
243 + units: sessions
244 + algorithm: absolute
245 + dimensions:
246 + - selector: sql_elastic_pool.sessions_count_average
247 + name: average
248 + - id: am_azure_sql_elastic_pool__storage
249 + title: Azure SQL Elastic Pool Storage
250 + context: storage
251 + family: Storage
252 + type: line
253 + units: bytes
254 + algorithm: absolute
255 + dimensions:
256 + - selector: sql_elastic_pool.storage_used_average
257 + name: used
258 + - selector: sql_elastic_pool.allocated_data_storage_average
259 + name: allocated
260 + - selector: sql_elastic_pool.storage_limit_average
261 + name: limit
262 + - id: am_azure_sql_elastic_pool__storage_utilization
263 + title: Azure SQL Elastic Pool Storage Utilization
264 + context: storage_utilization
265 + family: Storage
266 + type: line
267 + units: percentage
268 + algorithm: absolute
269 + dimensions:
270 + - selector: sql_elastic_pool.storage_percent_average
271 + name: used
272 + - selector: sql_elastic_pool.allocated_data_storage_percent_average
273 + name: allocated
274 + - id: am_azure_sql_elastic_pool__xtp_storage
275 + title: Azure SQL Elastic Pool In-Memory OLTP Storage
276 + context: xtp_storage
277 + family: In-Memory OLTP
278 + type: line
279 + units: percentage
280 + algorithm: absolute
281 + dimensions:
282 + - selector: sql_elastic_pool.xtp_storage_percent_average
283 + name: average
284 + - id: am_azure_sql_elastic_pool__tempdb_size
285 + title: Azure SQL Elastic Pool Tempdb Size
286 + context: tempdb_size
287 + family: Tempdb
288 + type: line
289 + units: KiB
290 + algorithm: absolute
291 + dimensions:
292 + - selector: sql_elastic_pool.tempdb_data_size_average
293 + name: data
294 + - selector: sql_elastic_pool.tempdb_log_size_average
295 + name: log
296 + - id: am_azure_sql_elastic_pool__tempdb_log_utilization
297 + title: Azure SQL Elastic Pool Tempdb Log Utilization
298 + context: tempdb_log_utilization
299 + family: Tempdb
300 + type: line
301 + units: percentage
302 + algorithm: absolute
303 + dimensions:
304 + - selector: sql_elastic_pool.tempdb_log_used_percent_average
305 + name: average
306 + - id: am_azure_sql_elastic_pool__vcore_usage
307 + title: Azure SQL Elastic Pool vCore Usage
308 + context: vcore_usage
309 + family: Capacity
310 + type: line
311 + units: vCores
312 + algorithm: absolute
313 + dimensions:
314 + - selector: sql_elastic_pool.cpu_used_average
315 + name: used
316 + - selector: sql_elastic_pool.cpu_limit_average
317 + name: limit
318 + - id: am_azure_sql_elastic_pool__edtu_usage
319 + title: Azure SQL Elastic Pool eDTU Usage
320 + context: edtu_usage
321 + family: Capacity
322 + type: line
323 + units: eDTU
324 + algorithm: absolute
325 + dimensions:
326 + - selector: sql_elastic_pool.e_dtu_used_average
327 + name: used
328 + - selector: sql_elastic_pool.e_dtu_limit_average
329 + name: limit
330 + - id: am_azure_sql_elastic_pool__serverless_utilization
331 + title: Azure SQL Elastic Pool Serverless Utilization
332 + context: serverless_utilization
333 + family: Serverless
334 + type: line
335 + units: percentage
336 + algorithm: absolute
337 + dimensions:
338 + - selector: sql_elastic_pool.app_cpu_percent_average
339 + name: cpu
340 + - selector: sql_elastic_pool.app_memory_percent_average
341 + name: memory
342 + - id: am_azure_sql_elastic_pool__serverless_billing
343 + title: Azure SQL Elastic Pool Serverless Billing
344 + context: serverless_billing
345 + family: Serverless
346 + type: line
347 + units: vCore-seconds/s
348 + algorithm: incremental
349 + dimensions:
350 + - selector: sql_elastic_pool.app_cpu_billed_total
351 + name: total
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/sql_managed_instance.yaml new
+119
@@ -0,0 +1,119 @@
1 +---
2 +id: sql_managed_instance
3 +name: Azure SQL Managed Instance
4 +resource_type: Microsoft.Sql/managedInstances
5 +metrics:
6 +- id: avg_cpu_percent
7 + azure_name: avg_cpu_percent
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 + - aggregation: maximum
13 + kind: gauge
14 +- id: io_bytes_read
15 + azure_name: io_bytes_read
16 + time_grain: PT1M
17 + series:
18 + - aggregation: average
19 + kind: gauge
20 +- id: io_bytes_written
21 + azure_name: io_bytes_written
22 + time_grain: PT1M
23 + series:
24 + - aggregation: average
25 + kind: gauge
26 +- id: io_requests
27 + azure_name: io_requests
28 + time_grain: PT1M
29 + series:
30 + - aggregation: average
31 + kind: gauge
32 +- id: reserved_storage_mb
33 + azure_name: reserved_storage_mb
34 + time_grain: PT1M
35 + series:
36 + - aggregation: average
37 + kind: gauge
38 +- id: storage_space_used_mb
39 + azure_name: storage_space_used_mb
40 + time_grain: PT1M
41 + series:
42 + - aggregation: average
43 + kind: gauge
44 +- id: virtual_core_count
45 + azure_name: virtual_core_count
46 + time_grain: PT1M
47 + series:
48 + - aggregation: average
49 + kind: gauge
50 +template:
51 + family: Azure SQL Managed Instance
52 + context_namespace: sql_managed_instance
53 + chart_defaults:
54 + label_promotion:
55 + - resource_name
56 + - resource_group
57 + - region
58 + - resource_type
59 + - profile
60 + instances:
61 + by_labels:
62 + - resource_uid
63 + charts:
64 + - id: am_azure_sql_managed_instance__cpu
65 + title: Azure SQL Managed Instance CPU Utilization
66 + context: cpu
67 + family: Utilization
68 + type: line
69 + units: percentage
70 + algorithm: absolute
71 + dimensions:
72 + - selector: sql_managed_instance.avg_cpu_percent_average
73 + name: average
74 + - selector: sql_managed_instance.avg_cpu_percent_maximum
75 + name: maximum
76 + - id: am_azure_sql_managed_instance__io_throughput
77 + title: Azure SQL Managed Instance I/O Throughput
78 + context: io_throughput
79 + family: I/O
80 + type: line
81 + units: bytes/s
82 + algorithm: absolute
83 + dimensions:
84 + - selector: sql_managed_instance.io_bytes_read_average
85 + name: read
86 + - selector: sql_managed_instance.io_bytes_written_average
87 + name: written
88 + - id: am_azure_sql_managed_instance__io_requests
89 + title: Azure SQL Managed Instance I/O Requests
90 + context: io_requests
91 + family: I/O
92 + type: line
93 + units: requests/s
94 + algorithm: absolute
95 + dimensions:
96 + - selector: sql_managed_instance.io_requests_average
97 + name: average
98 + - id: am_azure_sql_managed_instance__storage
99 + title: Azure SQL Managed Instance Storage
100 + context: storage
101 + family: Capacity
102 + type: line
103 + units: MiB
104 + algorithm: absolute
105 + dimensions:
106 + - selector: sql_managed_instance.reserved_storage_mb_average
107 + name: reserved
108 + - selector: sql_managed_instance.storage_space_used_mb_average
109 + name: used
110 + - id: am_azure_sql_managed_instance__virtual_core_count
111 + title: Azure SQL Managed Instance Virtual Core Count
112 + context: virtual_core_count
113 + family: Capacity
114 + type: line
115 + units: cores
116 + algorithm: absolute
117 + dimensions:
118 + - selector: sql_managed_instance.virtual_core_count_average
119 + name: average
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/storage_accounts.yaml new
+131
@@ -0,0 +1,131 @@
1 +---
2 +id: storage_accounts
3 +name: Azure Storage Account
4 +resource_type: Microsoft.Storage/storageAccounts
5 +metrics:
6 +- id: availability
7 + azure_name: Availability
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: transactions
13 + azure_name: Transactions
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: ingress
19 + azure_name: Ingress
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: counter
24 +- id: egress
25 + azure_name: Egress
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: success_e2e_latency
31 + azure_name: SuccessE2ELatency
32 + time_grain: PT1M
33 + series:
34 + - aggregation: average
35 + kind: gauge
36 + - aggregation: maximum
37 + kind: gauge
38 +- id: success_server_latency
39 + azure_name: SuccessServerLatency
40 + time_grain: PT1M
41 + series:
42 + - aggregation: average
43 + kind: gauge
44 + - aggregation: maximum
45 + kind: gauge
46 +- id: used_capacity
47 + azure_name: UsedCapacity
48 + time_grain: PT1H
49 + series:
50 + - aggregation: average
51 + kind: gauge
52 +template:
53 + family: Azure Storage Account
54 + context_namespace: storage_accounts
55 + chart_defaults:
56 + label_promotion:
57 + - resource_name
58 + - resource_group
59 + - region
60 + - resource_type
61 + - profile
62 + instances:
63 + by_labels:
64 + - resource_uid
65 + charts:
66 + - id: am_azure_storage_accounts__availability
67 + title: Azure Storage Account Availability
68 + context: availability
69 + family: Availability
70 + type: line
71 + units: percentage
72 + algorithm: absolute
73 + dimensions:
74 + - selector: storage_accounts.availability_average
75 + name: average
76 + - id: am_azure_storage_accounts__transactions
77 + title: Azure Storage Account Transactions
78 + context: transactions
79 + family: Throughput
80 + type: line
81 + units: transactions/s
82 + algorithm: incremental
83 + dimensions:
84 + - selector: storage_accounts.transactions_total
85 + name: total
86 + - id: am_azure_storage_accounts__throughput
87 + title: Azure Storage Account Throughput
88 + context: throughput
89 + family: Throughput
90 + type: line
91 + units: bytes/s
92 + algorithm: incremental
93 + dimensions:
94 + - selector: storage_accounts.ingress_total
95 + name: ingress
96 + - selector: storage_accounts.egress_total
97 + name: egress
98 + - id: am_azure_storage_accounts__e2e_latency
99 + title: Azure Storage Account End-to-End Latency
100 + context: e2e_latency
101 + family: Latency
102 + type: line
103 + units: milliseconds
104 + algorithm: absolute
105 + dimensions:
106 + - selector: storage_accounts.success_e2e_latency_average
107 + name: average
108 + - selector: storage_accounts.success_e2e_latency_maximum
109 + name: maximum
110 + - id: am_azure_storage_accounts__server_latency
111 + title: Azure Storage Account Server Latency
112 + context: server_latency
113 + family: Latency
114 + type: line
115 + units: milliseconds
116 + algorithm: absolute
117 + dimensions:
118 + - selector: storage_accounts.success_server_latency_average
119 + name: average
120 + - selector: storage_accounts.success_server_latency_maximum
121 + name: maximum
122 + - id: am_azure_storage_accounts__used_capacity
123 + title: Azure Storage Account Used Capacity
124 + context: used_capacity
125 + family: Capacity
126 + type: line
127 + units: bytes
128 + algorithm: absolute
129 + dimensions:
130 + - selector: storage_accounts.used_capacity_average
131 + name: average
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/stream_analytics.yaml new
+251
@@ -0,0 +1,251 @@
1 +---
2 +id: stream_analytics
3 +name: Azure Stream Analytics Job
4 +resource_type: Microsoft.StreamAnalytics/streamingjobs
5 +metrics:
6 +- id: input_events
7 + azure_name: InputEvents
8 + time_grain: PT1M
9 + series:
10 + - aggregation: total
11 + kind: counter
12 +- id: input_event_bytes
13 + azure_name: InputEventBytes
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: input_events_sources_per_second
19 + azure_name: InputEventsSourcesPerSecond
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: counter
24 +- id: output_events
25 + azure_name: OutputEvents
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: late_input_events
31 + azure_name: LateInputEvents
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: counter
36 +- id: early_input_events
37 + azure_name: EarlyInputEvents
38 + time_grain: PT1M
39 + series:
40 + - aggregation: total
41 + kind: counter
42 +- id: dropped_or_adjusted_events
43 + azure_name: DroppedOrAdjustedEvents
44 + time_grain: PT1M
45 + series:
46 + - aggregation: total
47 + kind: counter
48 +- id: input_events_sources_backlogged
49 + azure_name: InputEventsSourcesBacklogged
50 + time_grain: PT1M
51 + series:
52 + - aggregation: average
53 + kind: gauge
54 + - aggregation: maximum
55 + kind: gauge
56 + - aggregation: minimum
57 + kind: gauge
58 +- id: output_watermark_delay_seconds
59 + azure_name: OutputWatermarkDelaySeconds
60 + time_grain: PT1M
61 + series:
62 + - aggregation: average
63 + kind: gauge
64 + - aggregation: maximum
65 + kind: gauge
66 + - aggregation: minimum
67 + kind: gauge
68 +- id: conversion_errors
69 + azure_name: ConversionErrors
70 + time_grain: PT1M
71 + series:
72 + - aggregation: total
73 + kind: counter
74 +- id: deserialization_error
75 + azure_name: DeserializationError
76 + time_grain: PT1M
77 + series:
78 + - aggregation: total
79 + kind: counter
80 +- id: errors
81 + azure_name: Errors
82 + time_grain: PT1M
83 + series:
84 + - aggregation: total
85 + kind: counter
86 +- id: aml_callout_requests
87 + azure_name: AMLCalloutRequests
88 + time_grain: PT1M
89 + series:
90 + - aggregation: total
91 + kind: counter
92 +- id: aml_callout_failed_requests
93 + azure_name: AMLCalloutFailedRequests
94 + time_grain: PT1M
95 + series:
96 + - aggregation: total
97 + kind: counter
98 +- id: aml_callout_input_events
99 + azure_name: AMLCalloutInputEvents
100 + time_grain: PT1M
101 + series:
102 + - aggregation: total
103 + kind: counter
104 +- id: process_cpu_usage_percentage
105 + azure_name: ProcessCPUUsagePercentage
106 + time_grain: PT1M
107 + series:
108 + - aggregation: average
109 + kind: gauge
110 + - aggregation: maximum
111 + kind: gauge
112 + - aggregation: minimum
113 + kind: gauge
114 +- id: resource_utilization
115 + azure_name: ResourceUtilization
116 + time_grain: PT1M
117 + series:
118 + - aggregation: average
119 + kind: gauge
120 + - aggregation: maximum
121 + kind: gauge
122 + - aggregation: minimum
123 + kind: gauge
124 +template:
125 + family: Azure Stream Analytics Job
126 + context_namespace: stream_analytics
127 + chart_defaults:
128 + label_promotion:
129 + - resource_name
130 + - resource_group
131 + - region
132 + - resource_type
133 + - profile
134 + instances:
135 + by_labels:
136 + - resource_uid
137 + charts:
138 + - id: am_azure_stream_analytics__event_flow
139 + title: Azure Stream Analytics Event Flow
140 + context: event_flow
141 + family: Events
142 + type: line
143 + units: events/s
144 + algorithm: incremental
145 + dimensions:
146 + - selector: stream_analytics.input_events_total
147 + name: in
148 + - selector: stream_analytics.output_events_total
149 + name: out
150 + - id: am_azure_stream_analytics__input_data_throughput
151 + title: Azure Stream Analytics Input Data Throughput
152 + context: input_data_throughput
153 + family: Events
154 + type: line
155 + units: bytes/s
156 + algorithm: incremental
157 + dimensions:
158 + - selector: stream_analytics.input_event_bytes_total
159 + name: received
160 + - id: am_azure_stream_analytics__input_sources_received
161 + title: Azure Stream Analytics Input Sources Received
162 + context: input_sources_received
163 + family: Events
164 + type: line
165 + units: sources/s
166 + algorithm: incremental
167 + dimensions:
168 + - selector: stream_analytics.input_events_sources_per_second_total
169 + name: received
170 + - id: am_azure_stream_analytics__event_timing
171 + title: Azure Stream Analytics Event Timing Issues
172 + context: event_timing
173 + family: Events
174 + type: line
175 + units: events/s
176 + algorithm: incremental
177 + dimensions:
178 + - selector: stream_analytics.late_input_events_total
179 + name: late
180 + - selector: stream_analytics.early_input_events_total
181 + name: early
182 + - selector: stream_analytics.dropped_or_adjusted_events_total
183 + name: out_of_order
184 + - id: am_azure_stream_analytics__backlogged_events
185 + title: Azure Stream Analytics Backlogged Events
186 + context: backlogged_events
187 + family: Backlog
188 + type: line
189 + units: events
190 + algorithm: absolute
191 + dimensions:
192 + - selector: stream_analytics.input_events_sources_backlogged_average
193 + name: backlogged
194 + - id: am_azure_stream_analytics__watermark_delay
195 + title: Azure Stream Analytics Watermark Delay
196 + context: watermark_delay
197 + family: Watermark
198 + type: line
199 + units: seconds
200 + algorithm: absolute
201 + dimensions:
202 + - selector: stream_analytics.output_watermark_delay_seconds_maximum
203 + name: delay
204 + - id: am_azure_stream_analytics__errors
205 + title: Azure Stream Analytics Errors
206 + context: errors
207 + family: Errors
208 + type: line
209 + units: errors/s
210 + algorithm: incremental
211 + dimensions:
212 + - selector: stream_analytics.errors_total
213 + name: runtime
214 + - selector: stream_analytics.conversion_errors_total
215 + name: data_conversion
216 + - selector: stream_analytics.deserialization_error_total
217 + name: deserialization
218 + - id: am_azure_stream_analytics__function_requests
219 + title: Azure Stream Analytics Function Requests
220 + context: function_requests
221 + family: Functions
222 + type: line
223 + units: requests/s
224 + algorithm: incremental
225 + dimensions:
226 + - selector: stream_analytics.aml_callout_requests_total
227 + name: total
228 + - selector: stream_analytics.aml_callout_failed_requests_total
229 + name: failed
230 + - id: am_azure_stream_analytics__function_events
231 + title: Azure Stream Analytics Function Events
232 + context: function_events
233 + family: Functions
234 + type: line
235 + units: events/s
236 + algorithm: incremental
237 + dimensions:
238 + - selector: stream_analytics.aml_callout_input_events_total
239 + name: input
240 + - id: am_azure_stream_analytics__resource_utilization
241 + title: Azure Stream Analytics Resource Utilization
242 + context: resource_utilization
243 + family: Resources
244 + type: line
245 + units: percentage
246 + algorithm: absolute
247 + dimensions:
248 + - selector: stream_analytics.process_cpu_usage_percentage_average
249 + name: cpu
250 + - selector: stream_analytics.resource_utilization_average
251 + name: su_memory
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/synapse.yaml new
+367
@@ -0,0 +1,367 @@
1 +---
2 +id: synapse
3 +name: Azure Synapse Analytics Workspace
4 +resource_type: Microsoft.Synapse/workspaces
5 +metrics:
6 +- id: builtin_sql_pool_data_processed_bytes
7 + azure_name: BuiltinSqlPoolDataProcessedBytes
8 + time_grain: PT1M
9 + series:
10 + - aggregation: total
11 + kind: counter
12 +- id: builtin_sql_pool_login_attempts
13 + azure_name: BuiltinSqlPoolLoginAttempts
14 + time_grain: PT1M
15 + series:
16 + - aggregation: total
17 + kind: counter
18 +- id: builtin_sql_pool_requests_ended
19 + azure_name: BuiltinSqlPoolRequestsEnded
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: counter
24 +- id: integration_activity_runs_ended
25 + azure_name: IntegrationActivityRunsEnded
26 + time_grain: PT1M
27 + series:
28 + - aggregation: total
29 + kind: counter
30 +- id: integration_link_connection_events
31 + azure_name: IntegrationLinkConnectionEvents
32 + time_grain: PT1M
33 + series:
34 + - aggregation: total
35 + kind: counter
36 +- id: integration_link_processed_changed_rows
37 + azure_name: IntegrationLinkProcessedChangedRows
38 + time_grain: PT1M
39 + series:
40 + - aggregation: total
41 + kind: counter
42 +- id: integration_link_processed_data_volume
43 + azure_name: IntegrationLinkProcessedDataVolume
44 + time_grain: PT1M
45 + series:
46 + - aggregation: total
47 + kind: counter
48 +- id: integration_link_processing_latency_in_seconds
49 + azure_name: IntegrationLinkProcessingLatencyInSeconds
50 + time_grain: PT1M
51 + series:
52 + - aggregation: average
53 + kind: gauge
54 + - aggregation: maximum
55 + kind: gauge
56 + - aggregation: minimum
57 + kind: gauge
58 +- id: integration_link_table_events
59 + azure_name: IntegrationLinkTableEvents
60 + time_grain: PT1M
61 + series:
62 + - aggregation: total
63 + kind: counter
64 +- id: integration_pipeline_runs_ended
65 + azure_name: IntegrationPipelineRunsEnded
66 + time_grain: PT1M
67 + series:
68 + - aggregation: total
69 + kind: counter
70 +- id: integration_trigger_runs_ended
71 + azure_name: IntegrationTriggerRunsEnded
72 + time_grain: PT1M
73 + series:
74 + - aggregation: total
75 + kind: counter
76 +- id: sql_streaming_input_events
77 + azure_name: SQLStreamingInputEvents
78 + time_grain: PT1M
79 + series:
80 + - aggregation: total
81 + kind: counter
82 +- id: sql_streaming_input_event_bytes
83 + azure_name: SQLStreamingInputEventBytes
84 + time_grain: PT1M
85 + series:
86 + - aggregation: total
87 + kind: counter
88 +- id: sql_streaming_input_events_sources_per_second
89 + azure_name: SQLStreamingInputEventsSourcesPerSecond
90 + time_grain: PT1M
91 + series:
92 + - aggregation: total
93 + kind: counter
94 +- id: sql_streaming_output_events
95 + azure_name: SQLStreamingOutputEvents
96 + time_grain: PT1M
97 + series:
98 + - aggregation: total
99 + kind: counter
100 +- id: sql_streaming_backlogged_input_event_sources
101 + azure_name: SQLStreamingBackloggedInputEventSources
102 + time_grain: PT1M
103 + series:
104 + - aggregation: total
105 + kind: counter
106 +- id: sql_streaming_early_input_events
107 + azure_name: SQLStreamingEarlyInputEvents
108 + time_grain: PT1M
109 + series:
110 + - aggregation: total
111 + kind: counter
112 +- id: sql_streaming_late_input_events
113 + azure_name: SQLStreamingLateInputEvents
114 + time_grain: PT1M
115 + series:
116 + - aggregation: total
117 + kind: counter
118 +- id: sql_streaming_out_of_order_events
119 + azure_name: SQLStreamingOutOfOrderEvents
120 + time_grain: PT1M
121 + series:
122 + - aggregation: total
123 + kind: counter
124 +- id: sql_streaming_output_watermark_delay_seconds
125 + azure_name: SQLStreamingOutputWatermarkDelaySeconds
126 + time_grain: PT1M
127 + series:
128 + - aggregation: average
129 + kind: gauge
130 + - aggregation: maximum
131 + kind: gauge
132 + - aggregation: minimum
133 + kind: gauge
134 +- id: sql_streaming_conversion_errors
135 + azure_name: SQLStreamingConversionErrors
136 + time_grain: PT1M
137 + series:
138 + - aggregation: total
139 + kind: counter
140 +- id: sql_streaming_deserialization_error
141 + azure_name: SQLStreamingDeserializationError
142 + time_grain: PT1M
143 + series:
144 + - aggregation: total
145 + kind: counter
146 +- id: sql_streaming_runtime_errors
147 + azure_name: SQLStreamingRuntimeErrors
148 + time_grain: PT1M
149 + series:
150 + - aggregation: total
151 + kind: counter
152 +- id: sql_streaming_resource_utilization
153 + azure_name: SQLStreamingResourceUtilization
154 + time_grain: PT1M
155 + series:
156 + - aggregation: average
157 + kind: gauge
158 + - aggregation: maximum
159 + kind: gauge
160 + - aggregation: minimum
161 + kind: gauge
162 +template:
163 + family: Azure Synapse Analytics Workspace
164 + context_namespace: synapse
165 + chart_defaults:
166 + label_promotion:
167 + - resource_name
168 + - resource_group
169 + - region
170 + - resource_type
171 + - profile
172 + instances:
173 + by_labels:
174 + - resource_uid
175 + charts:
176 + - id: am_azure_synapse__builtin_sql_pool_data_processed
177 + title: Azure Synapse Built-in SQL Pool Data Processed
178 + context: builtin_sql_pool_data_processed
179 + family: Built-in SQL Pool
180 + type: line
181 + units: bytes/s
182 + algorithm: incremental
183 + dimensions:
184 + - selector: synapse.builtin_sql_pool_data_processed_bytes_total
185 + name: processed
186 + - id: am_azure_synapse__builtin_sql_pool_login_attempts
187 + title: Azure Synapse Built-in SQL Pool Login Attempts
188 + context: builtin_sql_pool_login_attempts
189 + family: Built-in SQL Pool
190 + type: line
191 + units: attempts/s
192 + algorithm: incremental
193 + dimensions:
194 + - selector: synapse.builtin_sql_pool_login_attempts_total
195 + name: login_attempts
196 + - id: am_azure_synapse__builtin_sql_pool_requests
197 + title: Azure Synapse Built-in SQL Pool Requests Ended
198 + context: builtin_sql_pool_requests
199 + family: Built-in SQL Pool
200 + type: line
201 + units: requests/s
202 + algorithm: incremental
203 + dimensions:
204 + - selector: synapse.builtin_sql_pool_requests_ended_total
205 + name: requests
206 + - id: am_azure_synapse__activity_runs
207 + title: Azure Synapse Activity Runs
208 + context: activity_runs
209 + family: Integration
210 + type: line
211 + units: runs/s
212 + algorithm: incremental
213 + dimensions:
214 + - selector: synapse.integration_activity_runs_ended_total
215 + name: ended
216 + - id: am_azure_synapse__pipeline_runs
217 + title: Azure Synapse Pipeline Runs
218 + context: pipeline_runs
219 + family: Integration
220 + type: line
221 + units: runs/s
222 + algorithm: incremental
223 + dimensions:
224 + - selector: synapse.integration_pipeline_runs_ended_total
225 + name: ended
226 + - id: am_azure_synapse__trigger_runs
227 + title: Azure Synapse Trigger Runs
228 + context: trigger_runs
229 + family: Integration
230 + type: line
231 + units: runs/s
232 + algorithm: incremental
233 + dimensions:
234 + - selector: synapse.integration_trigger_runs_ended_total
235 + name: ended
236 + - id: am_azure_synapse__link_connection_events
237 + title: Azure Synapse Link Connection Events
238 + context: link_connection_events
239 + family: Link
240 + type: line
241 + units: events/s
242 + algorithm: incremental
243 + dimensions:
244 + - selector: synapse.integration_link_connection_events_total
245 + name: events
246 + - id: am_azure_synapse__link_table_events
247 + title: Azure Synapse Link Table Events
248 + context: link_table_events
249 + family: Link
250 + type: line
251 + units: events/s
252 + algorithm: incremental
253 + dimensions:
254 + - selector: synapse.integration_link_table_events_total
255 + name: events
256 + - id: am_azure_synapse__link_processed_rows
257 + title: Azure Synapse Link Processed Changed Rows
258 + context: link_processed_rows
259 + family: Link
260 + type: line
261 + units: rows/s
262 + algorithm: incremental
263 + dimensions:
264 + - selector: synapse.integration_link_processed_changed_rows_total
265 + name: changed_rows
266 + - id: am_azure_synapse__link_data_volume
267 + title: Azure Synapse Link Processed Data Volume
268 + context: link_data_volume
269 + family: Link
270 + type: line
271 + units: bytes/s
272 + algorithm: incremental
273 + dimensions:
274 + - selector: synapse.integration_link_processed_data_volume_total
275 + name: processed
276 + - id: am_azure_synapse__link_processing_latency
277 + title: Azure Synapse Link Processing Latency
278 + context: link_processing_latency
279 + family: Link
280 + type: line
281 + units: seconds
282 + algorithm: absolute
283 + dimensions:
284 + - selector: synapse.integration_link_processing_latency_in_seconds_average
285 + name: average
286 + - id: am_azure_synapse__streaming_event_flow
287 + title: Azure Synapse Streaming Event Flow
288 + context: streaming_event_flow
289 + family: Streaming Job
290 + type: line
291 + units: events/s
292 + algorithm: incremental
293 + dimensions:
294 + - selector: synapse.sql_streaming_input_events_total
295 + name: in
296 + - selector: synapse.sql_streaming_output_events_total
297 + name: out
298 + - id: am_azure_synapse__streaming_input_throughput
299 + title: Azure Synapse Streaming Input Data Throughput
300 + context: streaming_input_throughput
301 + family: Streaming Job
302 + type: line
303 + units: bytes/s
304 + algorithm: incremental
305 + dimensions:
306 + - selector: synapse.sql_streaming_input_event_bytes_total
307 + name: received
308 + - id: am_azure_synapse__streaming_input_sources
309 + title: Azure Synapse Streaming Input Sources Received
310 + context: streaming_input_sources
311 + family: Streaming Job
312 + type: line
313 + units: sources/s
314 + algorithm: incremental
315 + dimensions:
316 + - selector: synapse.sql_streaming_input_events_sources_per_second_total
317 + name: received
318 + - id: am_azure_synapse__streaming_event_timing
319 + title: Azure Synapse Streaming Event Timing Issues
320 + context: streaming_event_timing
321 + family: Streaming Job
322 + type: line
323 + units: events/s
324 + algorithm: incremental
325 + dimensions:
326 + - selector: synapse.sql_streaming_late_input_events_total
327 + name: late
328 + - selector: synapse.sql_streaming_early_input_events_total
329 + name: early
330 + - selector: synapse.sql_streaming_out_of_order_events_total
331 + name: out_of_order
332 + - selector: synapse.sql_streaming_backlogged_input_event_sources_total
333 + name: backlogged
334 + - id: am_azure_synapse__streaming_watermark_delay
335 + title: Azure Synapse Streaming Watermark Delay
336 + context: streaming_watermark_delay
337 + family: Streaming Job
338 + type: line
339 + units: seconds
340 + algorithm: absolute
341 + dimensions:
342 + - selector: synapse.sql_streaming_output_watermark_delay_seconds_maximum
343 + name: delay
344 + - id: am_azure_synapse__streaming_errors
345 + title: Azure Synapse Streaming Errors
346 + context: streaming_errors
347 + family: Streaming Job
348 + type: line
349 + units: errors/s
350 + algorithm: incremental
351 + dimensions:
352 + - selector: synapse.sql_streaming_runtime_errors_total
353 + name: runtime
354 + - selector: synapse.sql_streaming_conversion_errors_total
355 + name: data_conversion
356 + - selector: synapse.sql_streaming_deserialization_error_total
357 + name: deserialization
358 + - id: am_azure_synapse__streaming_resource_utilization
359 + title: Azure Synapse Streaming Resource Utilization
360 + context: streaming_resource_utilization
361 + family: Streaming Job
362 + type: line
363 + units: percentage
364 + algorithm: absolute
365 + dimensions:
366 + - selector: synapse.sql_streaming_resource_utilization_average
367 + name: utilization
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/virtual_machines.yaml new
+803
@@ -0,0 +1,803 @@
1 +---
2 +id: virtual_machines
3 +name: Azure Virtual Machine
4 +resource_type: Microsoft.Compute/virtualMachines
5 +metrics:
6 +- id: percentage_cpu
7 + azure_name: Percentage CPU
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: cpu_credits_consumed
13 + azure_name: CPU Credits Consumed
14 + time_grain: PT1M
15 + series:
16 + - aggregation: average
17 + kind: gauge
18 +- id: cpu_credits_remaining
19 + azure_name: CPU Credits Remaining
20 + time_grain: PT1M
21 + series:
22 + - aggregation: average
23 + kind: gauge
24 +- id: available_memory_bytes
25 + azure_name: Available Memory Bytes
26 + time_grain: PT1M
27 + series:
28 + - aggregation: average
29 + kind: gauge
30 +- id: available_memory_percentage
31 + azure_name: Available Memory Percentage
32 + time_grain: PT1M
33 + series:
34 + - aggregation: average
35 + kind: gauge
36 +- id: vm_availability_metric
37 + azure_name: VmAvailabilityMetric
38 + time_grain: PT1M
39 + series:
40 + - aggregation: average
41 + kind: gauge
42 +- id: network_in_total
43 + azure_name: Network In Total
44 + time_grain: PT1M
45 + series:
46 + - aggregation: total
47 + kind: counter
48 +- id: network_out_total
49 + azure_name: Network Out Total
50 + time_grain: PT1M
51 + series:
52 + - aggregation: total
53 + kind: counter
54 +- id: inbound_flows
55 + azure_name: Inbound Flows
56 + time_grain: PT1M
57 + series:
58 + - aggregation: average
59 + kind: gauge
60 +- id: outbound_flows
61 + azure_name: Outbound Flows
62 + time_grain: PT1M
63 + series:
64 + - aggregation: average
65 + kind: gauge
66 +- id: inbound_flows_maximum_creation_rate
67 + azure_name: Inbound Flows Maximum Creation Rate
68 + time_grain: PT1M
69 + series:
70 + - aggregation: average
71 + kind: gauge
72 +- id: outbound_flows_maximum_creation_rate
73 + azure_name: Outbound Flows Maximum Creation Rate
74 + time_grain: PT1M
75 + series:
76 + - aggregation: average
77 + kind: gauge
78 +- id: disk_read_bytes
79 + azure_name: Disk Read Bytes
80 + time_grain: PT1M
81 + series:
82 + - aggregation: total
83 + kind: counter
84 +- id: disk_write_bytes
85 + azure_name: Disk Write Bytes
86 + time_grain: PT1M
87 + series:
88 + - aggregation: total
89 + kind: counter
90 +- id: disk_read_operations_sec
91 + azure_name: Disk Read Operations/Sec
92 + time_grain: PT1M
93 + series:
94 + - aggregation: average
95 + kind: gauge
96 +- id: disk_write_operations_sec
97 + azure_name: Disk Write Operations/Sec
98 + time_grain: PT1M
99 + series:
100 + - aggregation: average
101 + kind: gauge
102 +- id: os_disk_read_bytes_sec
103 + azure_name: OS Disk Read Bytes/sec
104 + time_grain: PT1M
105 + series:
106 + - aggregation: average
107 + kind: gauge
108 +- id: os_disk_write_bytes_sec
109 + azure_name: OS Disk Write Bytes/sec
110 + time_grain: PT1M
111 + series:
112 + - aggregation: average
113 + kind: gauge
114 +- id: os_disk_read_operations_sec
115 + azure_name: OS Disk Read Operations/Sec
116 + time_grain: PT1M
117 + series:
118 + - aggregation: average
119 + kind: gauge
120 +- id: os_disk_write_operations_sec
121 + azure_name: OS Disk Write Operations/Sec
122 + time_grain: PT1M
123 + series:
124 + - aggregation: average
125 + kind: gauge
126 +- id: os_disk_queue_depth
127 + azure_name: OS Disk Queue Depth
128 + time_grain: PT1M
129 + series:
130 + - aggregation: average
131 + kind: gauge
132 +- id: os_disk_latency
133 + azure_name: OS Disk Latency
134 + time_grain: PT1M
135 + series:
136 + - aggregation: average
137 + kind: gauge
138 +- id: os_disk_bandwidth_consumed_percentage
139 + azure_name: OS Disk Bandwidth Consumed Percentage
140 + time_grain: PT1M
141 + series:
142 + - aggregation: average
143 + kind: gauge
144 +- id: os_disk_iops_consumed_percentage
145 + azure_name: OS Disk IOPS Consumed Percentage
146 + time_grain: PT1M
147 + series:
148 + - aggregation: average
149 + kind: gauge
150 +- id: os_disk_max_burst_bandwidth
151 + azure_name: OS Disk Max Burst Bandwidth
152 + time_grain: PT1M
153 + series:
154 + - aggregation: average
155 + kind: gauge
156 +- id: os_disk_max_burst_iops
157 + azure_name: OS Disk Max Burst IOPS
158 + time_grain: PT1M
159 + series:
160 + - aggregation: average
161 + kind: gauge
162 +- id: os_disk_target_bandwidth
163 + azure_name: OS Disk Target Bandwidth
164 + time_grain: PT1M
165 + series:
166 + - aggregation: average
167 + kind: gauge
168 +- id: os_disk_target_iops
169 + azure_name: OS Disk Target IOPS
170 + time_grain: PT1M
171 + series:
172 + - aggregation: average
173 + kind: gauge
174 +- id: os_disk_used_burst_bps_credits_percentage
175 + azure_name: OS Disk Used Burst BPS Credits Percentage
176 + time_grain: PT1M
177 + series:
178 + - aggregation: average
179 + kind: gauge
180 +- id: os_disk_used_burst_io_credits_percentage
181 + azure_name: OS Disk Used Burst IO Credits Percentage
182 + time_grain: PT1M
183 + series:
184 + - aggregation: average
185 + kind: gauge
186 +- id: data_disk_read_bytes_sec
187 + azure_name: Data Disk Read Bytes/sec
188 + time_grain: PT1M
189 + series:
190 + - aggregation: average
191 + kind: gauge
192 +- id: data_disk_write_bytes_sec
193 + azure_name: Data Disk Write Bytes/sec
194 + time_grain: PT1M
195 + series:
196 + - aggregation: average
197 + kind: gauge
198 +- id: data_disk_read_operations_sec
199 + azure_name: Data Disk Read Operations/Sec
200 + time_grain: PT1M
201 + series:
202 + - aggregation: average
203 + kind: gauge
204 +- id: data_disk_write_operations_sec
205 + azure_name: Data Disk Write Operations/Sec
206 + time_grain: PT1M
207 + series:
208 + - aggregation: average
209 + kind: gauge
210 +- id: data_disk_queue_depth
211 + azure_name: Data Disk Queue Depth
212 + time_grain: PT1M
213 + series:
214 + - aggregation: average
215 + kind: gauge
216 +- id: data_disk_latency
217 + azure_name: Data Disk Latency
218 + time_grain: PT1M
219 + series:
220 + - aggregation: average
221 + kind: gauge
222 +- id: data_disk_bandwidth_consumed_percentage
223 + azure_name: Data Disk Bandwidth Consumed Percentage
224 + time_grain: PT1M
225 + series:
226 + - aggregation: average
227 + kind: gauge
228 +- id: data_disk_iops_consumed_percentage
229 + azure_name: Data Disk IOPS Consumed Percentage
230 + time_grain: PT1M
231 + series:
232 + - aggregation: average
233 + kind: gauge
234 +- id: data_disk_max_burst_bandwidth
235 + azure_name: Data Disk Max Burst Bandwidth
236 + time_grain: PT1M
237 + series:
238 + - aggregation: average
239 + kind: gauge
240 +- id: data_disk_max_burst_iops
241 + azure_name: Data Disk Max Burst IOPS
242 + time_grain: PT1M
243 + series:
244 + - aggregation: average
245 + kind: gauge
246 +- id: data_disk_target_bandwidth
247 + azure_name: Data Disk Target Bandwidth
248 + time_grain: PT1M
249 + series:
250 + - aggregation: average
251 + kind: gauge
252 +- id: data_disk_target_iops
253 + azure_name: Data Disk Target IOPS
254 + time_grain: PT1M
255 + series:
256 + - aggregation: average
257 + kind: gauge
258 +- id: data_disk_used_burst_bps_credits_percentage
259 + azure_name: Data Disk Used Burst BPS Credits Percentage
260 + time_grain: PT1M
261 + series:
262 + - aggregation: average
263 + kind: gauge
264 +- id: data_disk_used_burst_io_credits_percentage
265 + azure_name: Data Disk Used Burst IO Credits Percentage
266 + time_grain: PT1M
267 + series:
268 + - aggregation: average
269 + kind: gauge
270 +- id: temp_disk_read_bytes_sec
271 + azure_name: Temp Disk Read Bytes/sec
272 + time_grain: PT1M
273 + series:
274 + - aggregation: average
275 + kind: gauge
276 +- id: temp_disk_write_bytes_sec
277 + azure_name: Temp Disk Write Bytes/sec
278 + time_grain: PT1M
279 + series:
280 + - aggregation: average
281 + kind: gauge
282 +- id: temp_disk_read_operations_sec
283 + azure_name: Temp Disk Read Operations/Sec
284 + time_grain: PT1M
285 + series:
286 + - aggregation: average
287 + kind: gauge
288 +- id: temp_disk_write_operations_sec
289 + azure_name: Temp Disk Write Operations/Sec
290 + time_grain: PT1M
291 + series:
292 + - aggregation: average
293 + kind: gauge
294 +- id: temp_disk_queue_depth
295 + azure_name: Temp Disk Queue Depth
296 + time_grain: PT1M
297 + series:
298 + - aggregation: average
299 + kind: gauge
300 +- id: temp_disk_latency
301 + azure_name: Temp Disk Latency
302 + time_grain: PT1M
303 + series:
304 + - aggregation: average
305 + kind: gauge
306 +- id: premium_data_disk_cache_read_hit
307 + azure_name: Premium Data Disk Cache Read Hit
308 + time_grain: PT1M
309 + series:
310 + - aggregation: average
311 + kind: gauge
312 +- id: premium_data_disk_cache_read_miss
313 + azure_name: Premium Data Disk Cache Read Miss
314 + time_grain: PT1M
315 + series:
316 + - aggregation: average
317 + kind: gauge
318 +- id: premium_os_disk_cache_read_hit
319 + azure_name: Premium OS Disk Cache Read Hit
320 + time_grain: PT1M
321 + series:
322 + - aggregation: average
323 + kind: gauge
324 +- id: premium_os_disk_cache_read_miss
325 + azure_name: Premium OS Disk Cache Read Miss
326 + time_grain: PT1M
327 + series:
328 + - aggregation: average
329 + kind: gauge
330 +- id: vm_cached_bandwidth_consumed_percentage
331 + azure_name: VM Cached Bandwidth Consumed Percentage
332 + time_grain: PT1M
333 + series:
334 + - aggregation: average
335 + kind: gauge
336 +- id: vm_cached_iops_consumed_percentage
337 + azure_name: VM Cached IOPS Consumed Percentage
338 + time_grain: PT1M
339 + series:
340 + - aggregation: average
341 + kind: gauge
342 +- id: vm_uncached_bandwidth_consumed_percentage
343 + azure_name: VM Uncached Bandwidth Consumed Percentage
344 + time_grain: PT1M
345 + series:
346 + - aggregation: average
347 + kind: gauge
348 +- id: vm_uncached_iops_consumed_percentage
349 + azure_name: VM Uncached IOPS Consumed Percentage
350 + time_grain: PT1M
351 + series:
352 + - aggregation: average
353 + kind: gauge
354 +- id: vm_local_used_burst_bps_credits_percentage
355 + azure_name: VM Local Used Burst BPS Credits Percentage
356 + time_grain: PT1M
357 + series:
358 + - aggregation: average
359 + kind: gauge
360 +- id: vm_local_used_burst_io_credits_percentage
361 + azure_name: VM Local Used Burst IO Credits Percentage
362 + time_grain: PT1M
363 + series:
364 + - aggregation: average
365 + kind: gauge
366 +- id: vm_remote_used_burst_bps_credits_percentage
367 + azure_name: VM Remote Used Burst BPS Credits Percentage
368 + time_grain: PT1M
369 + series:
370 + - aggregation: average
371 + kind: gauge
372 +- id: vm_remote_used_burst_io_credits_percentage
373 + azure_name: VM Remote Used Burst IO Credits Percentage
374 + time_grain: PT1M
375 + series:
376 + - aggregation: average
377 + kind: gauge
378 +template:
379 + family: Azure Virtual Machine
380 + context_namespace: virtual_machines
381 + chart_defaults:
382 + label_promotion:
383 + - resource_name
384 + - resource_group
385 + - region
386 + - resource_type
387 + - profile
388 + instances:
389 + by_labels:
390 + - resource_uid
391 + charts:
392 + - id: am_azure_virtual_machines__cpu
393 + title: Azure Virtual Machine CPU Utilization
394 + context: cpu
395 + family: CPU
396 + type: line
397 + units: percentage
398 + algorithm: absolute
399 + dimensions:
400 + - selector: virtual_machines.percentage_cpu_average
401 + name: average
402 + - id: am_azure_virtual_machines__cpu_credits
403 + title: Azure Virtual Machine CPU Credits
404 + context: cpu_credits
405 + family: CPU
406 + type: line
407 + units: credits
408 + algorithm: absolute
409 + dimensions:
410 + - selector: virtual_machines.cpu_credits_consumed_average
411 + name: consumed
412 + - selector: virtual_machines.cpu_credits_remaining_average
413 + name: remaining
414 + - id: am_azure_virtual_machines__memory
415 + title: Azure Virtual Machine Available Memory
416 + context: memory
417 + family: Memory
418 + type: line
419 + units: bytes
420 + algorithm: absolute
421 + dimensions:
422 + - selector: virtual_machines.available_memory_bytes_average
423 + name: available
424 + - id: am_azure_virtual_machines__memory_percentage
425 + title: Azure Virtual Machine Available Memory Percentage
426 + context: memory_percentage
427 + family: Memory
428 + type: line
429 + units: percentage
430 + algorithm: absolute
431 + dimensions:
432 + - selector: virtual_machines.available_memory_percentage_average
433 + name: available
434 + - id: am_azure_virtual_machines__availability
435 + title: Azure Virtual Machine Availability
436 + context: availability
437 + family: Availability
438 + type: line
439 + units: state
440 + algorithm: absolute
441 + dimensions:
442 + - selector: virtual_machines.vm_availability_metric_average
443 + name: average
444 + - id: am_azure_virtual_machines__network_traffic
445 + title: Azure Virtual Machine Network Traffic
446 + context: network_traffic
447 + family: Network
448 + type: line
449 + units: bytes/s
450 + algorithm: incremental
451 + dimensions:
452 + - selector: virtual_machines.network_in_total_total
453 + name: in
454 + - selector: virtual_machines.network_out_total_total
455 + name: out
456 + - id: am_azure_virtual_machines__network_flows
457 + title: Azure Virtual Machine Network Flows
458 + context: network_flows
459 + family: Network
460 + type: line
461 + units: flows
462 + algorithm: absolute
463 + dimensions:
464 + - selector: virtual_machines.inbound_flows_average
465 + name: in
466 + - selector: virtual_machines.outbound_flows_average
467 + name: out
468 + - id: am_azure_virtual_machines__network_flow_creation_rate
469 + title: Azure Virtual Machine Network Flow Creation Rate
470 + context: network_flow_creation_rate
471 + family: Network
472 + type: line
473 + units: flows/s
474 + algorithm: absolute
475 + dimensions:
476 + - selector: virtual_machines.inbound_flows_maximum_creation_rate_average
477 + name: in
478 + - selector: virtual_machines.outbound_flows_maximum_creation_rate_average
479 + name: out
480 + - id: am_azure_virtual_machines__disk_throughput
481 + title: Azure Virtual Machine Disk Throughput
482 + context: disk_throughput
483 + family: Disk
484 + type: line
485 + units: bytes/s
486 + algorithm: incremental
487 + dimensions:
488 + - selector: virtual_machines.disk_read_bytes_total
489 + name: read
490 + - selector: virtual_machines.disk_write_bytes_total
491 + name: write
492 + - id: am_azure_virtual_machines__disk_iops
493 + title: Azure Virtual Machine Disk IOPS
494 + context: disk_iops
495 + family: Disk
496 + type: line
497 + units: operations/s
498 + algorithm: absolute
499 + dimensions:
500 + - selector: virtual_machines.disk_read_operations_sec_average
501 + name: read
502 + - selector: virtual_machines.disk_write_operations_sec_average
503 + name: write
504 + - id: am_azure_virtual_machines__os_disk_throughput
505 + title: Azure Virtual Machine OS Disk Throughput
506 + context: os_disk_throughput
507 + family: OS Disk
508 + type: line
509 + units: bytes/s
510 + algorithm: absolute
511 + dimensions:
512 + - selector: virtual_machines.os_disk_read_bytes_sec_average
513 + name: read
514 + - selector: virtual_machines.os_disk_write_bytes_sec_average
515 + name: write
516 + - id: am_azure_virtual_machines__os_disk_iops
517 + title: Azure Virtual Machine OS Disk IOPS
518 + context: os_disk_iops
519 + family: OS Disk
520 + type: line
521 + units: operations/s
522 + algorithm: absolute
523 + dimensions:
524 + - selector: virtual_machines.os_disk_read_operations_sec_average
525 + name: read
526 + - selector: virtual_machines.os_disk_write_operations_sec_average
527 + name: write
528 + - id: am_azure_virtual_machines__os_disk_latency
529 + title: Azure Virtual Machine OS Disk Latency
530 + context: os_disk_latency
531 + family: OS Disk
532 + type: line
533 + units: milliseconds
534 + algorithm: absolute
535 + dimensions:
536 + - selector: virtual_machines.os_disk_latency_average
537 + name: average
538 + - id: am_azure_virtual_machines__os_disk_queue_depth
539 + title: Azure Virtual Machine OS Disk Queue Depth
540 + context: os_disk_queue_depth
541 + family: OS Disk
542 + type: line
543 + units: operations
544 + algorithm: absolute
545 + dimensions:
546 + - selector: virtual_machines.os_disk_queue_depth_average
547 + name: average
548 + - id: am_azure_virtual_machines__os_disk_throttling
549 + title: Azure Virtual Machine OS Disk Throttling
550 + context: os_disk_throttling
551 + family: OS Disk
552 + type: line
553 + units: percentage
554 + algorithm: absolute
555 + dimensions:
556 + - selector: virtual_machines.os_disk_bandwidth_consumed_percentage_average
557 + name: bandwidth
558 + - selector: virtual_machines.os_disk_iops_consumed_percentage_average
559 + name: iops
560 + - id: am_azure_virtual_machines__os_disk_burst_capacity
561 + title: Azure Virtual Machine OS Disk Burst Capacity
562 + context: os_disk_burst_capacity
563 + family: OS Disk
564 + type: line
565 + units: bytes/s
566 + algorithm: absolute
567 + dimensions:
568 + - selector: virtual_machines.os_disk_max_burst_bandwidth_average
569 + name: max_burst
570 + - selector: virtual_machines.os_disk_target_bandwidth_average
571 + name: target
572 + - id: am_azure_virtual_machines__os_disk_burst_iops_capacity
573 + title: Azure Virtual Machine OS Disk Burst IOPS Capacity
574 + context: os_disk_burst_iops_capacity
575 + family: OS Disk
576 + type: line
577 + units: iops
578 + algorithm: absolute
579 + dimensions:
580 + - selector: virtual_machines.os_disk_max_burst_iops_average
581 + name: max_burst
582 + - selector: virtual_machines.os_disk_target_iops_average
583 + name: target
584 + - id: am_azure_virtual_machines__os_disk_burst_credits
585 + title: Azure Virtual Machine OS Disk Burst Credits Used
586 + context: os_disk_burst_credits
587 + family: OS Disk
588 + type: line
589 + units: percentage
590 + algorithm: absolute
591 + dimensions:
592 + - selector: virtual_machines.os_disk_used_burst_bps_credits_percentage_average
593 + name: bandwidth
594 + - selector: virtual_machines.os_disk_used_burst_io_credits_percentage_average
595 + name: io
596 + - id: am_azure_virtual_machines__data_disk_throughput
597 + title: Azure Virtual Machine Data Disk Throughput
598 + context: data_disk_throughput
599 + family: Data Disk
600 + type: line
601 + units: bytes/s
602 + algorithm: absolute
603 + dimensions:
604 + - selector: virtual_machines.data_disk_read_bytes_sec_average
605 + name: read
606 + - selector: virtual_machines.data_disk_write_bytes_sec_average
607 + name: write
608 + - id: am_azure_virtual_machines__data_disk_iops
609 + title: Azure Virtual Machine Data Disk IOPS
610 + context: data_disk_iops
611 + family: Data Disk
612 + type: line
613 + units: operations/s
614 + algorithm: absolute
615 + dimensions:
616 + - selector: virtual_machines.data_disk_read_operations_sec_average
617 + name: read
618 + - selector: virtual_machines.data_disk_write_operations_sec_average
619 + name: write
620 + - id: am_azure_virtual_machines__data_disk_latency
621 + title: Azure Virtual Machine Data Disk Latency
622 + context: data_disk_latency
623 + family: Data Disk
624 + type: line
625 + units: milliseconds
626 + algorithm: absolute
627 + dimensions:
628 + - selector: virtual_machines.data_disk_latency_average
629 + name: average
630 + - id: am_azure_virtual_machines__data_disk_queue_depth
631 + title: Azure Virtual Machine Data Disk Queue Depth
632 + context: data_disk_queue_depth
633 + family: Data Disk
634 + type: line
635 + units: operations
636 + algorithm: absolute
637 + dimensions:
638 + - selector: virtual_machines.data_disk_queue_depth_average
639 + name: average
640 + - id: am_azure_virtual_machines__data_disk_throttling
641 + title: Azure Virtual Machine Data Disk Throttling
642 + context: data_disk_throttling
643 + family: Data Disk
644 + type: line
645 + units: percentage
646 + algorithm: absolute
647 + dimensions:
648 + - selector: virtual_machines.data_disk_bandwidth_consumed_percentage_average
649 + name: bandwidth
650 + - selector: virtual_machines.data_disk_iops_consumed_percentage_average
651 + name: iops
652 + - id: am_azure_virtual_machines__data_disk_burst_capacity
653 + title: Azure Virtual Machine Data Disk Burst Capacity
654 + context: data_disk_burst_capacity
655 + family: Data Disk
656 + type: line
657 + units: bytes/s
658 + algorithm: absolute
659 + dimensions:
660 + - selector: virtual_machines.data_disk_max_burst_bandwidth_average
661 + name: max_burst
662 + - selector: virtual_machines.data_disk_target_bandwidth_average
663 + name: target
664 + - id: am_azure_virtual_machines__data_disk_burst_iops_capacity
665 + title: Azure Virtual Machine Data Disk Burst IOPS Capacity
666 + context: data_disk_burst_iops_capacity
667 + family: Data Disk
668 + type: line
669 + units: iops
670 + algorithm: absolute
671 + dimensions:
672 + - selector: virtual_machines.data_disk_max_burst_iops_average
673 + name: max_burst
674 + - selector: virtual_machines.data_disk_target_iops_average
675 + name: target
676 + - id: am_azure_virtual_machines__data_disk_burst_credits
677 + title: Azure Virtual Machine Data Disk Burst Credits Used
678 + context: data_disk_burst_credits
679 + family: Data Disk
680 + type: line
681 + units: percentage
682 + algorithm: absolute
683 + dimensions:
684 + - selector: virtual_machines.data_disk_used_burst_bps_credits_percentage_average
685 + name: bandwidth
686 + - selector: virtual_machines.data_disk_used_burst_io_credits_percentage_average
687 + name: io
688 + - id: am_azure_virtual_machines__temp_disk_throughput
689 + title: Azure Virtual Machine Temp Disk Throughput
690 + context: temp_disk_throughput
691 + family: Temp Disk
692 + type: line
693 + units: bytes/s
694 + algorithm: absolute
695 + dimensions:
696 + - selector: virtual_machines.temp_disk_read_bytes_sec_average
697 + name: read
698 + - selector: virtual_machines.temp_disk_write_bytes_sec_average
699 + name: write
700 + - id: am_azure_virtual_machines__temp_disk_iops
701 + title: Azure Virtual Machine Temp Disk IOPS
702 + context: temp_disk_iops
703 + family: Temp Disk
704 + type: line
705 + units: operations/s
706 + algorithm: absolute
707 + dimensions:
708 + - selector: virtual_machines.temp_disk_read_operations_sec_average
709 + name: read
710 + - selector: virtual_machines.temp_disk_write_operations_sec_average
711 + name: write
712 + - id: am_azure_virtual_machines__temp_disk_latency
713 + title: Azure Virtual Machine Temp Disk Latency
714 + context: temp_disk_latency
715 + family: Temp Disk
716 + type: line
717 + units: milliseconds
718 + algorithm: absolute
719 + dimensions:
720 + - selector: virtual_machines.temp_disk_latency_average
721 + name: average
722 + - id: am_azure_virtual_machines__temp_disk_queue_depth
723 + title: Azure Virtual Machine Temp Disk Queue Depth
724 + context: temp_disk_queue_depth
725 + family: Temp Disk
726 + type: line
727 + units: operations
728 + algorithm: absolute
729 + dimensions:
730 + - selector: virtual_machines.temp_disk_queue_depth_average
731 + name: average
732 + - id: am_azure_virtual_machines__premium_data_disk_cache
733 + title: Azure Virtual Machine Premium Data Disk Cache
734 + context: premium_data_disk_cache
735 + family: Premium Cache
736 + type: line
737 + units: percentage
738 + algorithm: absolute
739 + dimensions:
740 + - selector: virtual_machines.premium_data_disk_cache_read_hit_average
741 + name: hit
742 + - selector: virtual_machines.premium_data_disk_cache_read_miss_average
743 + name: miss
744 + - id: am_azure_virtual_machines__premium_os_disk_cache
745 + title: Azure Virtual Machine Premium OS Disk Cache
746 + context: premium_os_disk_cache
747 + family: Premium Cache
748 + type: line
749 + units: percentage
750 + algorithm: absolute
751 + dimensions:
752 + - selector: virtual_machines.premium_os_disk_cache_read_hit_average
753 + name: hit
754 + - selector: virtual_machines.premium_os_disk_cache_read_miss_average
755 + name: miss
756 + - id: am_azure_virtual_machines__vm_cached_throttling
757 + title: Azure Virtual Machine Cached IO Throttling
758 + context: vm_cached_throttling
759 + family: VM Throttling
760 + type: line
761 + units: percentage
762 + algorithm: absolute
763 + dimensions:
764 + - selector: virtual_machines.vm_cached_bandwidth_consumed_percentage_average
765 + name: bandwidth
766 + - selector: virtual_machines.vm_cached_iops_consumed_percentage_average
767 + name: iops
768 + - id: am_azure_virtual_machines__vm_uncached_throttling
769 + title: Azure Virtual Machine Uncached IO Throttling
770 + context: vm_uncached_throttling
771 + family: VM Throttling
772 + type: line
773 + units: percentage
774 + algorithm: absolute
775 + dimensions:
776 + - selector: virtual_machines.vm_uncached_bandwidth_consumed_percentage_average
777 + name: bandwidth
778 + - selector: virtual_machines.vm_uncached_iops_consumed_percentage_average
779 + name: iops
780 + - id: am_azure_virtual_machines__vm_cached_burst_credits
781 + title: Azure Virtual Machine Cached Burst Credits Used
782 + context: vm_cached_burst_credits
783 + family: VM Throttling
784 + type: line
785 + units: percentage
786 + algorithm: absolute
787 + dimensions:
788 + - selector: virtual_machines.vm_local_used_burst_bps_credits_percentage_average
789 + name: bandwidth
790 + - selector: virtual_machines.vm_local_used_burst_io_credits_percentage_average
791 + name: io
792 + - id: am_azure_virtual_machines__vm_uncached_burst_credits
793 + title: Azure Virtual Machine Uncached Burst Credits Used
794 + context: vm_uncached_burst_credits
795 + family: VM Throttling
796 + type: line
797 + units: percentage
798 + algorithm: absolute
799 + dimensions:
800 + - selector: virtual_machines.vm_remote_used_burst_bps_credits_percentage_average
801 + name: bandwidth
802 + - selector: virtual_machines.vm_remote_used_burst_io_credits_percentage_average
803 + name: io
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/vmss.yaml new
+803
@@ -0,0 +1,803 @@
1 +---
2 +id: vmss
3 +name: Azure Virtual Machine Scale Set
4 +resource_type: Microsoft.Compute/virtualMachineScaleSets
5 +metrics:
6 +- id: percentage_cpu
7 + azure_name: Percentage CPU
8 + time_grain: PT1M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: cpu_credits_consumed
13 + azure_name: CPU Credits Consumed
14 + time_grain: PT1M
15 + series:
16 + - aggregation: average
17 + kind: gauge
18 +- id: cpu_credits_remaining
19 + azure_name: CPU Credits Remaining
20 + time_grain: PT1M
21 + series:
22 + - aggregation: average
23 + kind: gauge
24 +- id: available_memory_bytes
25 + azure_name: Available Memory Bytes
26 + time_grain: PT1M
27 + series:
28 + - aggregation: average
29 + kind: gauge
30 +- id: available_memory_percentage
31 + azure_name: Available Memory Percentage
32 + time_grain: PT1M
33 + series:
34 + - aggregation: average
35 + kind: gauge
36 +- id: vm_availability_metric
37 + azure_name: VmAvailabilityMetric
38 + time_grain: PT1M
39 + series:
40 + - aggregation: average
41 + kind: gauge
42 +- id: network_in_total
43 + azure_name: Network In Total
44 + time_grain: PT1M
45 + series:
46 + - aggregation: total
47 + kind: counter
48 +- id: network_out_total
49 + azure_name: Network Out Total
50 + time_grain: PT1M
51 + series:
52 + - aggregation: total
53 + kind: counter
54 +- id: inbound_flows
55 + azure_name: Inbound Flows
56 + time_grain: PT1M
57 + series:
58 + - aggregation: average
59 + kind: gauge
60 +- id: outbound_flows
61 + azure_name: Outbound Flows
62 + time_grain: PT1M
63 + series:
64 + - aggregation: average
65 + kind: gauge
66 +- id: inbound_flows_maximum_creation_rate
67 + azure_name: Inbound Flows Maximum Creation Rate
68 + time_grain: PT1M
69 + series:
70 + - aggregation: average
71 + kind: gauge
72 +- id: outbound_flows_maximum_creation_rate
73 + azure_name: Outbound Flows Maximum Creation Rate
74 + time_grain: PT1M
75 + series:
76 + - aggregation: average
77 + kind: gauge
78 +- id: disk_read_bytes
79 + azure_name: Disk Read Bytes
80 + time_grain: PT1M
81 + series:
82 + - aggregation: total
83 + kind: counter
84 +- id: disk_write_bytes
85 + azure_name: Disk Write Bytes
86 + time_grain: PT1M
87 + series:
88 + - aggregation: total
89 + kind: counter
90 +- id: disk_read_operations_sec
91 + azure_name: Disk Read Operations/Sec
92 + time_grain: PT1M
93 + series:
94 + - aggregation: average
95 + kind: gauge
96 +- id: disk_write_operations_sec
97 + azure_name: Disk Write Operations/Sec
98 + time_grain: PT1M
99 + series:
100 + - aggregation: average
101 + kind: gauge
102 +- id: os_disk_read_bytes_sec
103 + azure_name: OS Disk Read Bytes/sec
104 + time_grain: PT1M
105 + series:
106 + - aggregation: average
107 + kind: gauge
108 +- id: os_disk_write_bytes_sec
109 + azure_name: OS Disk Write Bytes/sec
110 + time_grain: PT1M
111 + series:
112 + - aggregation: average
113 + kind: gauge
114 +- id: os_disk_read_operations_sec
115 + azure_name: OS Disk Read Operations/Sec
116 + time_grain: PT1M
117 + series:
118 + - aggregation: average
119 + kind: gauge
120 +- id: os_disk_write_operations_sec
121 + azure_name: OS Disk Write Operations/Sec
122 + time_grain: PT1M
123 + series:
124 + - aggregation: average
125 + kind: gauge
126 +- id: os_disk_queue_depth
127 + azure_name: OS Disk Queue Depth
128 + time_grain: PT1M
129 + series:
130 + - aggregation: average
131 + kind: gauge
132 +- id: os_disk_latency
133 + azure_name: OS Disk Latency
134 + time_grain: PT1M
135 + series:
136 + - aggregation: average
137 + kind: gauge
138 +- id: os_disk_bandwidth_consumed_percentage
139 + azure_name: OS Disk Bandwidth Consumed Percentage
140 + time_grain: PT1M
141 + series:
142 + - aggregation: average
143 + kind: gauge
144 +- id: os_disk_iops_consumed_percentage
145 + azure_name: OS Disk IOPS Consumed Percentage
146 + time_grain: PT1M
147 + series:
148 + - aggregation: average
149 + kind: gauge
150 +- id: os_disk_max_burst_bandwidth
151 + azure_name: OS Disk Max Burst Bandwidth
152 + time_grain: PT1M
153 + series:
154 + - aggregation: average
155 + kind: gauge
156 +- id: os_disk_max_burst_iops
157 + azure_name: OS Disk Max Burst IOPS
158 + time_grain: PT1M
159 + series:
160 + - aggregation: average
161 + kind: gauge
162 +- id: os_disk_target_bandwidth
163 + azure_name: OS Disk Target Bandwidth
164 + time_grain: PT1M
165 + series:
166 + - aggregation: average
167 + kind: gauge
168 +- id: os_disk_target_iops
169 + azure_name: OS Disk Target IOPS
170 + time_grain: PT1M
171 + series:
172 + - aggregation: average
173 + kind: gauge
174 +- id: os_disk_used_burst_bps_credits_percentage
175 + azure_name: OS Disk Used Burst BPS Credits Percentage
176 + time_grain: PT1M
177 + series:
178 + - aggregation: average
179 + kind: gauge
180 +- id: os_disk_used_burst_io_credits_percentage
181 + azure_name: OS Disk Used Burst IO Credits Percentage
182 + time_grain: PT1M
183 + series:
184 + - aggregation: average
185 + kind: gauge
186 +- id: data_disk_read_bytes_sec
187 + azure_name: Data Disk Read Bytes/sec
188 + time_grain: PT1M
189 + series:
190 + - aggregation: average
191 + kind: gauge
192 +- id: data_disk_write_bytes_sec
193 + azure_name: Data Disk Write Bytes/sec
194 + time_grain: PT1M
195 + series:
196 + - aggregation: average
197 + kind: gauge
198 +- id: data_disk_read_operations_sec
199 + azure_name: Data Disk Read Operations/Sec
200 + time_grain: PT1M
201 + series:
202 + - aggregation: average
203 + kind: gauge
204 +- id: data_disk_write_operations_sec
205 + azure_name: Data Disk Write Operations/Sec
206 + time_grain: PT1M
207 + series:
208 + - aggregation: average
209 + kind: gauge
210 +- id: data_disk_queue_depth
211 + azure_name: Data Disk Queue Depth
212 + time_grain: PT1M
213 + series:
214 + - aggregation: average
215 + kind: gauge
216 +- id: data_disk_latency
217 + azure_name: Data Disk Latency
218 + time_grain: PT1M
219 + series:
220 + - aggregation: average
221 + kind: gauge
222 +- id: data_disk_bandwidth_consumed_percentage
223 + azure_name: Data Disk Bandwidth Consumed Percentage
224 + time_grain: PT1M
225 + series:
226 + - aggregation: average
227 + kind: gauge
228 +- id: data_disk_iops_consumed_percentage
229 + azure_name: Data Disk IOPS Consumed Percentage
230 + time_grain: PT1M
231 + series:
232 + - aggregation: average
233 + kind: gauge
234 +- id: data_disk_max_burst_bandwidth
235 + azure_name: Data Disk Max Burst Bandwidth
236 + time_grain: PT1M
237 + series:
238 + - aggregation: average
239 + kind: gauge
240 +- id: data_disk_max_burst_iops
241 + azure_name: Data Disk Max Burst IOPS
242 + time_grain: PT1M
243 + series:
244 + - aggregation: average
245 + kind: gauge
246 +- id: data_disk_target_bandwidth
247 + azure_name: Data Disk Target Bandwidth
248 + time_grain: PT1M
249 + series:
250 + - aggregation: average
251 + kind: gauge
252 +- id: data_disk_target_iops
253 + azure_name: Data Disk Target IOPS
254 + time_grain: PT1M
255 + series:
256 + - aggregation: average
257 + kind: gauge
258 +- id: data_disk_used_burst_bps_credits_percentage
259 + azure_name: Data Disk Used Burst BPS Credits Percentage
260 + time_grain: PT1M
261 + series:
262 + - aggregation: average
263 + kind: gauge
264 +- id: data_disk_used_burst_io_credits_percentage
265 + azure_name: Data Disk Used Burst IO Credits Percentage
266 + time_grain: PT1M
267 + series:
268 + - aggregation: average
269 + kind: gauge
270 +- id: temp_disk_read_bytes_sec
271 + azure_name: Temp Disk Read Bytes/sec
272 + time_grain: PT1M
273 + series:
274 + - aggregation: average
275 + kind: gauge
276 +- id: temp_disk_write_bytes_sec
277 + azure_name: Temp Disk Write Bytes/sec
278 + time_grain: PT1M
279 + series:
280 + - aggregation: average
281 + kind: gauge
282 +- id: temp_disk_read_operations_sec
283 + azure_name: Temp Disk Read Operations/Sec
284 + time_grain: PT1M
285 + series:
286 + - aggregation: average
287 + kind: gauge
288 +- id: temp_disk_write_operations_sec
289 + azure_name: Temp Disk Write Operations/Sec
290 + time_grain: PT1M
291 + series:
292 + - aggregation: average
293 + kind: gauge
294 +- id: temp_disk_queue_depth
295 + azure_name: Temp Disk Queue Depth
296 + time_grain: PT1M
297 + series:
298 + - aggregation: average
299 + kind: gauge
300 +- id: temp_disk_latency
301 + azure_name: Temp Disk Latency
302 + time_grain: PT1M
303 + series:
304 + - aggregation: average
305 + kind: gauge
306 +- id: premium_data_disk_cache_read_hit
307 + azure_name: Premium Data Disk Cache Read Hit
308 + time_grain: PT1M
309 + series:
310 + - aggregation: average
311 + kind: gauge
312 +- id: premium_data_disk_cache_read_miss
313 + azure_name: Premium Data Disk Cache Read Miss
314 + time_grain: PT1M
315 + series:
316 + - aggregation: average
317 + kind: gauge
318 +- id: premium_os_disk_cache_read_hit
319 + azure_name: Premium OS Disk Cache Read Hit
320 + time_grain: PT1M
321 + series:
322 + - aggregation: average
323 + kind: gauge
324 +- id: premium_os_disk_cache_read_miss
325 + azure_name: Premium OS Disk Cache Read Miss
326 + time_grain: PT1M
327 + series:
328 + - aggregation: average
329 + kind: gauge
330 +- id: vm_cached_bandwidth_consumed_percentage
331 + azure_name: VM Cached Bandwidth Consumed Percentage
332 + time_grain: PT1M
333 + series:
334 + - aggregation: average
335 + kind: gauge
336 +- id: vm_cached_iops_consumed_percentage
337 + azure_name: VM Cached IOPS Consumed Percentage
338 + time_grain: PT1M
339 + series:
340 + - aggregation: average
341 + kind: gauge
342 +- id: vm_uncached_bandwidth_consumed_percentage
343 + azure_name: VM Uncached Bandwidth Consumed Percentage
344 + time_grain: PT1M
345 + series:
346 + - aggregation: average
347 + kind: gauge
348 +- id: vm_uncached_iops_consumed_percentage
349 + azure_name: VM Uncached IOPS Consumed Percentage
350 + time_grain: PT1M
351 + series:
352 + - aggregation: average
353 + kind: gauge
354 +- id: vm_local_used_burst_bps_credits_percentage
355 + azure_name: VM Local Used Burst BPS Credits Percentage
356 + time_grain: PT1M
357 + series:
358 + - aggregation: average
359 + kind: gauge
360 +- id: vm_local_used_burst_io_credits_percentage
361 + azure_name: VM Local Used Burst IO Credits Percentage
362 + time_grain: PT1M
363 + series:
364 + - aggregation: average
365 + kind: gauge
366 +- id: vm_remote_used_burst_bps_credits_percentage
367 + azure_name: VM Remote Used Burst BPS Credits Percentage
368 + time_grain: PT1M
369 + series:
370 + - aggregation: average
371 + kind: gauge
372 +- id: vm_remote_used_burst_io_credits_percentage
373 + azure_name: VM Remote Used Burst IO Credits Percentage
374 + time_grain: PT1M
375 + series:
376 + - aggregation: average
377 + kind: gauge
378 +template:
379 + family: Azure Virtual Machine Scale Set
380 + context_namespace: vmss
381 + chart_defaults:
382 + label_promotion:
383 + - resource_name
384 + - resource_group
385 + - region
386 + - resource_type
387 + - profile
388 + instances:
389 + by_labels:
390 + - resource_uid
391 + charts:
392 + - id: am_azure_vmss__cpu
393 + title: Azure VMSS CPU Utilization
394 + context: cpu
395 + family: CPU
396 + type: line
397 + units: percentage
398 + algorithm: absolute
399 + dimensions:
400 + - selector: vmss.percentage_cpu_average
401 + name: average
402 + - id: am_azure_vmss__cpu_credits
403 + title: Azure VMSS CPU Credits
404 + context: cpu_credits
405 + family: CPU
406 + type: line
407 + units: credits
408 + algorithm: absolute
409 + dimensions:
410 + - selector: vmss.cpu_credits_consumed_average
411 + name: consumed
412 + - selector: vmss.cpu_credits_remaining_average
413 + name: remaining
414 + - id: am_azure_vmss__memory
415 + title: Azure VMSS Available Memory
416 + context: memory
417 + family: Memory
418 + type: line
419 + units: bytes
420 + algorithm: absolute
421 + dimensions:
422 + - selector: vmss.available_memory_bytes_average
423 + name: available
424 + - id: am_azure_vmss__memory_percentage
425 + title: Azure VMSS Available Memory Percentage
426 + context: memory_percentage
427 + family: Memory
428 + type: line
429 + units: percentage
430 + algorithm: absolute
431 + dimensions:
432 + - selector: vmss.available_memory_percentage_average
433 + name: available
434 + - id: am_azure_vmss__availability
435 + title: Azure VMSS Availability
436 + context: availability
437 + family: Availability
438 + type: line
439 + units: state
440 + algorithm: absolute
441 + dimensions:
442 + - selector: vmss.vm_availability_metric_average
443 + name: average
444 + - id: am_azure_vmss__network_traffic
445 + title: Azure VMSS Network Traffic
446 + context: network_traffic
447 + family: Network
448 + type: line
449 + units: bytes/s
450 + algorithm: incremental
451 + dimensions:
452 + - selector: vmss.network_in_total_total
453 + name: in
454 + - selector: vmss.network_out_total_total
455 + name: out
456 + - id: am_azure_vmss__network_flows
457 + title: Azure VMSS Network Flows
458 + context: network_flows
459 + family: Network
460 + type: line
461 + units: flows
462 + algorithm: absolute
463 + dimensions:
464 + - selector: vmss.inbound_flows_average
465 + name: in
466 + - selector: vmss.outbound_flows_average
467 + name: out
468 + - id: am_azure_vmss__network_flow_creation_rate
469 + title: Azure VMSS Network Flow Creation Rate
470 + context: network_flow_creation_rate
471 + family: Network
472 + type: line
473 + units: flows/s
474 + algorithm: absolute
475 + dimensions:
476 + - selector: vmss.inbound_flows_maximum_creation_rate_average
477 + name: in
478 + - selector: vmss.outbound_flows_maximum_creation_rate_average
479 + name: out
480 + - id: am_azure_vmss__disk_throughput
481 + title: Azure VMSS Disk Throughput
482 + context: disk_throughput
483 + family: Disk
484 + type: line
485 + units: bytes/s
486 + algorithm: incremental
487 + dimensions:
488 + - selector: vmss.disk_read_bytes_total
489 + name: read
490 + - selector: vmss.disk_write_bytes_total
491 + name: write
492 + - id: am_azure_vmss__disk_iops
493 + title: Azure VMSS Disk IOPS
494 + context: disk_iops
495 + family: Disk
496 + type: line
497 + units: operations/s
498 + algorithm: absolute
499 + dimensions:
500 + - selector: vmss.disk_read_operations_sec_average
501 + name: read
502 + - selector: vmss.disk_write_operations_sec_average
503 + name: write
504 + - id: am_azure_vmss__os_disk_throughput
505 + title: Azure VMSS OS Disk Throughput
506 + context: os_disk_throughput
507 + family: OS Disk
508 + type: line
509 + units: bytes/s
510 + algorithm: absolute
511 + dimensions:
512 + - selector: vmss.os_disk_read_bytes_sec_average
513 + name: read
514 + - selector: vmss.os_disk_write_bytes_sec_average
515 + name: write
516 + - id: am_azure_vmss__os_disk_iops
517 + title: Azure VMSS OS Disk IOPS
518 + context: os_disk_iops
519 + family: OS Disk
520 + type: line
521 + units: operations/s
522 + algorithm: absolute
523 + dimensions:
524 + - selector: vmss.os_disk_read_operations_sec_average
525 + name: read
526 + - selector: vmss.os_disk_write_operations_sec_average
527 + name: write
528 + - id: am_azure_vmss__os_disk_latency
529 + title: Azure VMSS OS Disk Latency
530 + context: os_disk_latency
531 + family: OS Disk
532 + type: line
533 + units: milliseconds
534 + algorithm: absolute
535 + dimensions:
536 + - selector: vmss.os_disk_latency_average
537 + name: average
538 + - id: am_azure_vmss__os_disk_queue_depth
539 + title: Azure VMSS OS Disk Queue Depth
540 + context: os_disk_queue_depth
541 + family: OS Disk
542 + type: line
543 + units: operations
544 + algorithm: absolute
545 + dimensions:
546 + - selector: vmss.os_disk_queue_depth_average
547 + name: average
548 + - id: am_azure_vmss__os_disk_throttling
549 + title: Azure VMSS OS Disk Throttling
550 + context: os_disk_throttling
551 + family: OS Disk
552 + type: line
553 + units: percentage
554 + algorithm: absolute
555 + dimensions:
556 + - selector: vmss.os_disk_bandwidth_consumed_percentage_average
557 + name: bandwidth
558 + - selector: vmss.os_disk_iops_consumed_percentage_average
559 + name: iops
560 + - id: am_azure_vmss__os_disk_burst_capacity
561 + title: Azure VMSS OS Disk Burst Capacity
562 + context: os_disk_burst_capacity
563 + family: OS Disk
564 + type: line
565 + units: bytes/s
566 + algorithm: absolute
567 + dimensions:
568 + - selector: vmss.os_disk_max_burst_bandwidth_average
569 + name: max_burst
570 + - selector: vmss.os_disk_target_bandwidth_average
571 + name: target
572 + - id: am_azure_vmss__os_disk_burst_iops_capacity
573 + title: Azure VMSS OS Disk Burst IOPS Capacity
574 + context: os_disk_burst_iops_capacity
575 + family: OS Disk
576 + type: line
577 + units: iops
578 + algorithm: absolute
579 + dimensions:
580 + - selector: vmss.os_disk_max_burst_iops_average
581 + name: max_burst
582 + - selector: vmss.os_disk_target_iops_average
583 + name: target
584 + - id: am_azure_vmss__os_disk_burst_credits
585 + title: Azure VMSS OS Disk Burst Credits Used
586 + context: os_disk_burst_credits
587 + family: OS Disk
588 + type: line
589 + units: percentage
590 + algorithm: absolute
591 + dimensions:
592 + - selector: vmss.os_disk_used_burst_bps_credits_percentage_average
593 + name: bandwidth
594 + - selector: vmss.os_disk_used_burst_io_credits_percentage_average
595 + name: io
596 + - id: am_azure_vmss__data_disk_throughput
597 + title: Azure VMSS Data Disk Throughput
598 + context: data_disk_throughput
599 + family: Data Disk
600 + type: line
601 + units: bytes/s
602 + algorithm: absolute
603 + dimensions:
604 + - selector: vmss.data_disk_read_bytes_sec_average
605 + name: read
606 + - selector: vmss.data_disk_write_bytes_sec_average
607 + name: write
608 + - id: am_azure_vmss__data_disk_iops
609 + title: Azure VMSS Data Disk IOPS
610 + context: data_disk_iops
611 + family: Data Disk
612 + type: line
613 + units: operations/s
614 + algorithm: absolute
615 + dimensions:
616 + - selector: vmss.data_disk_read_operations_sec_average
617 + name: read
618 + - selector: vmss.data_disk_write_operations_sec_average
619 + name: write
620 + - id: am_azure_vmss__data_disk_latency
621 + title: Azure VMSS Data Disk Latency
622 + context: data_disk_latency
623 + family: Data Disk
624 + type: line
625 + units: milliseconds
626 + algorithm: absolute
627 + dimensions:
628 + - selector: vmss.data_disk_latency_average
629 + name: average
630 + - id: am_azure_vmss__data_disk_queue_depth
631 + title: Azure VMSS Data Disk Queue Depth
632 + context: data_disk_queue_depth
633 + family: Data Disk
634 + type: line
635 + units: operations
636 + algorithm: absolute
637 + dimensions:
638 + - selector: vmss.data_disk_queue_depth_average
639 + name: average
640 + - id: am_azure_vmss__data_disk_throttling
641 + title: Azure VMSS Data Disk Throttling
642 + context: data_disk_throttling
643 + family: Data Disk
644 + type: line
645 + units: percentage
646 + algorithm: absolute
647 + dimensions:
648 + - selector: vmss.data_disk_bandwidth_consumed_percentage_average
649 + name: bandwidth
650 + - selector: vmss.data_disk_iops_consumed_percentage_average
651 + name: iops
652 + - id: am_azure_vmss__data_disk_burst_capacity
653 + title: Azure VMSS Data Disk Burst Capacity
654 + context: data_disk_burst_capacity
655 + family: Data Disk
656 + type: line
657 + units: bytes/s
658 + algorithm: absolute
659 + dimensions:
660 + - selector: vmss.data_disk_max_burst_bandwidth_average
661 + name: max_burst
662 + - selector: vmss.data_disk_target_bandwidth_average
663 + name: target
664 + - id: am_azure_vmss__data_disk_burst_iops_capacity
665 + title: Azure VMSS Data Disk Burst IOPS Capacity
666 + context: data_disk_burst_iops_capacity
667 + family: Data Disk
668 + type: line
669 + units: iops
670 + algorithm: absolute
671 + dimensions:
672 + - selector: vmss.data_disk_max_burst_iops_average
673 + name: max_burst
674 + - selector: vmss.data_disk_target_iops_average
675 + name: target
676 + - id: am_azure_vmss__data_disk_burst_credits
677 + title: Azure VMSS Data Disk Burst Credits Used
678 + context: data_disk_burst_credits
679 + family: Data Disk
680 + type: line
681 + units: percentage
682 + algorithm: absolute
683 + dimensions:
684 + - selector: vmss.data_disk_used_burst_bps_credits_percentage_average
685 + name: bandwidth
686 + - selector: vmss.data_disk_used_burst_io_credits_percentage_average
687 + name: io
688 + - id: am_azure_vmss__temp_disk_throughput
689 + title: Azure VMSS Temp Disk Throughput
690 + context: temp_disk_throughput
691 + family: Temp Disk
692 + type: line
693 + units: bytes/s
694 + algorithm: absolute
695 + dimensions:
696 + - selector: vmss.temp_disk_read_bytes_sec_average
697 + name: read
698 + - selector: vmss.temp_disk_write_bytes_sec_average
699 + name: write
700 + - id: am_azure_vmss__temp_disk_iops
701 + title: Azure VMSS Temp Disk IOPS
702 + context: temp_disk_iops
703 + family: Temp Disk
704 + type: line
705 + units: operations/s
706 + algorithm: absolute
707 + dimensions:
708 + - selector: vmss.temp_disk_read_operations_sec_average
709 + name: read
710 + - selector: vmss.temp_disk_write_operations_sec_average
711 + name: write
712 + - id: am_azure_vmss__temp_disk_latency
713 + title: Azure VMSS Temp Disk Latency
714 + context: temp_disk_latency
715 + family: Temp Disk
716 + type: line
717 + units: milliseconds
718 + algorithm: absolute
719 + dimensions:
720 + - selector: vmss.temp_disk_latency_average
721 + name: average
722 + - id: am_azure_vmss__temp_disk_queue_depth
723 + title: Azure VMSS Temp Disk Queue Depth
724 + context: temp_disk_queue_depth
725 + family: Temp Disk
726 + type: line
727 + units: operations
728 + algorithm: absolute
729 + dimensions:
730 + - selector: vmss.temp_disk_queue_depth_average
731 + name: average
732 + - id: am_azure_vmss__premium_data_disk_cache
733 + title: Azure VMSS Premium Data Disk Cache
734 + context: premium_data_disk_cache
735 + family: Premium Cache
736 + type: line
737 + units: percentage
738 + algorithm: absolute
739 + dimensions:
740 + - selector: vmss.premium_data_disk_cache_read_hit_average
741 + name: hit
742 + - selector: vmss.premium_data_disk_cache_read_miss_average
743 + name: miss
744 + - id: am_azure_vmss__premium_os_disk_cache
745 + title: Azure VMSS Premium OS Disk Cache
746 + context: premium_os_disk_cache
747 + family: Premium Cache
748 + type: line
749 + units: percentage
750 + algorithm: absolute
751 + dimensions:
752 + - selector: vmss.premium_os_disk_cache_read_hit_average
753 + name: hit
754 + - selector: vmss.premium_os_disk_cache_read_miss_average
755 + name: miss
756 + - id: am_azure_vmss__vm_cached_throttling
757 + title: Azure VMSS Cached IO Throttling
758 + context: vm_cached_throttling
759 + family: VM Throttling
760 + type: line
761 + units: percentage
762 + algorithm: absolute
763 + dimensions:
764 + - selector: vmss.vm_cached_bandwidth_consumed_percentage_average
765 + name: bandwidth
766 + - selector: vmss.vm_cached_iops_consumed_percentage_average
767 + name: iops
768 + - id: am_azure_vmss__vm_uncached_throttling
769 + title: Azure VMSS Uncached IO Throttling
770 + context: vm_uncached_throttling
771 + family: VM Throttling
772 + type: line
773 + units: percentage
774 + algorithm: absolute
775 + dimensions:
776 + - selector: vmss.vm_uncached_bandwidth_consumed_percentage_average
777 + name: bandwidth
778 + - selector: vmss.vm_uncached_iops_consumed_percentage_average
779 + name: iops
780 + - id: am_azure_vmss__vm_cached_burst_credits
781 + title: Azure VMSS Cached Burst Credits Used
782 + context: vm_cached_burst_credits
783 + family: VM Throttling
784 + type: line
785 + units: percentage
786 + algorithm: absolute
787 + dimensions:
788 + - selector: vmss.vm_local_used_burst_bps_credits_percentage_average
789 + name: bandwidth
790 + - selector: vmss.vm_local_used_burst_io_credits_percentage_average
791 + name: io
792 + - id: am_azure_vmss__vm_uncached_burst_credits
793 + title: Azure VMSS Uncached Burst Credits Used
794 + context: vm_uncached_burst_credits
795 + family: VM Throttling
796 + type: line
797 + units: percentage
798 + algorithm: absolute
799 + dimensions:
800 + - selector: vmss.vm_remote_used_burst_bps_credits_percentage_average
801 + name: bandwidth
802 + - selector: vmss.vm_remote_used_burst_io_credits_percentage_average
803 + name: io
src/go/plugin/go.d/config/go.d/azure_monitor.profiles/default/vpn_gateway.yaml new
+723
@@ -0,0 +1,723 @@
1 +---
2 +id: vpn_gateway
3 +name: Azure VPN Gateway
4 +resource_type: Microsoft.Network/virtualNetworkGateways
5 +metrics:
6 +- id: average_bandwidth
7 + azure_name: AverageBandwidth
8 + time_grain: PT5M
9 + series:
10 + - aggregation: average
11 + kind: gauge
12 +- id: p2s_bandwidth
13 + azure_name: P2SBandwidth
14 + time_grain: PT1M
15 + series:
16 + - aggregation: average
17 + kind: gauge
18 +- id: p2s_connection_count
19 + azure_name: P2SConnectionCount
20 + time_grain: PT1M
21 + series:
22 + - aggregation: total
23 + kind: gauge
24 +- id: inbound_flows_count
25 + azure_name: InboundFlowsCount
26 + time_grain: PT5M
27 + series:
28 + - aggregation: maximum
29 + kind: gauge
30 +- id: outbound_flows_count
31 + azure_name: OutboundFlowsCount
32 + time_grain: PT5M
33 + series:
34 + - aggregation: maximum
35 + kind: gauge
36 +- id: tunnel_average_bandwidth
37 + azure_name: TunnelAverageBandwidth
38 + time_grain: PT5M
39 + series:
40 + - aggregation: average
41 + kind: gauge
42 +- id: tunnel_egress_bytes
43 + azure_name: TunnelEgressBytes
44 + time_grain: PT5M
45 + series:
46 + - aggregation: total
47 + kind: counter
48 +- id: tunnel_ingress_bytes
49 + azure_name: TunnelIngressBytes
50 + time_grain: PT5M
51 + series:
52 + - aggregation: total
53 + kind: counter
54 +- id: tunnel_egress_packets
55 + azure_name: TunnelEgressPackets
56 + time_grain: PT5M
57 + series:
58 + - aggregation: total
59 + kind: counter
60 +- id: tunnel_ingress_packets
61 + azure_name: TunnelIngressPackets
62 + time_grain: PT5M
63 + series:
64 + - aggregation: total
65 + kind: counter
66 +- id: tunnel_peak_packets
67 + azure_name: TunnelPeakPackets
68 + time_grain: PT5M
69 + series:
70 + - aggregation: maximum
71 + kind: gauge
72 +- id: tunnel_total_flow_count
73 + azure_name: TunnelTotalFlowCount
74 + time_grain: PT5M
75 + series:
76 + - aggregation: total
77 + kind: counter
78 +- id: tunnel_nat_allocations
79 + azure_name: TunnelNatAllocations
80 + time_grain: PT5M
81 + series:
82 + - aggregation: total
83 + kind: counter
84 +- id: tunnel_nated_bytes
85 + azure_name: TunnelNatedBytes
86 + time_grain: PT5M
87 + series:
88 + - aggregation: total
89 + kind: counter
90 +- id: tunnel_reverse_nated_bytes
91 + azure_name: TunnelReverseNatedBytes
92 + time_grain: PT5M
93 + series:
94 + - aggregation: total
95 + kind: counter
96 +- id: tunnel_nated_packets
97 + azure_name: TunnelNatedPackets
98 + time_grain: PT5M
99 + series:
100 + - aggregation: total
101 + kind: counter
102 +- id: tunnel_reverse_nated_packets
103 + azure_name: TunnelReverseNatedPackets
104 + time_grain: PT5M
105 + series:
106 + - aggregation: total
107 + kind: counter
108 +- id: tunnel_nat_flow_count
109 + azure_name: TunnelNatFlowCount
110 + time_grain: PT5M
111 + series:
112 + - aggregation: total
113 + kind: counter
114 +- id: tunnel_egress_packet_drop_count
115 + azure_name: TunnelEgressPacketDropCount
116 + time_grain: PT5M
117 + series:
118 + - aggregation: total
119 + kind: counter
120 +- id: tunnel_ingress_packet_drop_count
121 + azure_name: TunnelIngressPacketDropCount
122 + time_grain: PT5M
123 + series:
124 + - aggregation: total
125 + kind: counter
126 +- id: tunnel_egress_packet_drop_ts_mismatch
127 + azure_name: TunnelEgressPacketDropTSMismatch
128 + time_grain: PT5M
129 + series:
130 + - aggregation: total
131 + kind: counter
132 +- id: tunnel_ingress_packet_drop_ts_mismatch
133 + azure_name: TunnelIngressPacketDropTSMismatch
134 + time_grain: PT5M
135 + series:
136 + - aggregation: total
137 + kind: counter
138 +- id: tunnel_nat_packet_drop
139 + azure_name: TunnelNatPacketDrop
140 + time_grain: PT5M
141 + series:
142 + - aggregation: total
143 + kind: counter
144 +- id: mmsa_count
145 + azure_name: MmsaCount
146 + time_grain: PT5M
147 + series:
148 + - aggregation: total
149 + kind: gauge
150 +- id: qmsa_count
151 + azure_name: QmsaCount
152 + time_grain: PT5M
153 + series:
154 + - aggregation: total
155 + kind: gauge
156 +- id: bgp_peer_status
157 + azure_name: BgpPeerStatus
158 + time_grain: PT5M
159 + series:
160 + - aggregation: average
161 + kind: gauge
162 +- id: bgp_routes_advertised
163 + azure_name: BgpRoutesAdvertised
164 + time_grain: PT5M
165 + series:
166 + - aggregation: total
167 + kind: counter
168 +- id: bgp_routes_learned
169 + azure_name: BgpRoutesLearned
170 + time_grain: PT5M
171 + series:
172 + - aggregation: total
173 + kind: counter
174 +- id: user_vpn_route_count
175 + azure_name: UserVpnRouteCount
176 + time_grain: PT5M
177 + series:
178 + - aggregation: total
179 + kind: gauge
180 +- id: vnet_address_prefix_count
181 + azure_name: VnetAddressPrefixCount
182 + time_grain: PT5M
183 + series:
184 + - aggregation: total
185 + kind: gauge
186 +- id: express_route_gateway_bits_per_second
187 + azure_name: ExpressRouteGatewayBitsPerSecond
188 + time_grain: PT5M
189 + series:
190 + - aggregation: average
191 + kind: gauge
192 +- id: express_route_gateway_cpu_utilization
193 + azure_name: ExpressRouteGatewayCpuUtilization
194 + time_grain: PT5M
195 + series:
196 + - aggregation: average
197 + kind: gauge
198 +- id: express_route_gateway_packets_per_second
199 + azure_name: ExpressRouteGatewayPacketsPerSecond
200 + time_grain: PT5M
201 + series:
202 + - aggregation: average
203 + kind: gauge
204 +- id: express_route_gateway_active_flows
205 + azure_name: ExpressRouteGatewayActiveFlows
206 + time_grain: PT5M
207 + series:
208 + - aggregation: average
209 + kind: gauge
210 +- id: express_route_gateway_count_of_routes_advertised_to_peer
211 + azure_name: ExpressRouteGatewayCountOfRoutesAdvertisedToPeer
212 + time_grain: PT5M
213 + series:
214 + - aggregation: maximum
215 + kind: gauge
216 +- id: express_route_gateway_count_of_routes_learned_from_peer
217 + azure_name: ExpressRouteGatewayCountOfRoutesLearnedFromPeer
218 + time_grain: PT5M
219 + series:
220 + - aggregation: maximum
221 + kind: gauge
222 +- id: express_route_gateway_frequency_of_routes_changed
223 + azure_name: ExpressRouteGatewayFrequencyOfRoutesChanged
224 + time_grain: PT5M
225 + series:
226 + - aggregation: total
227 + kind: counter
228 +- id: express_route_gateway_max_flows_creation_rate
229 + azure_name: ExpressRouteGatewayMaxFlowsCreationRate
230 + time_grain: PT5M
231 + series:
232 + - aggregation: maximum
233 + kind: gauge
234 +- id: express_route_gateway_number_of_vm_in_vnet
235 + azure_name: ExpressRouteGatewayNumberOfVmInVnet
236 + time_grain: PT5M
237 + series:
238 + - aggregation: maximum
239 + kind: gauge
240 +- id: scalable_express_route_gateway_bits_per_second
241 + azure_name: ScalableExpressRouteGatewayBitsPerSecond
242 + time_grain: PT5M
243 + series:
244 + - aggregation: average
245 + kind: gauge
246 +- id: scalable_express_route_gateway_cpu_utilization
247 + azure_name: ScalableExpressRouteGatewayCpuUtilization
248 + time_grain: PT5M
249 + series:
250 + - aggregation: average
251 + kind: gauge
252 +- id: scalable_express_route_gateway_packets_per_second
253 + azure_name: ScalableExpressRouteGatewayPacketsPerSecond
254 + time_grain: PT5M
255 + series:
256 + - aggregation: average
257 + kind: gauge
258 +- id: scalable_express_route_gateway_active_flows
259 + azure_name: ScalableExpressRouteGatewayActiveFlows
260 + time_grain: PT5M
261 + series:
262 + - aggregation: average
263 + kind: gauge
264 +- id: scalable_express_route_gateway_count_of_routes_advertised_to_peer
265 + azure_name: ScalableExpressRouteGatewayCountOfRoutesAdvertisedToPeer
266 + time_grain: PT5M
267 + series:
268 + - aggregation: maximum
269 + kind: gauge
270 +- id: scalable_express_route_gateway_count_of_routes_learned_from_peer
271 + azure_name: ScalableExpressRouteGatewayCountOfRoutesLearnedFromPeer
272 + time_grain: PT5M
273 + series:
274 + - aggregation: maximum
275 + kind: gauge
276 +- id: scalable_express_route_gateway_frequency_of_routes_changed
277 + azure_name: ScalableExpressRouteGatewayFrequencyOfRoutesChanged
278 + time_grain: PT5M
279 + series:
280 + - aggregation: total
281 + kind: counter
282 +- id: scalable_express_route_gateway_max_flows_creation_rate
283 + azure_name: ScalableExpressRouteGatewayMaxFlowsCreationRate
284 + time_grain: PT5M
285 + series:
286 + - aggregation: maximum
287 + kind: gauge
288 +- id: scalable_express_route_gateway_number_of_vm_in_vnet
289 + azure_name: ScalableExpressRouteGatewayNumberOfVmInVnet
290 + time_grain: PT5M
291 + series:
292 + - aggregation: maximum
293 + kind: gauge
294 +- id: scalable_express_route_gateway_scale_unit
295 + azure_name: ScalableExpressRouteGatewayScaleUnit
296 + time_grain: PT5M
297 + series:
298 + - aggregation: maximum
299 + kind: gauge
300 +template:
301 + family: Azure VPN Gateway
302 + context_namespace: vpn_gateway
303 + chart_defaults:
304 + label_promotion:
305 + - resource_name
306 + - resource_group
307 + - region
308 + - resource_type
309 + - profile
310 + instances:
311 + by_labels:
312 + - resource_uid
313 + charts:
314 + - id: am_azure_vpn_gateway__s2s_bandwidth
315 + title: Azure VPN Gateway S2S Bandwidth
316 + context: s2s_bandwidth
317 + family: Traffic
318 + type: line
319 + units: bytes/s
320 + algorithm: absolute
321 + dimensions:
322 + - selector: vpn_gateway.average_bandwidth_average
323 + name: average
324 + - id: am_azure_vpn_gateway__p2s_bandwidth
325 + title: Azure VPN Gateway P2S Bandwidth
326 + context: p2s_bandwidth
327 + family: Traffic
328 + type: line
329 + units: bytes/s
330 + algorithm: absolute
331 + dimensions:
332 + - selector: vpn_gateway.p2s_bandwidth_average
333 + name: average
334 + - id: am_azure_vpn_gateway__p2s_connections
335 + title: Azure VPN Gateway P2S Connection Count
336 + context: p2s_connections
337 + family: Traffic
338 + type: line
339 + units: connections
340 + algorithm: absolute
341 + dimensions:
342 + - selector: vpn_gateway.p2s_connection_count_total
343 + name: total
344 + - id: am_azure_vpn_gateway__gateway_flows
345 + title: Azure VPN Gateway Flows
346 + context: gateway_flows
347 + family: Traffic
348 + type: line
349 + units: flows
350 + algorithm: absolute
351 + dimensions:
352 + - selector: vpn_gateway.inbound_flows_count_maximum
353 + name: inbound
354 + - selector: vpn_gateway.outbound_flows_count_maximum
355 + name: outbound
356 + - id: am_azure_vpn_gateway__tunnel_bandwidth
357 + title: Azure VPN Gateway Tunnel Bandwidth
358 + context: tunnel_bandwidth
359 + family: Tunnel Traffic
360 + type: line
361 + units: bytes/s
362 + algorithm: absolute
363 + dimensions:
364 + - selector: vpn_gateway.tunnel_average_bandwidth_average
365 + name: average
366 + - id: am_azure_vpn_gateway__tunnel_bytes
367 + title: Azure VPN Gateway Tunnel Bytes
368 + context: tunnel_bytes
369 + family: Tunnel Traffic
370 + type: line
371 + units: bytes/s
372 + algorithm: incremental
373 + dimensions:
374 + - selector: vpn_gateway.tunnel_egress_bytes_total
375 + name: egress
376 + - selector: vpn_gateway.tunnel_ingress_bytes_total
377 + name: ingress
378 + - id: am_azure_vpn_gateway__tunnel_packets
379 + title: Azure VPN Gateway Tunnel Packets
380 + context: tunnel_packets
381 + family: Tunnel Traffic
382 + type: line
383 + units: packets/s
384 + algorithm: incremental
385 + dimensions:
386 + - selector: vpn_gateway.tunnel_egress_packets_total
387 + name: egress
388 + - selector: vpn_gateway.tunnel_ingress_packets_total
389 + name: ingress
390 + - id: am_azure_vpn_gateway__tunnel_peak_pps
391 + title: Azure VPN Gateway Tunnel Peak PPS
392 + context: tunnel_peak_pps
393 + family: Tunnel Traffic
394 + type: line
395 + units: packets/s
396 + algorithm: absolute
397 + dimensions:
398 + - selector: vpn_gateway.tunnel_peak_packets_maximum
399 + name: peak
400 + - id: am_azure_vpn_gateway__tunnel_total_flows
401 + title: Azure VPN Gateway Tunnel Total Flows
402 + context: tunnel_total_flows
403 + family: Tunnel Traffic
404 + type: line
405 + units: flows/s
406 + algorithm: incremental
407 + dimensions:
408 + - selector: vpn_gateway.tunnel_total_flow_count_total
409 + name: total
410 + - id: am_azure_vpn_gateway__tunnel_nat_allocations
411 + title: Azure VPN Gateway Tunnel NAT Allocations
412 + context: tunnel_nat_allocations
413 + family: Tunnel NAT
414 + type: line
415 + units: allocations/s
416 + algorithm: incremental
417 + dimensions:
418 + - selector: vpn_gateway.tunnel_nat_allocations_total
419 + name: total
420 + - id: am_azure_vpn_gateway__tunnel_nated_bytes
421 + title: Azure VPN Gateway Tunnel NATed Bytes
422 + context: tunnel_nated_bytes
423 + family: Tunnel NAT
424 + type: line
425 + units: bytes/s
426 + algorithm: incremental
427 + dimensions:
428 + - selector: vpn_gateway.tunnel_nated_bytes_total
429 + name: nated
430 + - selector: vpn_gateway.tunnel_reverse_nated_bytes_total
431 + name: reverse_nated
432 + - id: am_azure_vpn_gateway__tunnel_nated_packets
433 + title: Azure VPN Gateway Tunnel NATed Packets
434 + context: tunnel_nated_packets
435 + family: Tunnel NAT
436 + type: line
437 + units: packets/s
438 + algorithm: incremental
439 + dimensions:
440 + - selector: vpn_gateway.tunnel_nated_packets_total
441 + name: nated
442 + - selector: vpn_gateway.tunnel_reverse_nated_packets_total
443 + name: reverse_nated
444 + - id: am_azure_vpn_gateway__tunnel_nat_flows
445 + title: Azure VPN Gateway Tunnel NAT Flows
446 + context: tunnel_nat_flows
447 + family: Tunnel NAT
448 + type: line
449 + units: flows/s
450 + algorithm: incremental
451 + dimensions:
452 + - selector: vpn_gateway.tunnel_nat_flow_count_total
453 + name: total
454 + - id: am_azure_vpn_gateway__tunnel_packet_drops
455 + title: Azure VPN Gateway Tunnel Packet Drops
456 + context: tunnel_packet_drops
457 + family: Errors
458 + type: line
459 + units: packets/s
460 + algorithm: incremental
461 + dimensions:
462 + - selector: vpn_gateway.tunnel_egress_packet_drop_count_total
463 + name: egress
464 + - selector: vpn_gateway.tunnel_ingress_packet_drop_count_total
465 + name: ingress
466 + - id: am_azure_vpn_gateway__tunnel_ts_mismatch_drops
467 + title: Azure VPN Gateway Tunnel TS Mismatch Drops
468 + context: tunnel_ts_mismatch_drops
469 + family: Errors
470 + type: line
471 + units: packets/s
472 + algorithm: incremental
473 + dimensions:
474 + - selector: vpn_gateway.tunnel_egress_packet_drop_ts_mismatch_total
475 + name: egress
476 + - selector: vpn_gateway.tunnel_ingress_packet_drop_ts_mismatch_total
477 + name: ingress
478 + - id: am_azure_vpn_gateway__tunnel_nat_packet_drops
479 + title: Azure VPN Gateway Tunnel NAT Packet Drops
480 + context: tunnel_nat_packet_drops
481 + family: Errors
482 + type: line
483 + units: packets/s
484 + algorithm: incremental
485 + dimensions:
486 + - selector: vpn_gateway.tunnel_nat_packet_drop_total
487 + name: total
488 + - id: am_azure_vpn_gateway__ipsec_sa
489 + title: Azure VPN Gateway IPsec Security Associations
490 + context: ipsec_sa
491 + family: IPsec
492 + type: line
493 + units: associations
494 + algorithm: absolute
495 + dimensions:
496 + - selector: vpn_gateway.mmsa_count_total
497 + name: mmsa
498 + - selector: vpn_gateway.qmsa_count_total
499 + name: qmsa
500 + - id: am_azure_vpn_gateway__bgp_peer_status
501 + title: Azure VPN Gateway BGP Peer Status
502 + context: bgp_peer_status
503 + family: Routing
504 + type: line
505 + units: status
506 + algorithm: absolute
507 + dimensions:
508 + - selector: vpn_gateway.bgp_peer_status_average
509 + name: average
510 + - id: am_azure_vpn_gateway__bgp_routes
511 + title: Azure VPN Gateway BGP Routes
512 + context: bgp_routes
513 + family: Routing
514 + type: line
515 + units: routes/s
516 + algorithm: incremental
517 + dimensions:
518 + - selector: vpn_gateway.bgp_routes_advertised_total
519 + name: advertised
520 + - selector: vpn_gateway.bgp_routes_learned_total
521 + name: learned
522 + - id: am_azure_vpn_gateway__route_counts
523 + title: Azure VPN Gateway Route Counts
524 + context: route_counts
525 + family: Routing
526 + type: line
527 + units: routes
528 + algorithm: absolute
529 + dimensions:
530 + - selector: vpn_gateway.user_vpn_route_count_total
531 + name: user_vpn
532 + - selector: vpn_gateway.vnet_address_prefix_count_total
533 + name: vnet_prefix
534 + - id: am_azure_vpn_gateway__er_gateway_bandwidth
535 + title: Azure VPN Gateway ExpressRoute Bandwidth
536 + context: er_gateway_bandwidth
537 + family: ExpressRoute
538 + type: line
539 + units: bits/s
540 + algorithm: absolute
541 + dimensions:
542 + - selector: vpn_gateway.express_route_gateway_bits_per_second_average
543 + name: average
544 + - id: am_azure_vpn_gateway__er_gateway_cpu
545 + title: Azure VPN Gateway ExpressRoute CPU Utilization
546 + context: er_gateway_cpu
547 + family: ExpressRoute
548 + type: line
549 + units: percentage
550 + algorithm: absolute
551 + dimensions:
552 + - selector: vpn_gateway.express_route_gateway_cpu_utilization_average
553 + name: average
554 + - id: am_azure_vpn_gateway__er_gateway_packets
555 + title: Azure VPN Gateway ExpressRoute Packets
556 + context: er_gateway_packets
557 + family: ExpressRoute
558 + type: line
559 + units: packets/s
560 + algorithm: absolute
561 + dimensions:
562 + - selector: vpn_gateway.express_route_gateway_packets_per_second_average
563 + name: average
564 + - id: am_azure_vpn_gateway__er_gateway_active_flows
565 + title: Azure VPN Gateway ExpressRoute Active Flows
566 + context: er_gateway_active_flows
567 + family: ExpressRoute
568 + type: line
569 + units: flows
570 + algorithm: absolute
571 + dimensions:
572 + - selector: vpn_gateway.express_route_gateway_active_flows_average
573 + name: average
574 + - id: am_azure_vpn_gateway__er_gateway_routes_advertised
575 + title: Azure VPN Gateway ExpressRoute Routes Advertised to Peer
576 + context: er_gateway_routes_advertised
577 + family: ExpressRoute
578 + type: line
579 + units: routes
580 + algorithm: absolute
581 + dimensions:
582 + - selector: vpn_gateway.express_route_gateway_count_of_routes_advertised_to_peer_maximum
583 + name: maximum
584 + - id: am_azure_vpn_gateway__er_gateway_routes_learned
585 + title: Azure VPN Gateway ExpressRoute Routes Learned from Peer
586 + context: er_gateway_routes_learned
587 + family: ExpressRoute
588 + type: line
589 + units: routes
590 + algorithm: absolute
591 + dimensions:
592 + - selector: vpn_gateway.express_route_gateway_count_of_routes_learned_from_peer_maximum
593 + name: maximum
594 + - id: am_azure_vpn_gateway__er_gateway_route_changes
595 + title: Azure VPN Gateway ExpressRoute Route Changes
596 + context: er_gateway_route_changes
597 + family: ExpressRoute
598 + type: line
599 + units: changes/s
600 + algorithm: incremental
601 + dimensions:
602 + - selector: vpn_gateway.express_route_gateway_frequency_of_routes_changed_total
603 + name: total
604 + - id: am_azure_vpn_gateway__er_gateway_max_flows_rate
605 + title: Azure VPN Gateway ExpressRoute Max Flow Creation Rate
606 + context: er_gateway_max_flows_rate
607 + family: ExpressRoute
608 + type: line
609 + units: flows/s
610 + algorithm: absolute
611 + dimensions:
612 + - selector: vpn_gateway.express_route_gateway_max_flows_creation_rate_maximum
613 + name: maximum
614 + - id: am_azure_vpn_gateway__er_gateway_vm_count
615 + title: Azure VPN Gateway ExpressRoute VMs in VNet
616 + context: er_gateway_vm_count
617 + family: ExpressRoute
618 + type: line
619 + units: VMs
620 + algorithm: absolute
621 + dimensions:
622 + - selector: vpn_gateway.express_route_gateway_number_of_vm_in_vnet_maximum
623 + name: maximum
624 + - id: am_azure_vpn_gateway__scalable_er_bandwidth
625 + title: Azure VPN Gateway Scalable ExpressRoute Bandwidth
626 + context: scalable_er_bandwidth
627 + family: Scalable ExpressRoute
628 + type: line
629 + units: bits/s
630 + algorithm: absolute
631 + dimensions:
632 + - selector: vpn_gateway.scalable_express_route_gateway_bits_per_second_average
633 + name: average
634 + - id: am_azure_vpn_gateway__scalable_er_cpu
635 + title: Azure VPN Gateway Scalable ExpressRoute CPU Utilization
636 + context: scalable_er_cpu
637 + family: Scalable ExpressRoute
638 + type: line
639 + units: percentage
640 + algorithm: absolute
641 + dimensions:
642 + - selector: vpn_gateway.scalable_express_route_gateway_cpu_utilization_average
643 + name: average
644 + - id: am_azure_vpn_gateway__scalable_er_packets
645 + title: Azure VPN Gateway Scalable ExpressRoute Packets
646 + context: scalable_er_packets
647 + family: Scalable ExpressRoute
648 + type: line
649 + units: packets/s
650 + algorithm: absolute
651 + dimensions:
652 + - selector: vpn_gateway.scalable_express_route_gateway_packets_per_second_average
653 + name: average
654 + - id: am_azure_vpn_gateway__scalable_er_active_flows
655 + title: Azure VPN Gateway Scalable ExpressRoute Active Flows
656 + context: scalable_er_active_flows
657 + family: Scalable ExpressRoute
658 + type: line
659 + units: flows
660 + algorithm: absolute
661 + dimensions:
662 + - selector: vpn_gateway.scalable_express_route_gateway_active_flows_average
663 + name: average
664 + - id: am_azure_vpn_gateway__scalable_er_routes_advertised
665 + title: Azure VPN Gateway Scalable ExpressRoute Routes Advertised
666 + context: scalable_er_routes_advertised
667 + family: Scalable ExpressRoute
668 + type: line
669 + units: routes
670 + algorithm: absolute
671 + dimensions:
672 + - selector: vpn_gateway.scalable_express_route_gateway_count_of_routes_advertised_to_peer_maximum
673 + name: maximum
674 + - id: am_azure_vpn_gateway__scalable_er_routes_learned
675 + title: Azure VPN Gateway Scalable ExpressRoute Routes Learned
676 + context: scalable_er_routes_learned
677 + family: Scalable ExpressRoute
678 + type: line
679 + units: routes
680 + algorithm: absolute
681 + dimensions:
682 + - selector: vpn_gateway.scalable_express_route_gateway_count_of_routes_learned_from_peer_maximum
683 + name: maximum
684 + - id: am_azure_vpn_gateway__scalable_er_route_changes
685 + title: Azure VPN Gateway Scalable ExpressRoute Route Changes
686 + context: scalable_er_route_changes
687 + family: Scalable ExpressRoute
688 + type: line
689 + units: changes/s
690 + algorithm: incremental
691 + dimensions:
692 + - selector: vpn_gateway.scalable_express_route_gateway_frequency_of_routes_changed_total
693 + name: total
694 + - id: am_azure_vpn_gateway__scalable_er_max_flows_rate
695 + title: Azure VPN Gateway Scalable ExpressRoute Max Flow Creation Rate
696 + context: scalable_er_max_flows_rate
697 + family: Scalable ExpressRoute
698 + type: line
699 + units: flows/s
700 + algorithm: absolute
701 + dimensions:
702 + - selector: vpn_gateway.scalable_express_route_gateway_max_flows_creation_rate_maximum
703 + name: maximum
704 + - id: am_azure_vpn_gateway__scalable_er_vm_count
705 + title: Azure VPN Gateway Scalable ExpressRoute VMs in VNet
706 + context: scalable_er_vm_count
707 + family: Scalable ExpressRoute
708 + type: line
709 + units: VMs
710 + algorithm: absolute
711 + dimensions:
712 + - selector: vpn_gateway.scalable_express_route_gateway_number_of_vm_in_vnet_maximum
713 + name: maximum
714 + - id: am_azure_vpn_gateway__scalable_er_scale_units
715 + title: Azure VPN Gateway Scalable ExpressRoute Scale Units
716 + context: scalable_er_scale_units
717 + family: Scalable ExpressRoute
718 + type: line
719 + units: units
720 + algorithm: absolute
721 + dimensions:
722 + - selector: vpn_gateway.scalable_express_route_gateway_scale_unit_maximum
723 + name: maximum