Skip to content

Latest commit

 

History

History
676 lines (478 loc) · 24.1 KB

CHANGELOG.md

File metadata and controls

676 lines (478 loc) · 24.1 KB

Release 1.3.0

BREAKING CHANGES:

provider

  • url was deleted. Instead, added env which defines the Coralogix environment. Also, can be set by environment variable CORALOGIX_ENV instead. Can be one of the following - [APAC1, APAC2, EUROPE1, EUROPE2, USA1].
  • timeout was deleted. Will be defined by a different timeout for each resource (internally).

resource/rule

  • The resource rule was deleted. Use rule_group with single inner rule instead.

resource/coralogix_rules_group

  • enabled changed to active.
  • rule_matcher was deleted and severity, applicationName and subsystemName were moved out to previous level as separated lists of severities, applications and subsystems.
  • rules was deleted and replaced by rule_subgroups (every rule-subgroup is list of rules with 'or' (||) operation between).
  • rules.*.group was deleted and replaced by rule_subgroups.*.rules.
  • rules.*.group.*.type was deleted. Instead, every rule inside rules (rule_subgroups.*.rules.*) can be one of
    • [parse, block, json_extract, replace, extract_timestamp, remove_fields, json_stringify, extract].
  • All the other parameters inside rules.*.group.* were moved to the specific rule type schemas inside rule_subgroups.*.rules.*. Any specific rule type schemas contain only its relevant fields.

resource/alert

  • severity changed to alert_severity and can be one of the following - [Info, Warning, Critical, Error].
  • type was removed. Instead, every alert must contain exactly one of
    • [standard, ratio, new_value, unique_count, time_relative, metric, tracing, flow].
  • schedule changed to scheduling.
  • schedule.*.days changed to scheduling.*.days_enabled and can be one of the following
    • [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday].
  • schedule.*.start changed to scheduling.*.start_time.
  • schedule.*.end changed to scheduling.*.end_time.
  • All the other parameters inside alert were moved to the specific alert type schemas inside alert. Any specific alert type schemas contain only their relevant fields.

FEATURES:

  • New Resource: logs2metric

IMPROVEMENTS:

provider

  • api_key can be declared as environment variable CORALOGIX_API_KEY instead of to terraform configs.
  • Add Acceptance Tests.
  • Added retrying mechanism.

resource/coralogix_rules_group

  • Add Acceptance Tests.
  • Moved to Coralogix grpc endpoint.

resource/alert

  • Add Acceptance Tests.
  • Moved to Coralogix grpc endpoint.

Release 1.3.27

BREAKING CHANGES:

resource/alert

  • webhook_ids was changed to webhooks.

Release 1.3.29

BREAKING CHANGES:

resource/alert

  • alert_severity was changed to severity.
  • manage_undetected_values.disable_triggering_on_undetected_values was omitted. Instead, it's possible to set manage_undetected_values.enable_triggering_on_undetected_values = false (manage_undetected_values.auto_retire_ratio is not allowed in that case).

Release 1.3.31

BREAKING CHANGES:

resource/alert

  • categories ,classes, computers, ip_addresses, methods and search_query are not supported filters for tracing alert, Therefore they were deleted from the tracing-alert scheme.
  • applications,severities and subsystems filters have currently different format in tracing-alert (field_filters), Therefore they were deleted from the tracing-alert scheme.

Release 1.4.0

BREAKING CHANGES:

resource/alert

  • meta_labels was changed to key-value map. (e.g.
    • meta_labels {key = "alert_type" value = "security"} meta_labels {key = "security_severity" value = "high"} => meta_labels = {alert_type = "security" security_severity = "high" }). (example-usage).
  • scheduling.time_frames was changed to time_frame.
  • standard.occurrences_threshold and tracing.occurrences_threshold were changed to threshold.
  • ratio.queries_ratio was changed to ratio_threshold.
  • notification was changed to list of notifications_group and have entire different schema (nested-schema-for-notifications).
  • notification.ignore_infinity was moved to ratio.condition.ignore_infinity and time_relative.condition.ignore_infinity.
  • notification.notify_every_min was changed to notifications_group.notification.retriggering_period_minutes.
  • notification.on_trigger_and_resolved (boolean) was changed to notifications_group.notification.notify_on (string).
  • notification.recipients.webhook_id replaced with notifications_group.notification.integration_id and should contain the integration's (webhook's) id instead of the integration's name.
  • flow-alert's (flow) schema was fixed. Any earlier version contained wrong schema of flow-alert. (nested-schema-for-flow).
  • tracing.field_filters was removed, and tracing.applications, tracing.applications and tracing.services were added instead.
  • tracing.tag_filters was changed to tracing.tag_filter and contains only field and values.
  • tracing.tag_filter.values, tracing.applications, tracing.applications and tracing.services have the same format as the other alerts' filters. (example-usage).
  • tracing.latency_threshold_ms was changed to latency_threshold_milliseconds.

