Skip to content

Commit 30a4fe0

Browse files
pankaj101ACopilotkimsauce
authored
SUMO-272127:otel edit name issue locally managed collector (#5946)
* SUMO-272127:otel-known issue locally managed collector * Update docs/send-data/opentelemetry-collector/troubleshooting.md Co-authored-by: Copilot <[email protected]> * SUMO-272127:otel-known issue locally managed collector * Update docs/send-data/opentelemetry-collector/troubleshooting.md Co-authored-by: Kim (Sumo Logic) <[email protected]> * Update docs/send-data/opentelemetry-collector/troubleshooting.md Co-authored-by: Kim (Sumo Logic) <[email protected]> * Update docs/send-data/opentelemetry-collector/troubleshooting.md Co-authored-by: Kim (Sumo Logic) <[email protected]> * Update docs/send-data/opentelemetry-collector/troubleshooting.md * Update troubleshooting instructions for credential clearing Added commands for clearing credentials on various OS platforms. --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Kim (Sumo Logic) <[email protected]>
1 parent 0b3b122 commit 30a4fe0

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

docs/send-data/opentelemetry-collector/troubleshooting.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,3 +282,61 @@ The other problem is that it is not currently possible for Filelog receiver to s
282282
There is currently no workaround for this.
283283

284284
[filelogreceiver_docs]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.71.0/receiver/filelogreceiver/README.md
285+
286+
### Collector name not updating after configuration change for locally managed collectors
287+
288+
Starting from **Sumo Logic OpenTelemetry Collector version `0.137.0-sumo-0`**, changing the `extensions.sumologic.collector.name` property in the configuration file **does not automatically update** the locally managed collector name upon restart.
289+
290+
#### Cause
291+
The collector retains the previous name from the local credentials file and does not regenerate it unless the credentials are removed.
292+
293+
#### Resolution
294+
To apply the new collector name after modifying the configuration:
295+
296+
1. **Stop** the collector.
297+
2. **Delete all files in the local credentials directory** (path differs by OS).
298+
3. **Start** the collector again.
299+
300+
301+
#### Example commands
302+
303+
<Tabs
304+
className="unique-tabs"
305+
defaultValue="Linux"
306+
values={[
307+
{label: 'Linux', value: 'Linux'},
308+
{label: 'Windows', value: 'Windows'},
309+
{label: 'macOS', value: 'macOS'}
310+
]}>
311+
312+
<TabItem value="Linux">
313+
314+
```bash
315+
sudo systemctl stop otelcol-sumo
316+
sudo rm /var/lib/otelcol-sumo/credentials/*
317+
sudo systemctl start otelcol-sumo
318+
```
319+
320+
</TabItem>
321+
322+
<TabItem value="Windows">
323+
324+
```powershell
325+
net stop otelcol-sumo
326+
Remove-Item "C:\ProgramData\Sumo Logic\OpenTelemetry Collector\data\credentials\*" -Force
327+
net start otelcol-sumo
328+
```
329+
330+
</TabItem>
331+
332+
<TabItem value="macOS">
333+
334+
```bash
335+
sudo launchctl unload /Library/LaunchDaemons/com.sumologic.otelcol-sumo.plist
336+
sudo rm /var/lib/otelcol-sumo/credentials/*
337+
sudo launchctl load /Library/LaunchDaemons/com.sumologic.otelcol-sumo.plist
338+
```
339+
340+
</TabItem>
341+
342+
</Tabs>

0 commit comments

Comments
 (0)