Skip to content

Commit

Permalink
feat(msi): add fips support
Browse files Browse the repository at this point in the history
  • Loading branch information
swiatekm committed Apr 3, 2024
1 parent 4c26139 commit 5cece39
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ processors:
## Configuration for Sumo Logic Schema Processor
## The Sumo Logic Schema processor modifies the metadata on logs, metrics and traces sent to Sumo Logic
## so that the Sumo Logic apps can make full use of the ingested data.
## ref: https://github.com/SumoLogic/sumologic-otel-collector/tree/main/pkg/processor/sumologicschemaprocessor
sumologic_schema:
## ref: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/sumologicprocessor
sumologic:

service:
extensions:
Expand All @@ -82,7 +82,7 @@ service:
processors:
- memory_limiter
- batch
- sumologic_schema
- sumologic
exporters:
- sumologic
logs/default:
Expand All @@ -91,7 +91,7 @@ service:
processors:
- memory_limiter
- batch
- sumologic_schema
- sumologic
exporters:
- sumologic
traces/default:
Expand All @@ -100,6 +100,6 @@ service:
processors:
- memory_limiter
- batch
- sumologic_schema
- sumologic
exporters:
- sumologic
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ processors:
## Configuration for Sumo Logic Schema Processor
## The Sumo Logic Schema processor modifies the metadata on logs, metrics and traces sent to Sumo Logic
## so that the Sumo Logic apps can make full use of the ingested data.
## ref: https://github.com/SumoLogic/sumologic-otel-collector/tree/main/pkg/processor/sumologicschemaprocessor
sumologic_schema:
## ref: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/sumologicprocessor
sumologic:

service:
extensions:
Expand All @@ -63,7 +63,7 @@ service:
processors:
- memory_limiter
- batch
- sumologic_schema
- sumologic
exporters:
- sumologic
logs/default:
Expand All @@ -72,7 +72,7 @@ service:
processors:
- memory_limiter
- batch
- sumologic_schema
- sumologic
exporters:
- sumologic
traces/default:
Expand All @@ -81,6 +81,6 @@ service:
processors:
- memory_limiter
- batch
- sumologic_schema
- sumologic
exporters:
- sumologic
3 changes: 3 additions & 0 deletions msi/wix/assets/common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
extensions:
sumologic:
installation_token:
10 changes: 9 additions & 1 deletion msi/wix/otelcol-sumo.wixproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,26 @@
<Cultures>en-US</Cultures>
<DebugType>none</DebugType>
<RepoRoot>$([System.IO.Path]::GetFullPath('..\..'))</RepoRoot>
<FIPSEnabled>false</FIPSEnabled>
</PropertyGroup>

<PropertyGroup>
<SuppressIces>ICE61</SuppressIces>
</PropertyGroup>

<PropertyGroup>
<OutputName>otelcol-sumo_$(ProductVersion)_en-US.$(Platform)</OutputName>
<OutputPath>bin\$(Platform)\</OutputPath>
<IntermediateOutputPath>obj\$(Platform)\</IntermediateOutputPath>
</PropertyGroup>

<PropertyGroup Condition="'$(FIPSEnabled)' == 'false'">
<OutputName>otelcol-sumo_$(ProductVersion)_en-US.$(Platform)</OutputName>
</PropertyGroup>

<PropertyGroup Condition="'$(FIPSEnabled)' == 'true'">
<OutputName>otelcol-sumo_$(ProductVersion)_en-US.$(Platform)-fips</OutputName>
</PropertyGroup>

<PropertyGroup>
<DefineConstants>$(DefineConstants);ProductVersion=$(ProductVersion)</DefineConstants>
<DefineConstants>$(DefineConstants);UpgradeCode=$(UpgradeCode)</DefineConstants>
Expand Down

0 comments on commit 5cece39

Please sign in to comment.