BREAKING CHANGES:
url
was deleted. Instead, addedenv
which defines the Coralogix environment. Also, can be set by environment variableCORALOGIX_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).
- The resource
rule
was deleted. Userule_group
with single innerrule
instead.
enabled
changed toactive
.rule_matcher
was deleted andseverity
,applicationName
andsubsystemName
were moved out to previous level as separated lists ofseverities
,applications
andsubsystems
.rules
was deleted and replaced byrule_subgroups
(everyrule-subgroup
is list ofrule
s with 'or' (||) operation between).rules.*.group
was deleted and replaced byrule_subgroups.*.rules
.rules.*.group.*.type
was deleted. Instead, everyrule
insiderules
(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 insiderule_subgroups.*.rules.*
. Any specific rule type schemas contain only its relevant fields.
severity
changed toalert_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 toscheduling
.schedule.*.days
changed toscheduling.*.days_enabled
and can be one of the following[Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]
.
schedule.*.start
changed toscheduling.*.start_time
.schedule.*.end
changed toscheduling.*.end_time
.- All the other parameters inside
alert
were moved to the specific alert type schemas insidealert
. Any specific alert type schemas contain only their relevant fields.
FEATURES:
- New Resource:
logs2metric
IMPROVEMENTS:
api_key
can be declared as environment variableCORALOGIX_API_KEY
instead of to terraform configs.- Add Acceptance Tests.
- Added retrying mechanism.
- Add Acceptance Tests.
- Moved to Coralogix grpc endpoint.
- Add Acceptance Tests.
- Moved to Coralogix grpc endpoint.
BREAKING CHANGES:
webhook_ids
was changed towebhooks
.
BREAKING CHANGES:
alert_severity
was changed toseverity
.manage_undetected_values.disable_triggering_on_undetected_values
was omitted. Instead, it's possible to setmanage_undetected_values.enable_triggering_on_undetected_values = false
(manage_undetected_values.auto_retire_ratio
is not allowed in that case).
BREAKING CHANGES:
categories
,classes
,computers
,ip_addresses
,methods
andsearch_query
are not supported filters for tracing alert, Therefore they were deleted from the tracing-alert scheme.applications
,severities
andsubsystems
filters have currently different format in tracing-alert (field_filters
), Therefore they were deleted from the tracing-alert scheme.
BREAKING CHANGES:
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 totime_frame
.standard.occurrences_threshold
andtracing.occurrences_threshold
were changed tothreshold
.ratio.queries_ratio
was changed toratio_threshold
.notification
was changed to list ofnotifications_group
and have entire different schema (nested-schema-for-notifications).notification.ignore_infinity
was moved toratio.condition.ignore_infinity
andtime_relative.condition.ignore_infinity
.notification.notify_every_min
was changed tonotifications_group.notification.retriggering_period_minutes
.notification.on_trigger_and_resolved
(boolean) was changed tonotifications_group.notification.notify_on
(string).notification.recipients.webhook_id
replaced withnotifications_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, andtracing.applications
,tracing.applications
andtracing.services
were added instead.tracing.tag_filters
was changed totracing.tag_filter
and contains onlyfield
andvalues
.tracing.tag_filter.values
,tracing.applications
,tracing.applications
andtracing.services
have the same format as the other alerts' filters. (example-usage).tracing.latency_threshold_ms
was changed tolatency_threshold_milliseconds
.
BREAKING CHANGES:
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.
BREAKING CHANGES:
- resource and data-source name logs2metric was changed to events2metric and contains
logs_query
andspan_query
option.
FEATURES:
- Adding aggregations option
to
metric_fields
.
BREAKING CHANGES:
severities
is now required.order
is now required.
BUG FIXING:
Fixing TF doesn't detect manually deleted resources * Fixing Order of policies can't be manged by TF
FEATURES:
- Adding Custom Domain option
DEVELOPERS:
- go version was update to 1.20.x
FEATURES:
- Adding tco_policy_override resource and data source.
BREAKING CHANGES:
- Deprecated, and replaced with recording_rules_groups_set .
Fixing TF doesn't detect manually deleted resources
BUG FIXING:
- Fixing - received an error when updating promql alert condition from less_than to more_than
BREAKING CHANGES:
- for all the new line chart widgets -
query
,series_name_template
,series_count_limit
,unit
andscale_type
fields were deprecated. They will be part ofquery_definition
now. - all lists of objects names' 's' suffix was removed (e.g. -
widgets
=>widget
).
BUG FIXING:
- Fixing - tracing alert with
tracing.tag_filter
andtracing.applications
/tracing.services
/tracing.services
filters doesn't work for 'equal' operator.
FEATURES:
- Adding support for 'notEquals' operator for
tracing.tag_filter
andtracing.applications
/tracing.services
/tracing.services
filters.
BREAKING CHANGES:
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 fromBlock List, Max: 1
toAttributes
.spans_query
type was changed fromBlock List, Max: 1
toAttributes
.metric_fields
type was changed fromBlock Set
toAttributes Map
, andmetric_fields
'starget_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
'saggregations
type was changed fromBlock List, Max: 1
toAttributes
.- All
aggregations
's fields (avg
,count
,histogram
,max
,min
,samples
,sum
) types where changed fromBlock List, Max: 1
Attributes
. metric_labels
type was changed fromBlock Set
toAttributes Map
, andmetric_labels
'starget_label_name
was changed to the map's key. e.g. -metric_labels {target_label_name = "label_name" ...}
=>metric_labels = {"label_name" = {...}}
.
BUG FIXING:
FEATURES:
- Adding support for
more_than_usual
condition formetric.promql
alert.
FEATURES:
- Adding support for
archive_retention_id
.
DEVELOPERS:
- Resource and Data Source were moved to plugin-framework.
Breaking Changes:
ratio
andtime_relative
'scondition
'signore_infinity
conflicts withcondition
'sless_than
.
BUG FIXING:
- Fixing - getting panic on creation errors.
INTERNAL CHANGES:
tco_policy
andtco_policy_override
endpoints were changed.
Breaking Changes:
resource/coralogix_tco_policy was changed to coralogix_tco_policy_logs and contains the next changes:
subsystem_name
was changed tosubsystems
and have different structure e.g. -subsystem_name { is = true rules = ["mobile", "web"] }
=>subsystems = { rule_type = "is" names = ["mobile", "web"] }
application_name
was changed toapplications
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:
- new resource - coralogix_tco_policy_traces
DEVELOPERS:
- using grpc endpoint instead of the REST endpoint.
- moved to
plugin-framework
.
Breaking Changes:
- schemas where changed to support the new dashboard widgets and more convenient schema.
New Features:
- Adding support for
flow.group_by
.
New Features:
- 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.
New Features:
- Adding support for
markdown
andhorizonal_bar_chart
widgets. - Adding support for
color_scheme
andsort_by
forbar_chart
.
Breaking Changes:
- All webhook types changed from
TypeList
toSingleNestedAttribute
e.g. -slack { }
=>slack = { }
. - Linkage between webhook and alert was changed from webhook's
id
to webhook'sexternal_id
. e.g.-integration_id = coralogix_webhook.slack_webhook.id
=>integration_id = coralogix_webhook.slack_webhook.external_id
Breaking Changes:
group
was changed togroups
and fromTypeSet
toSetNestedAttribute
. e.g. -group { }
=>groups = [{ }]
.group.rule
was changed togroups.rules
and fromTypeList
toListNestedAttribute
. 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.
Breaking Changes:
- the resource was deprecated and removed.
New Features:
- Adding support for
coralogix_archive_retentions
resource and data-source.
New Features:
- Adding support for
coralogix_archive_logs
resource and data-source. - Adding support for
coralogix_archive_metrics
resource and data-source.
New Features:
- Adding support for
coralogix_alerts_scheduler
resource and data-source.
New Features:
- Adding support for
coralogix_team
resource
- Adding support for
coralogix_moving_quota
resource
New Features:
- Adding support for
coralogix_slo
resource and data-source.
Breaking Changes:
show_in_insights
was removed. useincident_settings
or notification'snotify_on
andretriggering_period_minutes
instead.- exactly one of
incident_settings
or all ofnotifications_group.*.notification.*.
notify_on
andretriggering_period_minutes
must be set.
New Features:
- 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 whencoralogix_alerts_scheduler
is change externally.
New Features:
- Adding support for
event_bridge
webhook type.
Bug fixing:
- fixing log message when for permission denied error.
Bug fixing:
- adding validation for
env
field.
New Features:
- Adding support for
coralogix_dashboards_folder
resource and data-source.
- Adding support for
folder
,annotations
fields. - Adding support for
data_prime
forbar_chart
,data_table
andpie_chart
widgets. - adding validation for
env
field.
Bug fixing:
- fixing log messages and flattening update-response into schema.
Bug fixing:
- fixing DataTableSpansAggregationModel parsing bug.
Bug fixing:
- fixing flatten of
json_content
field bug.
New Features:
- Adding
coralogix_api_key
resource and data-source.
New Features:
- Adding
coralogix_user
resource and data-source.
- Adding
coralogix_user_group
resource and data-source.
New Features:
- Adding
coralogix_custom_role
resource and data-source.
Breaking Changes:
team_id
was removed. managed by (team's) api-key with the right permissions.
Bug fixing:
- fixing
buckets
type-conversion bug (from float32 to float64).
- fixing
time_frame.relative.duration
flattening bug when set toseconds:0
.
New Features:
- Adding support for
parent_id
.
Breaking Changes:
coralogix_moving_quota
was removed, and thecoralogix_team
resource was changed to support setting of daily-quota.
Breaking Changes:
filters
was changed fromTypeList
toTypeSet
.
Bug fixing:
- fixing
threshold_symbol_type
bug in ac ase ofgreater_or_equal
and addless_or_equal
option.
Breaking Changes:
annotations.source.metric
was changed toannotations.source.metrics
.
Bug fixing:
New Features:
- adding
data_mode
for data_table widget. - adding
logs
andspans
options forannotations.source
. - adding
auto_refresh
for dashboard.
Bug fixing:
- adding schema upgrade v1 to v2 (for
annotations.source.metrics
field).
Bug fixing:
New Features:
- adding
attachments
toslack
webhook type attachments. fixing issue.
Breaking Changes:
org_key
andCORALOGIX_ORG_KEY
were removed from the provider configuration. useapi_key
andCORALOGIX_API_KEY
instead.
Bug fixing:
- fixing conversion of
buckets
fromfloat32
tofloat64
.
Bug fixing:
- replace in a case of not_found error in
coralogix_dashboard
resource. - adding validations.
Breaking Changes:
- Resources and Data Sources were deprecated. Use coralogix_tco_policies_logs and coralogix_tco_policies_traces instead.
Bug fixing:
- fixing issue.
New Features:
- adding units for
line_chart
query_definitions.
Breaking Changes:
group_by
needs to be set instead ofgroup_by_keys
in case ofmore_than_usual
condition.time_window
was added formore_than_usual
condition.
New Features:
- adding
5Min
totime_window
options forunique_count
condition.
Breaking Changes:
- Roles are replaced by "Presets" and "Permission" keys. Read more here.
Various documentation upgrades
New Features:
- adding
more_than_or_equal_usual
andless_than_or_equal_usual
conditions tometric.promql
alert.
New Features:
- added support for
Organisation_Id
owners.
- added support for section options
Bug fixing:
- HTTP 403 responses will now be displaying the actual error message
Various documentation fixes
Deprecation: coralogix_sli
deprecated in favor of coralogix_slo
New Features:
- added support for more than one
section
. - added support for
query
option inmulti_select
variables.
Bug fixing:
- changing
pie_chart
andhorizontal_bar_chart
query.logs.group_names
to Optional.
New Features:
- added Scope support
- added support for associated scopes
New Features:
- added integration support
- removed, use
coralogix_slo
instead
- removed, use
coralogix_traces_policies
instead
- removed, use
coralogix_logs_policies
instead
Fix: Duplicate GRPC extension crash
Fix: Duplicate GRPC extension crash (actually)
defunct
Fix:
- improved error messages for invalid parameters before creating
- Replaced depracated MS Teams webhook with MS Teams Workflow Webhook.
- removed regex validation from search query
New Features:
- endpoints can now specified in an abbreviated fashion:
[AP1, AP2, EU1, EU2, US1, US2]
.
Fix:
- Replaced depracated MS Teams webhook with MS Teams Workflow Webhook.
New Features:
- added support for
text
option forjson_extract
rule type.
New Features:
- Added support for searching by webhook name.
Fix:
- coralogix_integration with sensitive data didn't work
- coralogix_integration with additional default parameters didn't work
- documentation examples are now automatically generated
New Features
New Features:
- new endpoint:
[AP3, APAC3]
.
- Support for auto generated IDs added
DEVELOPERS:
- go version was update to 1.23.x
New features:
- added low severity alerts
Fix:
- Fixed geo_ip enrichments
Fix:
- SLO issue when using variables
Feature:
- Add analytics header to requests
The provider is now based on the Coralogix Management SDK with the latest APIs. This fixes a variety of issues and should be mostly transparent to the user.
Breaking Changes:
Revamped the structure of alerts in general. Please consult the guide v1-v2-migration-guide on how to migrate.
- Various SLO fixes
- Update scopes in place instead of creating new ones on update