Skip to content

Conversation

@agarvin-nr
Copy link
Contributor

@agarvin-nr agarvin-nr commented Nov 11, 2025

Creates files for nrdot-collector-plus distribution:

  • Based on core distro
  • Removes basic config.yaml from plus and disables packaging in goreleaser
  • CI builds binaries, but does not run E2E tests
  • Nightly is skipped for plus
  • Adds workflow triggers to enable CI for feature branches
  • GoReleaser doesn't build packages or blobs

Notes:

  • The license for plus is still apache for now. To avoid problems down the line, this must be merged into feature/nrdot-plus
  • ECR was set up automatically (no need to do it as a part of this PR)

@agarvin-nr agarvin-nr changed the base branch from main to feature/nrdot-plus November 13, 2025 01:47
| Status | |
|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Distro | `nrdot-collector-plus` |
| Stability | `alpha`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is "preview" different than "alpha", or are they essentially synonymous in this context?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

preview in this context refers to 'limited preview' in the sense of a pre-release product.
alpha is the value we chose for something that isn't yet in limited preview, e.g. the core distro.

So in the case of plus, alpha is the correct value.

@agarvin-nr agarvin-nr marked this pull request as ready for review November 13, 2025 20:37
@agarvin-nr agarvin-nr requested a review from a team as a code owner November 13, 2025 20:37
distribution: ${{ fromJson(needs.setup.outputs.distributions) }}
fips: [false, true]
exclude:
- fips: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't dug into the syntax but wouldn't this leave plus+non-fips in the matrix?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're 100% right, I forgot to commit these changes!

}

if baseDist == K8sDistro || fips {
if baseDist == K8sDistro || baseDist == PlusDistro || fips {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would expect that we'll want binaries for plus just cause it's going to have more overlap with host than any other distro. So probably remove the exclusion here.

Copy link
Contributor

@kb-newrelic kb-newrelic Nov 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taking this back. You're right to skip this for now as the packages don't really make sense without a default config.
I created https://new-relic.atlassian.net/browse/NR-490009 to keep track of this.

if baseDist == K8sDistro || baseDist == PlusDistro || fips {
dist.Goos = []string{"linux"}
dist.IgnoredBuilds = nil
dist.SkipBinaries = true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somewhat unrelated but this block should probably contain SkipArchive=true instead of having that separated out just for fips.
The only difference is that k8s+non-fips would create archives but we don't really want/need that anyway because the helm chart only needs the image.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense. I can add that to this PR, it's a quick fix

dist:
module: github.com/newrelic/nrdot-collector-releases/nrdot-collector-plus
name: nrdot-collector-plus
description: NRDOT+ Collector
Copy link
Contributor

@kb-newrelic kb-newrelic Nov 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: NRDOT+ Collector
description: NRDOT Collector Plus

I would keep the pattern established by the other distros in case this shows up in logs/attributes and we want to parse the distro for dashboards.

# Systemd environment file for the nrdot-collector-plus service
# Command-line options for the nrdot-collector-plus service.
# See https://opentelemetry.io/docs/collector/configuration/ to see all available options.
OTELCOL_OPTIONS="--config=/etc/nrdot-collector-plus/config.yaml"
Copy link
Contributor

@kb-newrelic kb-newrelic Nov 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we skip package generation, then lets get rid of this for now, same for the service file and shell scripts

@agarvin-nr agarvin-nr deleted the branch feature/nrdot-plus November 24, 2025 20:47
@agarvin-nr agarvin-nr closed this Nov 24, 2025
@agarvin-nr agarvin-nr reopened this Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants