Skip to content

Commit

Permalink
Troubleshoot guide for error when replacing Prometheus with Opentelem…
Browse files Browse the repository at this point in the history
…etry on Vagrant (#3272)
  • Loading branch information
dmolenda-sumo authored Nov 27, 2023
1 parent d9a0269 commit f198f4d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions vagrant/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,30 @@ sumologic:
endpoint: http://receiver-mock.receiver-mock:3002/terraform/api/
```

### Troubleshooting

#### Replace Prometheus with Opentelemetry

You could face the following error when replacing Prometheus with Opentelemetry on Vagrant

```bash
Error: UPGRADE FAILED: resource mapping not found for name: "collection-sumologic-metrics" namespace: "sumologic" from "": no matches for kind "OpenTelemetryCollector" in version "opentelemetry.io/v1alpha1"
ensure CRDs are installed first
make: *** [/sumologic/vagrant/Makefile:52: helm-upgrade] Error 1
```

To fix this issue, you need to remove the collectors by running

```bash
sumo-make clean
```

and then try upgrading the helm again by running

```bash
sumo-make upgrade
```

### Tips and tricks

- In order to manually take fluentd metrics using receiver-mock, use the following command from receiver-mock container:
Expand Down

0 comments on commit f198f4d

Please sign in to comment.