Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const SUPPRESSED_PRIORITY_ACTION = {
export const LOCK_ID_RESOURCE_INSTALLER = 'slo:resource_installer';

export const SLO_MODEL_VERSION = 2;
export const SLO_RESOURCES_VERSION = 3.4;
export const SLO_RESOURCES_VERSION = 3.5;
export const SLO_RESOURCES_VERSION_MAJOR = 3;

export const SLI_COMPONENT_TEMPLATE_MAPPINGS_NAME = '.slo-observability.sli-mappings';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,17 @@ export const SLI_MAPPINGS_TEMPLATE: ClusterPutComponentTemplateRequest = {
type: 'keyword',
ignore_above: 256,
},
name: {
type: 'text',
fields: {
keyword: {
type: 'keyword',
},
},
},
tags: {
type: 'keyword',
},
revision: {
type: 'long',
},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,18 @@ export const getSLIPipelineTemplate = (
value: slo.id,
},
},
{
set: {
field: 'slo.name',
value: slo.name,
},
},
{
set: {
field: 'slo.tags',
value: slo.tags,
},
},
{
set: {
field: 'slo.revision',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ describe('slo transform template', () => {
},
defer_validation: true,
_meta: {
version: 3.4,
version: 3.5,
managed: true,
managed_by: 'observability',
},
Expand Down Expand Up @@ -247,7 +247,7 @@ describe('slo transform template', () => {
},
defer_validation: true,
_meta: {
version: 3.4,
version: 3.5,
managed: true,
managed_by: 'observability',
},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading