Skip to content

Commit

Permalink
docs: clarify when filterUri is overridden
Browse files Browse the repository at this point in the history
  • Loading branch information
obs-gh-virjramakrishnan committed Dec 5, 2024
1 parent 9a4c21a commit cfec22f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion apps/metricstream/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ Parameters:
DatasourceID:
Type: String
Description: >-
The datasource for this metric stream.
The datasource for this metric stream. Providing this will override
the MetricStreamFilterUri. The configuration from the datasource
will be used instead.
Default: ''
AllowedPattern: '\d*'
GQLToken:
Expand Down
4 changes: 3 additions & 1 deletion apps/stack/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ Parameters:
DatasourceID:
Type: String
Description: >-
The datasource for this metric stream.
The datasource for this metric stream. Providing this will override
the MetricStreamFilterUri. The configuration from the datasource
will be used instead.
AllowedPattern: '\d*'
Default: ''
GQLToken:
Expand Down
2 changes: 1 addition & 1 deletion docs/metricstream.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The application is configurable through several parameters that determine how da
| `BufferingSize` | Number | Buffer incoming data to the specified size, in MiBs, before delivering it to the destination. |
| `ObserveAccountID` | String | The observe account id of the user. |
| `ObserveDomainName` | String | The domain name (e.g. `observe-eng.com`) that the user is making the request from. |
| `DatasourceID` | String | The datasource for this metric stream. If this is provided, the metric stream will not reflect the config in `MetricStreamFilterUri`, the config in `DatasourceID` will be applied instead. |
| `DatasourceID` | String | The datasource for this metric stream. Providing this will override the `MetricStreamFilterUri`. The configuration from the datasource will be used instead. |
| `GQLToken` | String | The token used to retrieve metric configuration from the Observe backend. |
| `UpdateTimestamp` | String | Unix timestamp when metric stream was created or updated. |

Expand Down
2 changes: 1 addition & 1 deletion docs/stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The Observe stack provisions the following components:
| `MetricStreamFilterUri` | String | S3 URI for a file containing filters for metrics to be collected by CloudWatch Metrics Stream. If neither this nor DatasourceID is provided, no metrics will be collected. |
| `ObserveAccountID` | String | The observe account id of the user. |
| `ObserveDomainName` | String | The domain name (e.g. `observe-eng.com`) that the user is making the request from. |
| `DatasourceID` | String | The datasource for this metric stream. If this is provided, the metric stream will not reflect the config in `MetricStreamFilterUri`, the config in `DatasourceID` will be applied instead. |
| `DatasourceID` | String | The datasource for this metric stream. Providing this will override the `MetricStreamFilterUri`. The configuration from the datasource will be used instead. |
| `GQLToken` | String | The token used to retrieve metric configuration from the Observe backend. |
| `UpdateTimestamp` | String | Unix timestamp when metric stream was created or updated. |
| `SourceBucketNames` | CommaDelimitedList | A list of bucket names which the forwarder is allowed to read from. |
Expand Down

0 comments on commit cfec22f

Please sign in to comment.