Release 1.4.4

BREAKING CHANGES:

resource/alert

  • notifications_group.group_by_fields was changed from TypeSet (doesn't keep order of declaration) to TypeList ( keeps order of declaration). This change can cause to diffs in state.

Release 1.5.0

BREAKING CHANGES:

resource/events2metric (logs2metric)

  • resource and data-source name logs2metric was changed to events2metric and contains logs_query and span_query option.

Release 1.5.2

FEATURES:

resource/events2metric

Release 1.5.3

BREAKING CHANGES:

resource/tco_policy

  • severities is now required.
  • order is now required.

BUG FIXING:

resource/tco_policy

Fixing TF doesn't detect manually deleted resources * Fixing Order of policies can't be manged by TF

FEATURES:

DEVELOPERS:

  • go version was update to 1.20.x

Release 1.5.4

FEATURES:

Release 1.5.5

BREAKING CHANGES:

resource/recording_rules_group

Release 1.5.6

resource/tco_policy

Fixing TF doesn't detect manually deleted resources

Release 1.5.7

BUG FIXING:

resource/alert

  • Fixing - received an error when updating promql alert condition from less_than to more_than

Release 1.5.8

BREAKING CHANGES:

resource/coralogix_dashboard

  • for all the new line chart widgets - query, series_name_template, series_count_limit, unit and scale_type fields were deprecated. They will be part of query_definition now.
  • all lists of objects names' 's' suffix was removed (e.g. - widgets => widget).

Release 1.5.9

BUG FIXING:

resource/coralogix_alert

  • Fixing - tracing alert with tracing.tag_filter and tracing.applications/tracing.services/tracing.services filters doesn't work for 'equal' operator.

FEATURES:

resource/coralogix_alert

  • Adding support for 'notEquals' operator for tracing.tag_filter and tracing.applications/tracing.services /tracing.services filters.

Release 1.6.0

BREAKING CHANGES:

resource/coralogix_events2metric

Please note - this version contains a State Upgrader . It will upgrade the state to the new schema. Please make sure to back up your state before upgrading.

  • logs_query type was changed from Block List, Max: 1 to Attributes.
  • spans_query type was changed from Block List, Max: 1 to Attributes.
  • metric_fields type was changed from Block Set to Attributes Map, and metric_fields's target_base_metric_name was changed to the map's key. e.g. - metric_fields {target_base_metric_name = "metric_name" ...} => metric_fields = {"metric_name" = {...}}.
  • metric_fields's aggregations type was changed from Block List, Max: 1 to Attributes.
  • All aggregations's fields (avg, count, histogram, max, min, samples, sum) types where changed from Block List, Max: 1 Attributes.
  • metric_labels type was changed from Block Set to Attributes Map, and metric_labels's target_label_name was changed to the map's key. e.g. - metric_labels {target_label_name = "label_name" ...} => metric_labels = {"label_name" = {...}}.

BUG FIXING:

resource/coralogix_events2metric

Release 1.6.1

FEATURES:

resource/coralogix_alert

  • Adding support for more_than_usual condition for metric.promql alert.

Release 1.6.2

FEATURES:

resource/coralogix_tco_policy

  • Adding support for archive_retention_id.

Release 1.6.3

DEVELOPERS:

resource/coralogix_actions

  • Resource and Data Source were moved to plugin-framework.

Release 1.6.4

Breaking Changes:

resource/coralogix_alert

  • ratio and time_relative's condition's ignore_infinity conflicts with condition's less_than.

BUG FIXING:

resource/coralogix_tco_policy

  • Fixing - getting panic on creation errors.

Release 1.6.5

INTERNAL CHANGES:

resource/coralogix_tco_policy

  • tco_policy and tco_policy_override endpoints were changed.

Release 1.7.0

Breaking Changes:

resource/coralogix_tco_policy was changed to coralogix_tco_policy_logs and contains the next changes:

  • subsystem_name was changed to subsystems and have different structure e.g. - subsystem_name { is = true rules = ["mobile", "web"] } => subsystems = { rule_type = "is" names = ["mobile", "web"] }
  • application_name was changed to applications and have different structure e.g. - application_name { starts_with = true rule = "prod" } => applications = { rule_type = "starts_with" names = ["prod"] }

Please note - this version contains a State Upgrader. It will upgrade the state to the new schema. Please make sure to back up your state before upgrading. (for upgrading the schemas the resource names have to be change manually to coralogix_tco_policy_logs before upgrading)

FEATURES:

resource/coralogix_tco_policy_traces

  • new resource - coralogix_tco_policy_traces

DEVELOPERS:

resource/coralogix_tco_policy

  • using grpc endpoint instead of the REST endpoint.
  • moved to plugin-framework.

Release 1.8.0

Breaking Changes:

resource/coralogix_dashboard

  • schemas where changed to support the new dashboard widgets and more convenient schema.

Release 1.8.6

New Features:

resource/coralogix_alert

  • Adding support for flow.group_by.

Release 1.8.10

New Features:

resource/coralogix_dashboard

  • Adding limitation for layout.sections length (will support few sections in the future).
  • is_visible is true by default (for all is_visible fields).
  • Removing gauge.query.logs/spans.aggregation from schema.

Release 1.8.11

New Features:

resource/coralogix_dashboard

  • Adding support for markdown and horizonal_bar_chart widgets.
  • Adding support for color_scheme and sort_by for bar_chart.

Release 1.9.0

Breaking Changes:

resource/coralogix_webhook

  • All webhook types changed from TypeList to SingleNestedAttribute e.g. - slack { } => slack = { }.
  • Linkage between webhook and alert was changed from webhook's id to webhook's external_id. e.g.- integration_id = coralogix_webhook.slack_webhook.id => integration_id = coralogix_webhook.slack_webhook.external_id

Release 1.10.0

Breaking Changes:

resource/coralogix_recording_rules_groups_set

  • group was changed to groups and from TypeSet to SetNestedAttribute. e.g. - group { } => groups = [{ }].
  • group.rule was changed to groups.rules and from TypeList to ListNestedAttribute. e.g. - rule { } => rules = [{ }].
  • this version contains a State Upgrader. It will upgrade the state to the new schema. Please make sure to back up your state before upgrading.

Release 1.10.4

Breaking Changes:

resource/coralogix_tco_policy_overrides

  • the resource was deprecated and removed.

Release 1.10.6

New Features:

resource/coralogix_archive_retentions

Release 1.10.7

New Features:

resource/coralogix_archive_logs

Release 1.10.9

New Features:

resource/coralogix_alerts_scheduler

Release 1.10.10

New Features:

resource/coralogix_team

  • Adding support for coralogix_team resource

resource/coralogix_moving_quota

  • Adding support for coralogix_moving_quota resource

Release 1.10.11

New Features:

resource/coralogix_slo

Release 1.11.0

Breaking Changes:

resource/coralogix_alert

  • show_in_insights was removed. use incident_settings or notification's notify_on and retriggering_period_minutes instead.
  • exactly one of incident_settings or all of notifications_group.*.notification.*. notify_on and retriggering_period_minutes must be set.

New Features:

resource/coralogix_alert

  • Adding support for metric.0.promql.0.condition.0.less_than_usual.

Bug fixing:

  • avoiding calling moving quota endpoint when moving quota is not needed.
  • fixing coralogix_alerts_scheduler terraform lose track over the resource when coralogix_alerts_scheduler is change externally.

Release 1.11.1

New Features:

resource/coralogix_webhook

  • Adding support for event_bridge webhook type.

Bug fixing:

resource/coralogix_team

  • fixing log message when for permission denied error.

Release 1.11.3

Bug fixing:

  • adding validation for env field.

Release 1.11.4

New Features:

resource/coralogix_dashboards_folder

resource/coralogix_dashboard

  • Adding support for folder, annotations fields.
  • Adding support for data_prime for bar_chart, data_table and pie_chart widgets.
  • adding validation for env field.

Release 1.11.5

Bug fixing:

resource/coralogix_slo

  • fixing log messages and flattening update-response into schema.

Release 1.11.6

Bug fixing:

resource/coralogix_dashboard

  • fixing DataTableSpansAggregationModel parsing bug.

Release 1.11.7

Bug fixing:

resource/coralogix_dashboard

  • fixing flatten of json_content field bug.

Release 1.11.8

New Features:

resource/coralogix_api_key

Release 1.11.9

New Features:

resource/coralogix_user

resource/coralogix_group

Release 1.11.10

New Features:

resource/coralogix_custom_role

Release 1.11.11

Breaking Changes:

resource/coralogix_user, resource/coralogix_group and resource/coralogix_custom_role

  • team_id was removed. managed by (team's) api-key with the right permissions.

Bug fixing:

resource/coralogix_events2metric

  • fixing buckets type-conversion bug (from float32 to float64).

resource/coralogix_dashboard

  • fixing time_frame.relative.duration flattening bug when set to seconds:0.

Release 1.11.12

New Features:

resource/coralogix_dashboards_folder

  • Adding support for parent_id.

Release 1.11.13

Breaking Changes:

resource/coralogix_team and resource/coralogix_moving_quota

  • coralogix_moving_quota was removed, and the coralogix_team resource was changed to support setting of daily-quota.

Release 1.12.0

Breaking Changes:

resource/coralogix_sli

  • filters was changed from TypeList to TypeSet.

Release 1.12.1

Bug fixing:

resource/coralogix_slo

  • fixing threshold_symbol_type bug in ac ase of greater_or_equal and add less_or_equal option.

Release 1.13.0

Breaking Changes:

resource/coralogix_dashboard

  • annotations.source.metric was changed to annotations.source.metrics.

Bug fixing:

resource/coralogix_dashboard

New Features:

resource/coralogix_dashboard

  • adding data_mode for data_table widget.
  • adding logs and spans options for annotations.source.
  • adding auto_refresh for dashboard.

Release 1.13.1

Bug fixing:

resource/coralogix_dashboard

  • adding schema upgrade v1 to v2 (for annotations.source.metrics field).

Release 1.13.2

Bug fixing:

resource/coralogix_alert

Release 1.13.3

New Features:

resource/coralogix_webhook

Release 1.13.4

Breaking Changes:

  • org_key and CORALOGIX_ORG_KEY were removed from the provider configuration. use api_key and CORALOGIX_API_KEY instead.

Release 1.13.5

Bug fixing:

resource/coralogix_events2metric

  • fixing conversion of buckets from float32 to float64.

Release 1.13.6

Bug fixing:

resource/coralogix_dashboard

  • replace in a case of not_found error in coralogix_dashboard resource.
  • adding validations.

Release 1.14.0

Breaking Changes:

coralogix_tco_policy_logs and coralogix_tco_policy_traces

Bug fixing:

resource/coralogix_dashboard

Release 1.14.1

New Features:

resource/coralogix_dashboard

  • adding units for line_chart query_definitions.

Release 1.15.0

Breaking Changes:

resource/coralogix_alert

  • group_by needs to be set instead of group_by_keys in case of more_than_usual condition.
  • time_window was added for more_than_usual condition.

Release 1.15.1

New Features:

resource/coralogix_alert

  • adding 5Min to time_window options for unique_count condition.

Release 1.16.0

Breaking Changes:

resource/coralogix_api_key

  • Roles are replaced by "Presets" and "Permission" keys. Read more here.

Various documentation upgrades

Release 1.16.1

New Features:

resource/coralogix_alert

  • adding more_than_or_equal_usual and less_than_or_equal_usual conditions to metric.promql alert.

Release 1.16.2

New Features:

resource/coralogix_api_key

  • added support for Organisation_Id owners.

resource/coralogix_dashboard

  • added support for section options

Bug fixing:

resource/coralogix_api_key

  • HTTP 403 responses will now be displaying the actual error message

Various documentation fixes

Deprecation: coralogix_sli deprecated in favor of coralogix_slo

Release 1.16.3

New Features:

resource/coralogix_dashboard

  • added support for more than one section.
  • added support for query option in multi_select variables.

Release 1.16.4

Bug fixing:

resource/coralogix_dashboard

  • changing pie_chart and horizontal_bar_chart query.logs.group_names to Optional.

Release 1.17

New Features:

resource/coralogix_scope

  • added Scope support

resource/coralogix_group

  • added support for associated scopes

Release 1.18.0

New Features:

resource/coralogix_integration

  • added integration support

resource/coralogix_sli

  • removed, use coralogix_slo instead

resource/coralogix_traces_policy

  • removed, use coralogix_traces_policies instead

resource/coralogix_logs_policy

  • removed, use coralogix_logs_policies instead

Release 1.18.1

Fix: Duplicate GRPC extension crash

Release 1.18.2

Fix: Duplicate GRPC extension crash (actually)

Release 1.18.3

defunct

Release 1.18.4

Fix:

resource/coralogix_integration

  • improved error messages for invalid parameters before creating

resource/coralogix_webhook

  • Replaced depracated MS Teams webhook with MS Teams Workflow Webhook.

resource/coralogix_alert

  • removed regex validation from search query

New Features:

  • endpoints can now specified in an abbreviated fashion: [AP1, AP2, EU1, EU2, US1, US2].

Release 1.18.5

Fix:

resource/coralogix_webhook

  • Replaced depracated MS Teams webhook with MS Teams Workflow Webhook.