From c5b29b27f11b89b268b3334251e3b19051f8fead Mon Sep 17 00:00:00 2001 From: Bhavye Sharma Date: Sun, 4 Feb 2024 12:08:44 -0800 Subject: [PATCH] camelCase LogPrefixGroup --- .../fluentbitconfigmap.ts | 6 +++--- .../index.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/single-new-eks-fargate-opensource-observability-pattern/fluentbitconfigmap.ts b/lib/single-new-eks-fargate-opensource-observability-pattern/fluentbitconfigmap.ts index d100b0aa..cb3f10ca 100644 --- a/lib/single-new-eks-fargate-opensource-observability-pattern/fluentbitconfigmap.ts +++ b/lib/single-new-eks-fargate-opensource-observability-pattern/fluentbitconfigmap.ts @@ -21,7 +21,7 @@ export interface FluentBitConfigMapProps { /** * Prefix for logs stream */ - log_stream_prefix: string; + logStreamPrefix: string; /** * Enable logs from fluentBit process @@ -35,7 +35,7 @@ export interface FluentBitConfigMapProps { const defaultProps: FluentBitConfigMapProps = { awsRegion: "us-east-1", logGroupName: "fargate-observability", - log_stream_prefix: "from-fluent-bit-", + logStreamPrefix: "from-fluent-bit-", enableFlbProcessLogs: false }; @@ -61,7 +61,7 @@ export class FluentBitConfigMap implements blueprints.ClusterAddOn { const values: blueprints.Values = { awsRegion: this.props.awsRegion, logGroupName: this.props.logGroupName, - log_stream_prefix: this.props.log_stream_prefix, + log_stream_prefix: this.props.logStreamPrefix, enableFlbProcessLogs: this.props.enableFlbProcessLogs, }; diff --git a/lib/single-new-eks-fargate-opensource-observability-pattern/index.ts b/lib/single-new-eks-fargate-opensource-observability-pattern/index.ts index 0f79d636..897588c9 100644 --- a/lib/single-new-eks-fargate-opensource-observability-pattern/index.ts +++ b/lib/single-new-eks-fargate-opensource-observability-pattern/index.ts @@ -116,7 +116,7 @@ export default class SingleNewEksFargateOpenSourceObservabilityConstruct { const fluentBitConfigMapProps = { awsRegion: region, logGroupName: "fargate-observability", - log_stream_prefix: "from-fluent-bit-", + logStreamPrefix: "from-fluent-bit-", } as FluentBitConfigMapProps; Reflect.defineMetadata("ordered", true, blueprints.addons.GrafanaOperatorAddon);