Skip to content

Commit

Permalink
Add Log statement about statsd receiver (#2250)
Browse files Browse the repository at this point in the history
* Set statsd by default and Add Log statement

* Modify doc

* Change to v0.33.0

* Rebase and correct the log
  • Loading branch information
vasireddy99 authored Aug 10, 2023
1 parent f7cd74f commit 31cdc2e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ Use the community resources below for getting help with the ADOT Collector.
* If you think you may have found a bug, open a [bug report](https://github.com/aws-observability/aws-otel-collector/issues/new?template=bug_report.md).
* For contributing guidelines, refer to [CONTRIBUTING.md](CONTRIBUTING.md).

### Notice: ADOT Collector v0.33.0 Breaking Change
Users of the `statsd` receiver, please refer to GitHub Issue - [Warning: StatsD Receiver → EMF Exporter Metric Pipeline Breaking Change](https://github.com/aws-observability/aws-otel-collector/issues/2249)
for information on an upcoming breaking change.

#### ADOT Collector Built-in Components

This table represents the supported components of the ADOT Collector. The highlighted components below are developed by AWS in-house. The rest of the components in the table are the essential default components that the ADOT Collector will support.
Expand Down
4 changes: 4 additions & 0 deletions cmd/awscollector/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ func main() {
func buildAndParseFlagSet(featgate *featuregate.Registry) (*flag.FlagSet, error) {
flagSet := config.Flags(featgate)

// TODO: remove after ADOT Collector v0.34.0 is released
log.Printf("attn: users of the statsd receiver please refer to " +
"https://github.com/aws-observability/aws-otel-collector/issues/2249 in regards to an ADOT Collector v0.33.0 " +
"breaking change")
if err := flagSet.Parse(os.Args[1:]); err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion docs/developers/build-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ aws-otel-collector is an open source project, we’re looking for the contributi
2. Build your own docker image.
```make docker-build ```
3. Run AWSOTelCollector docker image with the default configuration file. By default, it will pull the latest image from ECR. Modify docker-compose.yaml to use your own image.
```cd examples; docker-compose up -d```
```cd examples/docker; docker-compose up -d```

0 comments on commit 31cdc2e

Please sign in to comment.