Skip to content

Commit

Permalink
fix: Rename the official full name of the collector to "observIQ Dist…
Browse files Browse the repository at this point in the history
…ro for OpenTelemetry Collector" (#533)

* Rename the official full name of the collector per OTel request

Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com>

* change display name to observIQ Distro for OpenTelemetry Collector

* update screenshots

* Updated Windows documentation for service names

Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com>

* win readme tweaks

Co-authored-by: Brandon Johnson <brandon.johnson@bluemedora.com>
  • Loading branch information
Corbin Phelps and BinaryFissionGames authored Jun 30, 2022
1 parent 5e1a1bf commit 8e98c7f
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 24 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Disclaimer
While the `main` branch is stable, it is still under development and documentation may not fully reflect the current feature set. Please refer to documentation for your specific release.

# observIQ OpenTelemetry Collector
# observIQ Distro for OpenTelemetry Collector

<center>

Expand All @@ -13,7 +13,7 @@ While the `main` branch is stable, it is still under development and documentati

</center>

observIQ OpenTelemetry Collector is observIQ’s distribution of the [OpenTelemetry collector](https://github.com/open-telemetry/opentelemetry-collector). It provides a simple and unified solution to collect, refine, and ship telemetry data anywhere.
observIQ Distro for OpenTelemetry Collector is observIQ’s distribution of the [OpenTelemetry collector](https://github.com/open-telemetry/opentelemetry-collector). It provides a simple and unified solution to collect, refine, and ship telemetry data anywhere.

## Benefits

Expand Down Expand Up @@ -80,7 +80,7 @@ For more information on configuration see the [Configuration section](#configura

## Configuration

The observIQ OpenTelemetry Collector uses OpenTelemetry configuration.
The observIQ Distro for OpenTelemetry Collector uses OpenTelemetry configuration.

For sample configs, see the [config](/config/) directory.
For general configuration help, see the [OpenTelemetry docs](https://opentelemetry.io/docs/collector/configuration/).
Expand Down Expand Up @@ -141,7 +141,7 @@ service:
# Community
The observIQ OpenTelemetry Collector is an open source project. If you'd like to contribute, take a look at our [contribution guidelines](/CONTRIBUTING.md) and [developer guide](/docs/development.md). We look forward to building with you.
The observIQ Distro for OpenTelemetry Collector is an open source project. If you'd like to contribute, take a look at our [contribution guidelines](/CONTRIBUTING.md) and [developer guide](/docs/development.md). We look forward to building with you.
# How can we help?
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ systemctl restart observiq-otel-collector

## Viewing the metrics in Google Cloud Operations

You should now be able to view the host metrics in your Metrics explorer. Nice work! This is how simple it is to collect host metrics with the observIQ OpenTelemetry collector.
You should now be able to view the host metrics in your Metrics explorer. Nice work! This is how simple it is to collect host metrics with the observIQ Distro for OpenTelemetry Collector.

### Metrics collected

Expand Down
10 changes: 5 additions & 5 deletions docs/installation-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ To access the services dialog, press Win + R, enter `services.msc` into the Run

![The run dialog](./screenshots/windows/launch-services.png)

Locate the "observIQ OpenTelemetry Collector" service, right click the entry, and click "Restart" to restart the collector.
Locate the "observIQ Distro for OpenTelemetry Collector" service, right click the entry, and click "Restart" to restart the collector.

![The services dialog](./screenshots/windows/stop-restart-service.png)

Expand All @@ -43,7 +43,7 @@ To access the services dialog, press Win + R, enter `services.msc` into the Run

![The run dialog](./screenshots/windows/launch-services.png)

Locate the "observIQ OpenTelemetry Collector" service, right click the entry, and click "Stop" to stop the collector.
Locate the "observIQ Distro for OpenTelemetry Collector" service, right click the entry, and click "Stop" to stop the collector.

![The services dialog](./screenshots/windows/stop-restart-service.png)

Expand All @@ -59,7 +59,7 @@ To access the services dialog, press Win + R, enter `services.msc` into the Run

![The run dialog](./screenshots/windows/launch-services.png)

Locate the "observIQ OpenTelemetry Collector" service, right click the entry, and click "Start" to start the collector.
Locate the "observIQ Distro for OpenTelemetry Collector" service, right click the entry, and click "Start" to start the collector.

![The services dialog](./screenshots/windows/start-service.png)

Expand All @@ -74,13 +74,13 @@ To uninstall the collector on Windows, navigate to the control panel, then to th

![The control panel](./screenshots/windows/control-panel-uninstall.png)

Locate the `"observIQ OpenTelemetry Collector"` entry, and select uninstall.
Locate the `"observIQ Distro for OpenTelemetry Collector"` entry, and select uninstall.

![The uninstall or change a program dialog](./screenshots/windows/uninstall-collector.png)

Follow the wizard to complete removal of the collector.

Alternatively, Powershell command below may be run to uninstall the collector.
```pwsh
(Get-WmiObject -Class Win32_Product -Filter "Name = 'observIQ OpenTelemetry Collector'").Uninstall()
(Get-WmiObject -Class Win32_Product -Filter "Name = 'observIQ Distro for OpenTelemetry Collector'").Uninstall()
```
Binary file modified docs/screenshots/windows/start-service.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/windows/stop-restart-service.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/windows/uninstall-collector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion factories/factories.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"go.uber.org/multierr"
)

// DefaultFactories returns the default factories used by the observIQ OpenTelemetry collector
// DefaultFactories returns the default factories used by the observIQ Distro for OpenTelemetry Collector
func DefaultFactories() (component.Factories, error) {
return combineFactories(defaultReceivers, defaultProcessors, defaultExporters, defaultExtensions)
}
Expand Down
10 changes: 5 additions & 5 deletions scripts/install/install_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ usage()
USAGE=$(cat <<EOF
Usage:
$(fg_yellow '-v, --version')
Defines the version of the observIQ OpenTelemetry Collector.
Defines the version of the observIQ Distro for OpenTelemetry Collector.
If not provided, this will default to the latest version.
Alternatively the COLLECTOR_VERSION environment variable can be
set to configure the collector version.
Expand All @@ -171,7 +171,7 @@ Usage:
$(fg_yellow '-l, --url')
Defines the URL that the components will be downloaded from.
If not provided, this will default to observIQ OpenTelemetry Collector\'s GitHub releases.
If not provided, this will default to observIQ Distro for OpenTelemetry Collector\'s GitHub releases.
Example: '-l http://my.domain.org/observiq-otel-collector' will download from there.
$(fg_yellow '-e, --endpoint')
Expand Down Expand Up @@ -426,7 +426,7 @@ latest_version()
# This will install the package by downloading & unpacking the tarball into the install directory
install_package()
{
banner "Installing observIQ OpenTelemetry Collector"
banner "Installing observIQ Distro for OpenTelemetry Collector"
increase_indent

# Remove temporary directory, if it exists
Expand Down Expand Up @@ -512,7 +512,7 @@ install_package()
rm -rf "$TMP_DIR" || error_exit "$LINENO" "Failed to remove temp dir: $TMP_DIR"
succeeded

success "observIQ OpenTelemetry Collector installation complete!"
success "observIQ Distro for OpenTelemetry Collector installation complete!"
decrease_indent
}

Expand Down Expand Up @@ -558,7 +558,7 @@ display_results()

uninstall()
{
banner "Uninstalling observIQ OpenTelemetry Collector"
banner "Uninstalling observIQ Distro for OpenTelemetry Collector"
increase_indent

if [ ! -f "$INSTALL_DIR/observiq-otel-collector" ]; then
Expand Down
10 changes: 5 additions & 5 deletions scripts/install/install_unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,15 @@ usage()
USAGE=$(cat <<EOF
Usage:
$(fg_yellow '-v, --version')
Defines the version of the observIQ OpenTelemetry Collector.
Defines the version of the observIQ Distro for OpenTelemetry Collector.
If not provided, this will default to the latest version.
Alternatively the COLLECTOR_VERSION environment variable can be
set to configure the collector version.
Example: '-v 1.2.12' will download 1.2.12.
$(fg_yellow '-l, --url')
Defines the URL that the components will be downloaded from.
If not provided, this will default to observIQ OpenTelemetry Collector\'s GitHub releases.
If not provided, this will default to observIQ Distro for OpenTelemetry Collector\'s GitHub releases.
Example: '-l http://my.domain.org/observiq-otel-collector' will download from there.
$(fg_yellow '-x, --proxy')
Expand Down Expand Up @@ -525,7 +525,7 @@ latest_version()
# extracting the binaries, and then removing the archive.
install_package()
{
banner "Installing observIQ OpenTelemetry Collector"
banner "Installing observIQ Distro for OpenTelemetry Collector"
increase_indent

proxy_args=""
Expand Down Expand Up @@ -568,7 +568,7 @@ install_package()
succeeded
fi

success "observIQ OpenTelemetry Collector installation complete!"
success "observIQ Distro for OpenTelemetry Collector installation complete!"
decrease_indent
}

Expand Down Expand Up @@ -659,7 +659,7 @@ uninstall()
observiq_banner

set_package_type
banner "Uninstalling observIQ OpenTelemetry Collector"
banner "Uninstalling observIQ Distro for OpenTelemetry Collector"
increase_indent

info "Checking permissions..."
Expand Down
16 changes: 15 additions & 1 deletion windows/templates/product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,15 @@
<Property Id="INSTALLDIR">
<RegistrySearch Id='LOADINSTALLDIR' Type='raw'
Root='HKLM' Key='Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName]' Name='InstallLocation' />
<!-- Load up the install dir form the previous ProductName if it exists there, instead.-->
<RegistrySearch Id='LOADINSTALLDIROLD' Type='raw'
Root='HKLM' Key='Software\Microsoft\Windows\CurrentVersion\Uninstall\observIQ OpenTelemetry Collector' Name='InstallLocation' />
</Property>

<!-- Set default install dir to be "C:\Program Files\observIQ OpenTelemetry Collector" instead of "C:\Program Files\[ProductName]"-->
<SetProperty Id="INSTALLDIR" Value="[$(var.Program_Files)]\observIQ OpenTelemetry Collector" Before="CostInitialize">
<![CDATA[NOT INSTALLDIR]]>
</SetProperty>

<!-- Load Powershell location -->
<Property Id="POWERSHELLEXE">
Expand All @@ -73,7 +81,7 @@
<Directory Id="TARGETDIR" Name="SourceDir">

<Directory Id="$(var.Program_Files)">
<Directory Id="INSTALLDIR" Name="{{.Product}}">
<Directory Id="INSTALLDIR" Name="observIQ OpenTelemetry Collector">
{{define "FILES"}}
{{range $f := .}}
<Component
Expand Down Expand Up @@ -132,6 +140,11 @@
</Component>
{{end}}
<Component Id="RegistryEntriesARP" Guid="*">
<!--
Remove old registry key; This one sticks around for some reason after upgrading to the new product name, which is a problem,
since this registry key is the one that makes it show up in the "Uninstall a program" dialog.
-->
<RemoveRegistryKey Action="removeOnInstall" Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\observIQ OpenTelemetry Collector"/>
<RegistryKey Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName]">
<RegistryValue Type="string" Name="AuthorizedCDFPrefix" Value=""/>
<RegistryValue Type="string" Name="Comments" Value="{{.Info.Comments}}"/>
Expand All @@ -155,6 +168,7 @@
<RegistryValue Type="string" Name="URLInfoAbout" Value="{{.Info.SupportLink}}"/>
<RegistryValue Type="string" Name="URLUpdateInfo" Value="{{.Info.UpdateInfoLink}}"/>
<RegistryValue Type="integer" Name="Version" Value="{{.Version.Hex}}"/>
<RegistryValue Type="integer" Name="NoModify" Value="1"/>
</RegistryKey>
</Component>

Expand Down
4 changes: 2 additions & 2 deletions windows/wix.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"product": "observIQ OpenTelemetry Collector",
"product": "observIQ Distro for OpenTelemetry Collector",
"company": "observIQ, Inc.",
"license": "./LICENSE.rtf",
"info": {
Expand All @@ -13,7 +13,7 @@
"service": {
"name": "observiq-otel-collector",
"start": "delayed",
"display-name": "observIQ OpenTelemetry Collector",
"display-name": "observIQ Distro for OpenTelemetry Collector",
"description": "observIQ's distribution of the OpenTelemetry collector.",
"arguments": "--config &quot;[INSTALLDIR]config.yaml&quot; --logging &quot;[INSTALLDIR]logging.yaml&quot; --manager &quot;[INSTALLDIR]manager.yaml&quot;"
}
Expand Down

0 comments on commit 8e98c7f

Please sign in to comment.