File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
static/app/views/settings/project/projectKeys/credentials Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -258,6 +258,7 @@ function ProjectKeyCredentials({
258258 case 'otlp' :
259259 return (
260260 < OtlpTab
261+ integrationEndpoint = { data . dsn . integration }
261262 logsEndpoint = { data . dsn . otlp_logs }
262263 tracesEndpoint = { data . dsn . otlp_traces }
263264 publicKey = { data . public }
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import TextCopyInput from 'sentry/components/textCopyInput';
88import { t , tct } from 'sentry/locale' ;
99
1010interface OtlpTabProps {
11+ integrationEndpoint : string ;
1112 logsEndpoint : string ;
1213 publicKey : string ;
1314 showOtlpLogs : boolean ;
@@ -21,6 +22,7 @@ export function OtlpTab({
2122 publicKey,
2223 showOtlpLogs,
2324 showOtlpTraces,
25+ integrationEndpoint,
2426} : OtlpTabProps ) {
2527 // Build the OTEL collector config example
2628 const buildCollectorConfig = useMemo ( ( ) => {
@@ -51,6 +53,16 @@ export function OtlpTab({
5153
5254 return (
5355 < Fragment >
56+ < FieldGroup
57+ label = { t ( 'OTLP Endpoint' ) }
58+ help = { t ( 'This is the base OTLP endpoint.' ) }
59+ inline = { false }
60+ flexibleControlStateSize
61+ >
62+ < TextCopyInput aria-label = { t ( 'OTLP Endpoint' ) } >
63+ { `${ integrationEndpoint } /otlp` }
64+ </ TextCopyInput >
65+ </ FieldGroup >
5466 { showOtlpLogs && (
5567 < Fragment >
5668 < FieldGroup
You can’t perform that action at this time.
0 commit comments