Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add legacy dotnet support #2323

Merged
merged 4 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion profiles/aggregators/greatwall.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ var GreatwallProfile = profile.Profile{
ProfileName: common.ProfileName("greatwall"),
MinimumTier: common.OnPremOdigosTier,
ShortDescription: "Bundle profile that includes " +
"java-ebpf-instrumentations",
"java-ebpf-instrumentations and legacy-dotnet-instrumentation",
Dependencies: []common.ProfileName{
"java-ebpf-instrumentations",
"legacy-dotnet-instrumentation",
},
}
1 change: 1 addition & 0 deletions profiles/allprofiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ var AllProfiles = []profile.Profile{
instrumentation.AllowConcurrentAgents,
instrumentation.JavaEbpfInstrumentationsProfile,
instrumentation.JavaNativeInstrumentationsProfile,
instrumentation.LegacyDotNetProfile,

pipeline.DisableNameProcessorProfile,
pipeline.SmallBatchesProfile,
Expand Down
12 changes: 12 additions & 0 deletions profiles/instrumentation/dotnet_distro.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package instrumentation

import (
"github.com/odigos-io/odigos/common"
"github.com/odigos-io/odigos/profiles/profile"
)

var LegacyDotNetProfile = profile.Profile{
ProfileName: common.ProfileName("legacy-dotnet-instrumentation"),
MinimumTier: common.OnPremOdigosTier,
ShortDescription: "Instrument DotNet applications using legacy OpenTelemetry instrumentation (needed for 6.0 support)",
}
12 changes: 12 additions & 0 deletions profiles/manifests/legacy-dotnet-instrumentation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: odigos.io/v1alpha1
kind: InstrumentationRule
metadata:
name: legacy-dotnet-instrumentation
spec:
ruleName: "legacy dotnet instrumentation"
notes: "Auto generated rule from legacy-dotnet-instrumentation profile. Do not edit."
otelSdks:
otelSdkByLanguage:
dotnet:
sdkTier: "enterprise"
sdkType: "native"
Loading