Skip to content

Commit

Permalink
feat: send appName as an identifier in LD context (#461)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Mark Lee <malept@users.noreply.github.com>
  • Loading branch information
thezero and malept committed Mar 29, 2024
1 parent a554f98 commit 09c5bfa
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ local all = {
Path: '/run/secrets/outreach.io/launchdarkly/sdk-key',
},
flagsToAdd: {
appName: app.name,
bento: app.bento,
channel: if isDev then 'dev' else app.channel,
} + if isDev then {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ local all = {
Path: '/run/secrets/outreach.io/launchdarkly/sdk-key',
},
flagsToAdd: {
appName: app.name,
bento: app.bento,
channel: if isDev then 'dev' else app.channel,
} + if isDev then {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ local all = {
Path: '/run/secrets/outreach.io/launchdarkly/sdk-key',
},
flagsToAdd: {
appName: app.name,
bento: app.bento,
channel: if isDev then 'dev' else app.channel,
} + if isDev then {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ local all = {
Path: '/run/secrets/outreach.io/launchdarkly/sdk-key',
},
flagsToAdd: {
appName: app.name,
bento: app.bento,
channel: if isDev then 'dev' else app.channel,
} + if isDev then {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ local all = {
Path: '/run/secrets/outreach.io/launchdarkly/sdk-key',
},
flagsToAdd: {
appName: app.name,
bento: app.bento,
channel: if isDev then 'dev' else app.channel,
} + if isDev then {
Expand Down
1 change: 1 addition & 0 deletions templates/deployments/appname/app.jsonnet.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ local all = {
Path: '/run/secrets/outreach.io/launchdarkly/sdk-key',
},
flagsToAdd: {
appName: app.name,
bento: app.bento,
channel: if isDev then 'dev' else app.channel,
} + if isDev then {
Expand Down

0 comments on commit 09c5bfa

Please sign in to comment.