Skip to content

Commit

Permalink
feat(collection): add debug endpoint (#208)
Browse files Browse the repository at this point in the history
Allow setting debug endpoint from collection stack
  • Loading branch information
jta authored Mar 21, 2024
1 parent fb25dd3 commit f0955b2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions apps/collection/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ Metadata:
- SourceBucketNames
- ContentTypeOverrides
- NameOverride
- Label:
default: Debugging Options
Parameters:
- DebugEndpoint

Parameters:
DataAccessPointArn:
Expand Down Expand Up @@ -110,6 +114,12 @@ Parameters:
Metrics Stream. If empty, no metrics will be collected.
Default: 's3://observeinc/cloudwatchmetrics/filters/recommended.yaml'
AllowedPattern: "^s3:\/\/.*$"
DebugEndpoint:
Type: String
Description: >-
OpenTelemetry endpoint to send additional telemetry to.
Default: ''
AllowedPattern: "^(http(s)?:\/\/.*)?$"

Conditions:
EnableConfig: !Not
Expand Down Expand Up @@ -237,6 +247,7 @@ Resources:
- !Ref Topic
Parameters:
BucketARN: !GetAtt Bucket.Arn
DebugEndpoint: !Ref DebugEndpoint
LogGroupNamePrefixes: !Join [",", !Ref LogGroupNamePrefixes]
LogGroupNamePatterns: !Join [",", !Ref LogGroupNamePatterns]
FilterName: 'observe-logs-subscription'
Expand Down

0 comments on commit f0955b2

Please sign in to comment.