Skip to content

Commit

Permalink
[Synthetics] Added field for maintenance windows !! (#12820)
Browse files Browse the repository at this point in the history
* added field for maintenance windows

* change log

* formatting

* update version
  • Loading branch information
shahzad31 authored Feb 19, 2025
1 parent 531ca17 commit 1a820b6
Show file tree
Hide file tree
Showing 10 changed files with 55 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/synthetics/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.4.0"
changes:
- description: Field for maintenance windows
type: enhancement
link: https://github.com/elastic/integrations/pull/12820
- version: "1.3.0"
changes:
- description: For version 9.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,8 @@ max_attempts: {{max_attempts}}
{{#if processors}}
processors:
{{processors}}
{{/if}}
{{#if maintenance_windows}}
maintenance_windows:
{{maintenance_windows}}
{{/if}}
8 changes: 8 additions & 0 deletions packages/synthetics/data_stream/browser/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,11 @@ streams:
required: false
show_user: true
default: 2
- name: maintenance_windows
type: yaml
title: Maintenance windows
multi: false
required: false
show_user: true
description: >-
Maintenance windows are used to disable monitors during a specific time period.
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,7 @@ max_attempts: {{max_attempts}}
processors:
{{processors}}
{{/if}}
{{#if maintenance_windows}}
maintenance_windows:
{{maintenance_windows}}
{{/if}}
8 changes: 8 additions & 0 deletions packages/synthetics/data_stream/http/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,3 +273,11 @@ streams:
required: false
show_user: true
default: 2
- name: maintenance_windows
type: yaml
title: Maintenance windows
multi: false
required: false
show_user: true
description: >-
Maintenance windows are used to disable monitors during a specific time period.
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ max_attempts: {{max_attempts}}
{{#if processors}}
processors:
{{processors}}
{{/if}}
{{#if maintenance_windows}}
maintenance_windows:
{{maintenance_windows}}
{{/if}}
8 changes: 8 additions & 0 deletions packages/synthetics/data_stream/icmp/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,11 @@ streams:
required: false
show_user: true
default: 2
- name: maintenance_windows
type: yaml
title: Maintenance windows
multi: false
required: false
show_user: true
description: >-
Maintenance windows are used to disable monitors during a specific time period.
4 changes: 4 additions & 0 deletions packages/synthetics/data_stream/tcp/agent/stream/tcp.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,8 @@ max_attempts: {{max_attempts}}
{{#if processors}}
processors:
{{processors}}
{{/if}}
{{#if maintenance_windows}}
maintenance_windows:
{{maintenance_windows}}
{{/if}}
8 changes: 8 additions & 0 deletions packages/synthetics/data_stream/tcp/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,11 @@ streams:
required: false
show_user: true
default: 2
- name: maintenance_windows
type: yaml
title: Maintenance windows
multi: false
required: false
show_user: true
description: >-
Maintenance windows are used to disable monitors during a specific time period.
4 changes: 2 additions & 2 deletions packages/synthetics/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ format_version: 3.0.0
name: synthetics
title: Elastic Synthetics
description: Internal Elastic integration for providing access to private locations.
version: 1.3.0
version: 1.4.0
categories: ["observability"]
type: integration
source:
Expand Down Expand Up @@ -30,7 +30,7 @@ conditions:
- "uptime"
subscription: "basic"
kibana:
version: "^8.11.0 || ^9.0.0"
version: "^9.1.0"
icons:
- src: /img/uptime-logo-color-64px.svg
size: 16x16
Expand Down

0 comments on commit 1a820b6

Please sign in to comment.