Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.ApmTraces.getTrace
Explore with Pulumi AI
This data source provides details about a specific Trace resource in Oracle Cloud Infrastructure Apm Traces service.
Gets the trace details identified by traceId.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testTrace = oci.ApmTraces.getTrace({
apmDomainId: testApmDomain.id,
traceKey: traceTraceKey,
timeTraceStartedGreaterThanOrEqualTo: traceTimeTraceStartedGreaterThanOrEqualTo,
timeTraceStartedLessThan: traceTimeTraceStartedLessThan,
traceNamespace: traceTraceNamespace,
});
import pulumi
import pulumi_oci as oci
test_trace = oci.ApmTraces.get_trace(apm_domain_id=test_apm_domain["id"],
trace_key=trace_trace_key,
time_trace_started_greater_than_or_equal_to=trace_time_trace_started_greater_than_or_equal_to,
time_trace_started_less_than=trace_time_trace_started_less_than,
trace_namespace=trace_trace_namespace)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/apmtraces"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := apmtraces.GetTrace(ctx, &apmtraces.GetTraceArgs{
ApmDomainId: testApmDomain.Id,
TraceKey: traceTraceKey,
TimeTraceStartedGreaterThanOrEqualTo: pulumi.StringRef(traceTimeTraceStartedGreaterThanOrEqualTo),
TimeTraceStartedLessThan: pulumi.StringRef(traceTimeTraceStartedLessThan),
TraceNamespace: pulumi.StringRef(traceTraceNamespace),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testTrace = Oci.ApmTraces.GetTrace.Invoke(new()
{
ApmDomainId = testApmDomain.Id,
TraceKey = traceTraceKey,
TimeTraceStartedGreaterThanOrEqualTo = traceTimeTraceStartedGreaterThanOrEqualTo,
TimeTraceStartedLessThan = traceTimeTraceStartedLessThan,
TraceNamespace = traceTraceNamespace,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ApmTraces.ApmTracesFunctions;
import com.pulumi.oci.ApmTraces.inputs.GetTraceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testTrace = ApmTracesFunctions.getTrace(GetTraceArgs.builder()
.apmDomainId(testApmDomain.id())
.traceKey(traceTraceKey)
.timeTraceStartedGreaterThanOrEqualTo(traceTimeTraceStartedGreaterThanOrEqualTo)
.timeTraceStartedLessThan(traceTimeTraceStartedLessThan)
.traceNamespace(traceTraceNamespace)
.build());
}
}
variables:
testTrace:
fn::invoke:
function: oci:ApmTraces:getTrace
arguments:
apmDomainId: ${testApmDomain.id}
traceKey: ${traceTraceKey}
timeTraceStartedGreaterThanOrEqualTo: ${traceTimeTraceStartedGreaterThanOrEqualTo}
timeTraceStartedLessThan: ${traceTimeTraceStartedLessThan}
traceNamespace: ${traceTraceNamespace}
Using getTrace
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTrace(args: GetTraceArgs, opts?: InvokeOptions): Promise<GetTraceResult>
function getTraceOutput(args: GetTraceOutputArgs, opts?: InvokeOptions): Output<GetTraceResult>
def get_trace(apm_domain_id: Optional[str] = None,
time_trace_started_greater_than_or_equal_to: Optional[str] = None,
time_trace_started_less_than: Optional[str] = None,
trace_key: Optional[str] = None,
trace_namespace: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTraceResult
def get_trace_output(apm_domain_id: Optional[pulumi.Input[str]] = None,
time_trace_started_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
time_trace_started_less_than: Optional[pulumi.Input[str]] = None,
trace_key: Optional[pulumi.Input[str]] = None,
trace_namespace: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTraceResult]
func GetTrace(ctx *Context, args *GetTraceArgs, opts ...InvokeOption) (*GetTraceResult, error)
func GetTraceOutput(ctx *Context, args *GetTraceOutputArgs, opts ...InvokeOption) GetTraceResultOutput
> Note: This function is named GetTrace
in the Go SDK.
public static class GetTrace
{
public static Task<GetTraceResult> InvokeAsync(GetTraceArgs args, InvokeOptions? opts = null)
public static Output<GetTraceResult> Invoke(GetTraceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTraceResult> getTrace(GetTraceArgs args, InvokeOptions options)
public static Output<GetTraceResult> getTrace(GetTraceArgs args, InvokeOptions options)
fn::invoke:
function: oci:ApmTraces/getTrace:getTrace
arguments:
# arguments dictionary
The following arguments are supported:
- Apm
Domain Id This property is required. string - The APM Domain ID for the intended request.
- Trace
Key This property is required. string - Unique Application Performance Monitoring trace identifier (traceId).
- Time
Trace stringStarted Greater Than Or Equal To - Include traces that have a
minTraceStartTime
equal to or greater than this value. - Time
Trace stringStarted Less Than - Include traces that have a
minTraceStartTime
less than this value. - Trace
Namespace string - Name space from which the trace details need to be retrieved.
- Apm
Domain Id This property is required. string - The APM Domain ID for the intended request.
- Trace
Key This property is required. string - Unique Application Performance Monitoring trace identifier (traceId).
- Time
Trace stringStarted Greater Than Or Equal To - Include traces that have a
minTraceStartTime
equal to or greater than this value. - Time
Trace stringStarted Less Than - Include traces that have a
minTraceStartTime
less than this value. - Trace
Namespace string - Name space from which the trace details need to be retrieved.
- apm
Domain Id This property is required. String - The APM Domain ID for the intended request.
- trace
Key This property is required. String - Unique Application Performance Monitoring trace identifier (traceId).
- time
Trace StringStarted Greater Than Or Equal To - Include traces that have a
minTraceStartTime
equal to or greater than this value. - time
Trace StringStarted Less Than - Include traces that have a
minTraceStartTime
less than this value. - trace
Namespace String - Name space from which the trace details need to be retrieved.
- apm
Domain Id This property is required. string - The APM Domain ID for the intended request.
- trace
Key This property is required. string - Unique Application Performance Monitoring trace identifier (traceId).
- time
Trace stringStarted Greater Than Or Equal To - Include traces that have a
minTraceStartTime
equal to or greater than this value. - time
Trace stringStarted Less Than - Include traces that have a
minTraceStartTime
less than this value. - trace
Namespace string - Name space from which the trace details need to be retrieved.
- apm_
domain_ id This property is required. str - The APM Domain ID for the intended request.
- trace_
key This property is required. str - Unique Application Performance Monitoring trace identifier (traceId).
- time_
trace_ strstarted_ greater_ than_ or_ equal_ to - Include traces that have a
minTraceStartTime
equal to or greater than this value. - time_
trace_ strstarted_ less_ than - Include traces that have a
minTraceStartTime
less than this value. - trace_
namespace str - Name space from which the trace details need to be retrieved.
- apm
Domain Id This property is required. String - The APM Domain ID for the intended request.
- trace
Key This property is required. String - Unique Application Performance Monitoring trace identifier (traceId).
- time
Trace StringStarted Greater Than Or Equal To - Include traces that have a
minTraceStartTime
equal to or greater than this value. - time
Trace StringStarted Less Than - Include traces that have a
minTraceStartTime
less than this value. - trace
Namespace String - Name space from which the trace details need to be retrieved.
getTrace Result
The following output properties are available:
- Apm
Domain stringId - Error
Span intCount - The number of spans with errors that have been processed by the system for the trace. Note that the number of spans with errors will be less than or equal to the total number of spans in the trace.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Fault bool - Boolean flag that indicates whether the trace has an error.
- Key string
- Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- Root
Span intDuration In Ms - Time taken for the root span operation to complete in milliseconds.
- Root
Span stringOperation Name - Root span name associated with the trace. This is the flow start operation name. Null is displayed if the root span is not yet completed.
- Root
Span stringService Name - Service associated with the trace.
- Service
Summaries List<GetTrace Service Summary> - A summary of the spans by service.
- Source
Name string - Source of span (spans, syn_spans).
- Span
Count int - The number of spans that have been processed by the system for the trace. Note that there could be additional spans that have not been processed or reported yet if the trace is still in progress.
- Span
Summaries List<GetTrace Span Summary> - Summary of the information pertaining to the spans in the trace window that is being queried.
- Spans
List<Get
Trace Span> - An array of spans in the trace.
- Time
Earliest stringSpan Started - Start time of the earliest span in the span collection.
- Time
Latest stringSpan Ended - End time of the span that most recently ended in the span collection.
- Time
Root stringSpan Ended - End time of the root span for the span collection.
- Time
Root stringSpan Started - Start time of the root span for the span collection.
- Trace
Duration intIn Ms - Time between the start of the earliest span and the end of the most recent span in milliseconds.
- Trace
Error stringCode - Error code of the trace.
- Trace
Error stringType - Error type of the trace.
- Trace
Key string - Unique identifier for the trace.
- Trace
Status string - The status of the trace. The trace statuses are defined as follows: complete - a root span has been recorded, but there is no information on the errors. success - a complete root span is recorded there is a successful error type and error code - HTTP 200. incomplete - the root span has not yet been received. error - the root span returned with an error. There may or may not be an associated error code or error type.
- Time
Trace stringStarted Greater Than Or Equal To - Time
Trace stringStarted Less Than - Trace
Namespace string
- Apm
Domain stringId - Error
Span intCount - The number of spans with errors that have been processed by the system for the trace. Note that the number of spans with errors will be less than or equal to the total number of spans in the trace.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Fault bool - Boolean flag that indicates whether the trace has an error.
- Key string
- Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- Root
Span intDuration In Ms - Time taken for the root span operation to complete in milliseconds.
- Root
Span stringOperation Name - Root span name associated with the trace. This is the flow start operation name. Null is displayed if the root span is not yet completed.
- Root
Span stringService Name - Service associated with the trace.
- Service
Summaries []GetTrace Service Summary - A summary of the spans by service.
- Source
Name string - Source of span (spans, syn_spans).
- Span
Count int - The number of spans that have been processed by the system for the trace. Note that there could be additional spans that have not been processed or reported yet if the trace is still in progress.
- Span
Summaries []GetTrace Span Summary - Summary of the information pertaining to the spans in the trace window that is being queried.
- Spans
[]Get
Trace Span - An array of spans in the trace.
- Time
Earliest stringSpan Started - Start time of the earliest span in the span collection.
- Time
Latest stringSpan Ended - End time of the span that most recently ended in the span collection.
- Time
Root stringSpan Ended - End time of the root span for the span collection.
- Time
Root stringSpan Started - Start time of the root span for the span collection.
- Trace
Duration intIn Ms - Time between the start of the earliest span and the end of the most recent span in milliseconds.
- Trace
Error stringCode - Error code of the trace.
- Trace
Error stringType - Error type of the trace.
- Trace
Key string - Unique identifier for the trace.
- Trace
Status string - The status of the trace. The trace statuses are defined as follows: complete - a root span has been recorded, but there is no information on the errors. success - a complete root span is recorded there is a successful error type and error code - HTTP 200. incomplete - the root span has not yet been received. error - the root span returned with an error. There may or may not be an associated error code or error type.
- Time
Trace stringStarted Greater Than Or Equal To - Time
Trace stringStarted Less Than - Trace
Namespace string
- apm
Domain StringId - error
Span IntegerCount - The number of spans with errors that have been processed by the system for the trace. Note that the number of spans with errors will be less than or equal to the total number of spans in the trace.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Fault Boolean - Boolean flag that indicates whether the trace has an error.
- key String
- Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- root
Span IntegerDuration In Ms - Time taken for the root span operation to complete in milliseconds.
- root
Span StringOperation Name - Root span name associated with the trace. This is the flow start operation name. Null is displayed if the root span is not yet completed.
- root
Span StringService Name - Service associated with the trace.
- service
Summaries List<GetTrace Service Summary> - A summary of the spans by service.
- source
Name String - Source of span (spans, syn_spans).
- span
Count Integer - The number of spans that have been processed by the system for the trace. Note that there could be additional spans that have not been processed or reported yet if the trace is still in progress.
- span
Summaries List<GetTrace Span Summary> - Summary of the information pertaining to the spans in the trace window that is being queried.
- spans
List<Get
Trace Span> - An array of spans in the trace.
- time
Earliest StringSpan Started - Start time of the earliest span in the span collection.
- time
Latest StringSpan Ended - End time of the span that most recently ended in the span collection.
- time
Root StringSpan Ended - End time of the root span for the span collection.
- time
Root StringSpan Started - Start time of the root span for the span collection.
- trace
Duration IntegerIn Ms - Time between the start of the earliest span and the end of the most recent span in milliseconds.
- trace
Error StringCode - Error code of the trace.
- trace
Error StringType - Error type of the trace.
- trace
Key String - Unique identifier for the trace.
- trace
Status String - The status of the trace. The trace statuses are defined as follows: complete - a root span has been recorded, but there is no information on the errors. success - a complete root span is recorded there is a successful error type and error code - HTTP 200. incomplete - the root span has not yet been received. error - the root span returned with an error. There may or may not be an associated error code or error type.
- time
Trace StringStarted Greater Than Or Equal To - time
Trace StringStarted Less Than - trace
Namespace String
- apm
Domain stringId - error
Span numberCount - The number of spans with errors that have been processed by the system for the trace. Note that the number of spans with errors will be less than or equal to the total number of spans in the trace.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Fault boolean - Boolean flag that indicates whether the trace has an error.
- key string
- Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- root
Span numberDuration In Ms - Time taken for the root span operation to complete in milliseconds.
- root
Span stringOperation Name - Root span name associated with the trace. This is the flow start operation name. Null is displayed if the root span is not yet completed.
- root
Span stringService Name - Service associated with the trace.
- service
Summaries GetTrace Service Summary[] - A summary of the spans by service.
- source
Name string - Source of span (spans, syn_spans).
- span
Count number - The number of spans that have been processed by the system for the trace. Note that there could be additional spans that have not been processed or reported yet if the trace is still in progress.
- span
Summaries GetTrace Span Summary[] - Summary of the information pertaining to the spans in the trace window that is being queried.
- spans
Get
Trace Span[] - An array of spans in the trace.
- time
Earliest stringSpan Started - Start time of the earliest span in the span collection.
- time
Latest stringSpan Ended - End time of the span that most recently ended in the span collection.
- time
Root stringSpan Ended - End time of the root span for the span collection.
- time
Root stringSpan Started - Start time of the root span for the span collection.
- trace
Duration numberIn Ms - Time between the start of the earliest span and the end of the most recent span in milliseconds.
- trace
Error stringCode - Error code of the trace.
- trace
Error stringType - Error type of the trace.
- trace
Key string - Unique identifier for the trace.
- trace
Status string - The status of the trace. The trace statuses are defined as follows: complete - a root span has been recorded, but there is no information on the errors. success - a complete root span is recorded there is a successful error type and error code - HTTP 200. incomplete - the root span has not yet been received. error - the root span returned with an error. There may or may not be an associated error code or error type.
- time
Trace stringStarted Greater Than Or Equal To - time
Trace stringStarted Less Than - trace
Namespace string
- apm_
domain_ strid - error_
span_ intcount - The number of spans with errors that have been processed by the system for the trace. Note that the number of spans with errors will be less than or equal to the total number of spans in the trace.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
fault bool - Boolean flag that indicates whether the trace has an error.
- key str
- Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- root_
span_ intduration_ in_ ms - Time taken for the root span operation to complete in milliseconds.
- root_
span_ stroperation_ name - Root span name associated with the trace. This is the flow start operation name. Null is displayed if the root span is not yet completed.
- root_
span_ strservice_ name - Service associated with the trace.
- service_
summaries Sequence[apmtraces.Get Trace Service Summary] - A summary of the spans by service.
- source_
name str - Source of span (spans, syn_spans).
- span_
count int - The number of spans that have been processed by the system for the trace. Note that there could be additional spans that have not been processed or reported yet if the trace is still in progress.
- span_
summaries Sequence[apmtraces.Get Trace Span Summary] - Summary of the information pertaining to the spans in the trace window that is being queried.
- spans
Sequence[apmtraces.
Get Trace Span] - An array of spans in the trace.
- time_
earliest_ strspan_ started - Start time of the earliest span in the span collection.
- time_
latest_ strspan_ ended - End time of the span that most recently ended in the span collection.
- time_
root_ strspan_ ended - End time of the root span for the span collection.
- time_
root_ strspan_ started - Start time of the root span for the span collection.
- trace_
duration_ intin_ ms - Time between the start of the earliest span and the end of the most recent span in milliseconds.
- trace_
error_ strcode - Error code of the trace.
- trace_
error_ strtype - Error type of the trace.
- trace_
key str - Unique identifier for the trace.
- trace_
status str - The status of the trace. The trace statuses are defined as follows: complete - a root span has been recorded, but there is no information on the errors. success - a complete root span is recorded there is a successful error type and error code - HTTP 200. incomplete - the root span has not yet been received. error - the root span returned with an error. There may or may not be an associated error code or error type.
- time_
trace_ strstarted_ greater_ than_ or_ equal_ to - time_
trace_ strstarted_ less_ than - trace_
namespace str
- apm
Domain StringId - error
Span NumberCount - The number of spans with errors that have been processed by the system for the trace. Note that the number of spans with errors will be less than or equal to the total number of spans in the trace.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Fault Boolean - Boolean flag that indicates whether the trace has an error.
- key String
- Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- root
Span NumberDuration In Ms - Time taken for the root span operation to complete in milliseconds.
- root
Span StringOperation Name - Root span name associated with the trace. This is the flow start operation name. Null is displayed if the root span is not yet completed.
- root
Span StringService Name - Service associated with the trace.
- service
Summaries List<Property Map> - A summary of the spans by service.
- source
Name String - Source of span (spans, syn_spans).
- span
Count Number - The number of spans that have been processed by the system for the trace. Note that there could be additional spans that have not been processed or reported yet if the trace is still in progress.
- span
Summaries List<Property Map> - Summary of the information pertaining to the spans in the trace window that is being queried.
- spans List<Property Map>
- An array of spans in the trace.
- time
Earliest StringSpan Started - Start time of the earliest span in the span collection.
- time
Latest StringSpan Ended - End time of the span that most recently ended in the span collection.
- time
Root StringSpan Ended - End time of the root span for the span collection.
- time
Root StringSpan Started - Start time of the root span for the span collection.
- trace
Duration NumberIn Ms - Time between the start of the earliest span and the end of the most recent span in milliseconds.
- trace
Error StringCode - Error code of the trace.
- trace
Error StringType - Error type of the trace.
- trace
Key String - Unique identifier for the trace.
- trace
Status String - The status of the trace. The trace statuses are defined as follows: complete - a root span has been recorded, but there is no information on the errors. success - a complete root span is recorded there is a successful error type and error code - HTTP 200. incomplete - the root span has not yet been received. error - the root span returned with an error. There may or may not be an associated error code or error type.
- time
Trace StringStarted Greater Than Or Equal To - time
Trace StringStarted Less Than - trace
Namespace String
Supporting Types
GetTraceServiceSummary
- Error
Spans This property is required. string - Number of spans with errors for serviceName in the trace.
- Span
Service Name This property is required. string - Name associated with the service.
- Total
Spans This property is required. string - Number of spans for serviceName in the trace.
- Error
Spans This property is required. string - Number of spans with errors for serviceName in the trace.
- Span
Service Name This property is required. string - Name associated with the service.
- Total
Spans This property is required. string - Number of spans for serviceName in the trace.
- error
Spans This property is required. String - Number of spans with errors for serviceName in the trace.
- span
Service Name This property is required. String - Name associated with the service.
- total
Spans This property is required. String - Number of spans for serviceName in the trace.
- error
Spans This property is required. string - Number of spans with errors for serviceName in the trace.
- span
Service Name This property is required. string - Name associated with the service.
- total
Spans This property is required. string - Number of spans for serviceName in the trace.
- error_
spans This property is required. str - Number of spans with errors for serviceName in the trace.
- span_
service_ name This property is required. str - Name associated with the service.
- total_
spans This property is required. str - Number of spans for serviceName in the trace.
- error
Spans This property is required. String - Number of spans with errors for serviceName in the trace.
- span
Service Name This property is required. String - Name associated with the service.
- total
Spans This property is required. String - Number of spans for serviceName in the trace.
GetTraceSpan
- Duration
In Ms This property is required. string - Total span duration in milliseconds.
- Is
Error This property is required. bool - Indicates if the span has an error.
- Key
This property is required. string - Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- Kind
This property is required. string - Kind associated with the span.
- Logs
This property is required. List<GetTrace Span Log> - List of logs associated with the span.
- Operation
Name This property is required. string - Span name associated with the trace. This is usually the method or URI of the request.
- Parent
Span Key This property is required. string - Unique parent identifier for the span if one exists. For root spans this will be null.
- Service
Name This property is required. string - Service name associated with the span.
- Source
Name This property is required. string - Source of span (spans, syn_spans).
This property is required. List<GetTrace Span Tag> - List of tags associated with the span.
- Time
Ended This property is required. string - Span end time. Timestamp when the span was completed.
- Time
Started This property is required. string - Span start time. Timestamp when the span was started.
- Trace
Key This property is required. string - Unique Application Performance Monitoring trace identifier (traceId).
- Duration
In Ms This property is required. string - Total span duration in milliseconds.
- Is
Error This property is required. bool - Indicates if the span has an error.
- Key
This property is required. string - Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- Kind
This property is required. string - Kind associated with the span.
- Logs
This property is required. []GetTrace Span Log - List of logs associated with the span.
- Operation
Name This property is required. string - Span name associated with the trace. This is usually the method or URI of the request.
- Parent
Span Key This property is required. string - Unique parent identifier for the span if one exists. For root spans this will be null.
- Service
Name This property is required. string - Service name associated with the span.
- Source
Name This property is required. string - Source of span (spans, syn_spans).
This property is required. []GetTrace Span Tag - List of tags associated with the span.
- Time
Ended This property is required. string - Span end time. Timestamp when the span was completed.
- Time
Started This property is required. string - Span start time. Timestamp when the span was started.
- Trace
Key This property is required. string - Unique Application Performance Monitoring trace identifier (traceId).
- duration
In Ms This property is required. String - Total span duration in milliseconds.
- is
Error This property is required. Boolean - Indicates if the span has an error.
- key
This property is required. String - Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- kind
This property is required. String - Kind associated with the span.
- logs
This property is required. List<GetTrace Span Log> - List of logs associated with the span.
- operation
Name This property is required. String - Span name associated with the trace. This is usually the method or URI of the request.
- parent
Span Key This property is required. String - Unique parent identifier for the span if one exists. For root spans this will be null.
- service
Name This property is required. String - Service name associated with the span.
- source
Name This property is required. String - Source of span (spans, syn_spans).
This property is required. List<GetTrace Span Tag> - List of tags associated with the span.
- time
Ended This property is required. String - Span end time. Timestamp when the span was completed.
- time
Started This property is required. String - Span start time. Timestamp when the span was started.
- trace
Key This property is required. String - Unique Application Performance Monitoring trace identifier (traceId).
- duration
In Ms This property is required. string - Total span duration in milliseconds.
- is
Error This property is required. boolean - Indicates if the span has an error.
- key
This property is required. string - Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- kind
This property is required. string - Kind associated with the span.
- logs
This property is required. GetTrace Span Log[] - List of logs associated with the span.
- operation
Name This property is required. string - Span name associated with the trace. This is usually the method or URI of the request.
- parent
Span Key This property is required. string - Unique parent identifier for the span if one exists. For root spans this will be null.
- service
Name This property is required. string - Service name associated with the span.
- source
Name This property is required. string - Source of span (spans, syn_spans).
This property is required. GetTrace Span Tag[] - List of tags associated with the span.
- time
Ended This property is required. string - Span end time. Timestamp when the span was completed.
- time
Started This property is required. string - Span start time. Timestamp when the span was started.
- trace
Key This property is required. string - Unique Application Performance Monitoring trace identifier (traceId).
- duration_
in_ ms This property is required. str - Total span duration in milliseconds.
- is_
error This property is required. bool - Indicates if the span has an error.
- key
This property is required. str - Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- kind
This property is required. str - Kind associated with the span.
- logs
This property is required. Sequence[apmtraces.Get Trace Span Log] - List of logs associated with the span.
- operation_
name This property is required. str - Span name associated with the trace. This is usually the method or URI of the request.
- parent_
span_ key This property is required. str - Unique parent identifier for the span if one exists. For root spans this will be null.
- service_
name This property is required. str - Service name associated with the span.
- source_
name This property is required. str - Source of span (spans, syn_spans).
This property is required. Sequence[apmtraces.Get Trace Span Tag] - List of tags associated with the span.
- time_
ended This property is required. str - Span end time. Timestamp when the span was completed.
- time_
started This property is required. str - Span start time. Timestamp when the span was started.
- trace_
key This property is required. str - Unique Application Performance Monitoring trace identifier (traceId).
- duration
In Ms This property is required. String - Total span duration in milliseconds.
- is
Error This property is required. Boolean - Indicates if the span has an error.
- key
This property is required. String - Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- kind
This property is required. String - Kind associated with the span.
- logs
This property is required. List<Property Map> - List of logs associated with the span.
- operation
Name This property is required. String - Span name associated with the trace. This is usually the method or URI of the request.
- parent
Span Key This property is required. String - Unique parent identifier for the span if one exists. For root spans this will be null.
- service
Name This property is required. String - Service name associated with the span.
- source
Name This property is required. String - Source of span (spans, syn_spans).
This property is required. List<Property Map>- List of tags associated with the span.
- time
Ended This property is required. String - Span end time. Timestamp when the span was completed.
- time
Started This property is required. String - Span start time. Timestamp when the span was started.
- trace
Key This property is required. String - Unique Application Performance Monitoring trace identifier (traceId).
GetTraceSpanLog
- Event
Name This property is required. string - Name of the event for which the log is created.
- Span
Logs This property is required. List<GetTrace Span Log Span Log> - List of logs associated with the span at the given timestamp.
- Time
Created This property is required. string - Timestamp at which the log is created.
- Event
Name This property is required. string - Name of the event for which the log is created.
- Span
Logs This property is required. []GetTrace Span Log Span Log - List of logs associated with the span at the given timestamp.
- Time
Created This property is required. string - Timestamp at which the log is created.
- event
Name This property is required. String - Name of the event for which the log is created.
- span
Logs This property is required. List<GetTrace Span Log Span Log> - List of logs associated with the span at the given timestamp.
- time
Created This property is required. String - Timestamp at which the log is created.
- event
Name This property is required. string - Name of the event for which the log is created.
- span
Logs This property is required. GetTrace Span Log Span Log[] - List of logs associated with the span at the given timestamp.
- time
Created This property is required. string - Timestamp at which the log is created.
- event_
name This property is required. str - Name of the event for which the log is created.
- span_
logs This property is required. Sequence[apmtraces.Get Trace Span Log Span Log] - List of logs associated with the span at the given timestamp.
- time_
created This property is required. str - Timestamp at which the log is created.
- event
Name This property is required. String - Name of the event for which the log is created.
- span
Logs This property is required. List<Property Map> - List of logs associated with the span at the given timestamp.
- time
Created This property is required. String - Timestamp at which the log is created.
GetTraceSpanLogSpanLog
GetTraceSpanSummary
- Error
Span Count This property is required. int - The number of spans with errors that have been processed by the system for the trace. Note that the number of spans with errors will be less than or equal to the total number of spans in the trace.
- Is
Fault This property is required. bool - Boolean flag that indicates whether the trace has an error.
- Key
This property is required. string - Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- Root
Span Duration In Ms This property is required. int - Time taken for the root span operation to complete in milliseconds.
- Root
Span Operation Name This property is required. string - Root span name associated with the trace. This is the flow start operation name. Null is displayed if the root span is not yet completed.
- Root
Span Service Name This property is required. string - Service associated with the trace.
- Service
Summaries This property is required. List<GetTrace Span Summary Service Summary> - A summary of the spans by service.
- Span
Count This property is required. int - The number of spans that have been processed by the system for the trace. Note that there could be additional spans that have not been processed or reported yet if the trace is still in progress.
- Time
Earliest Span Started This property is required. string - Start time of the earliest span in the span collection.
- Time
Latest Span Ended This property is required. string - End time of the span that most recently ended in the span collection.
- Time
Root Span Ended This property is required. string - End time of the root span for the span collection.
- Time
Root Span Started This property is required. string - Start time of the root span for the span collection.
- Trace
Duration In Ms This property is required. int - Time between the start of the earliest span and the end of the most recent span in milliseconds.
- Trace
Error Code This property is required. string - Error code of the trace.
- Trace
Error Type This property is required. string - Error type of the trace.
- Trace
Status This property is required. string - The status of the trace. The trace statuses are defined as follows: complete - a root span has been recorded, but there is no information on the errors. success - a complete root span is recorded there is a successful error type and error code - HTTP 200. incomplete - the root span has not yet been received. error - the root span returned with an error. There may or may not be an associated error code or error type.
- Error
Span Count This property is required. int - The number of spans with errors that have been processed by the system for the trace. Note that the number of spans with errors will be less than or equal to the total number of spans in the trace.
- Is
Fault This property is required. bool - Boolean flag that indicates whether the trace has an error.
- Key
This property is required. string - Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- Root
Span Duration In Ms This property is required. int - Time taken for the root span operation to complete in milliseconds.
- Root
Span Operation Name This property is required. string - Root span name associated with the trace. This is the flow start operation name. Null is displayed if the root span is not yet completed.
- Root
Span Service Name This property is required. string - Service associated with the trace.
- Service
Summaries This property is required. []GetTrace Span Summary Service Summary - A summary of the spans by service.
- Span
Count This property is required. int - The number of spans that have been processed by the system for the trace. Note that there could be additional spans that have not been processed or reported yet if the trace is still in progress.
- Time
Earliest Span Started This property is required. string - Start time of the earliest span in the span collection.
- Time
Latest Span Ended This property is required. string - End time of the span that most recently ended in the span collection.
- Time
Root Span Ended This property is required. string - End time of the root span for the span collection.
- Time
Root Span Started This property is required. string - Start time of the root span for the span collection.
- Trace
Duration In Ms This property is required. int - Time between the start of the earliest span and the end of the most recent span in milliseconds.
- Trace
Error Code This property is required. string - Error code of the trace.
- Trace
Error Type This property is required. string - Error type of the trace.
- Trace
Status This property is required. string - The status of the trace. The trace statuses are defined as follows: complete - a root span has been recorded, but there is no information on the errors. success - a complete root span is recorded there is a successful error type and error code - HTTP 200. incomplete - the root span has not yet been received. error - the root span returned with an error. There may or may not be an associated error code or error type.
- error
Span Count This property is required. Integer - The number of spans with errors that have been processed by the system for the trace. Note that the number of spans with errors will be less than or equal to the total number of spans in the trace.
- is
Fault This property is required. Boolean - Boolean flag that indicates whether the trace has an error.
- key
This property is required. String - Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- root
Span Duration In Ms This property is required. Integer - Time taken for the root span operation to complete in milliseconds.
- root
Span Operation Name This property is required. String - Root span name associated with the trace. This is the flow start operation name. Null is displayed if the root span is not yet completed.
- root
Span Service Name This property is required. String - Service associated with the trace.
- service
Summaries This property is required. List<GetTrace Span Summary Service Summary> - A summary of the spans by service.
- span
Count This property is required. Integer - The number of spans that have been processed by the system for the trace. Note that there could be additional spans that have not been processed or reported yet if the trace is still in progress.
- time
Earliest Span Started This property is required. String - Start time of the earliest span in the span collection.
- time
Latest Span Ended This property is required. String - End time of the span that most recently ended in the span collection.
- time
Root Span Ended This property is required. String - End time of the root span for the span collection.
- time
Root Span Started This property is required. String - Start time of the root span for the span collection.
- trace
Duration In Ms This property is required. Integer - Time between the start of the earliest span and the end of the most recent span in milliseconds.
- trace
Error Code This property is required. String - Error code of the trace.
- trace
Error Type This property is required. String - Error type of the trace.
- trace
Status This property is required. String - The status of the trace. The trace statuses are defined as follows: complete - a root span has been recorded, but there is no information on the errors. success - a complete root span is recorded there is a successful error type and error code - HTTP 200. incomplete - the root span has not yet been received. error - the root span returned with an error. There may or may not be an associated error code or error type.
- error
Span Count This property is required. number - The number of spans with errors that have been processed by the system for the trace. Note that the number of spans with errors will be less than or equal to the total number of spans in the trace.
- is
Fault This property is required. boolean - Boolean flag that indicates whether the trace has an error.
- key
This property is required. string - Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- root
Span Duration In Ms This property is required. number - Time taken for the root span operation to complete in milliseconds.
- root
Span Operation Name This property is required. string - Root span name associated with the trace. This is the flow start operation name. Null is displayed if the root span is not yet completed.
- root
Span Service Name This property is required. string - Service associated with the trace.
- service
Summaries This property is required. GetTrace Span Summary Service Summary[] - A summary of the spans by service.
- span
Count This property is required. number - The number of spans that have been processed by the system for the trace. Note that there could be additional spans that have not been processed or reported yet if the trace is still in progress.
- time
Earliest Span Started This property is required. string - Start time of the earliest span in the span collection.
- time
Latest Span Ended This property is required. string - End time of the span that most recently ended in the span collection.
- time
Root Span Ended This property is required. string - End time of the root span for the span collection.
- time
Root Span Started This property is required. string - Start time of the root span for the span collection.
- trace
Duration In Ms This property is required. number - Time between the start of the earliest span and the end of the most recent span in milliseconds.
- trace
Error Code This property is required. string - Error code of the trace.
- trace
Error Type This property is required. string - Error type of the trace.
- trace
Status This property is required. string - The status of the trace. The trace statuses are defined as follows: complete - a root span has been recorded, but there is no information on the errors. success - a complete root span is recorded there is a successful error type and error code - HTTP 200. incomplete - the root span has not yet been received. error - the root span returned with an error. There may or may not be an associated error code or error type.
- error_
span_ count This property is required. int - The number of spans with errors that have been processed by the system for the trace. Note that the number of spans with errors will be less than or equal to the total number of spans in the trace.
- is_
fault This property is required. bool - Boolean flag that indicates whether the trace has an error.
- key
This property is required. str - Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- root_
span_ duration_ in_ ms This property is required. int - Time taken for the root span operation to complete in milliseconds.
- root_
span_ operation_ name This property is required. str - Root span name associated with the trace. This is the flow start operation name. Null is displayed if the root span is not yet completed.
- root_
span_ service_ name This property is required. str - Service associated with the trace.
- service_
summaries This property is required. Sequence[apmtraces.Get Trace Span Summary Service Summary] - A summary of the spans by service.
- span_
count This property is required. int - The number of spans that have been processed by the system for the trace. Note that there could be additional spans that have not been processed or reported yet if the trace is still in progress.
- time_
earliest_ span_ started This property is required. str - Start time of the earliest span in the span collection.
- time_
latest_ span_ ended This property is required. str - End time of the span that most recently ended in the span collection.
- time_
root_ span_ ended This property is required. str - End time of the root span for the span collection.
- time_
root_ span_ started This property is required. str - Start time of the root span for the span collection.
- trace_
duration_ in_ ms This property is required. int - Time between the start of the earliest span and the end of the most recent span in milliseconds.
- trace_
error_ code This property is required. str - Error code of the trace.
- trace_
error_ type This property is required. str - Error type of the trace.
- trace_
status This property is required. str - The status of the trace. The trace statuses are defined as follows: complete - a root span has been recorded, but there is no information on the errors. success - a complete root span is recorded there is a successful error type and error code - HTTP 200. incomplete - the root span has not yet been received. error - the root span returned with an error. There may or may not be an associated error code or error type.
- error
Span Count This property is required. Number - The number of spans with errors that have been processed by the system for the trace. Note that the number of spans with errors will be less than or equal to the total number of spans in the trace.
- is
Fault This property is required. Boolean - Boolean flag that indicates whether the trace has an error.
- key
This property is required. String - Unique identifier (spanId) for the span. Note that this field is defined as spanKey in the API and it maps to the spanId in the trace data in Application Performance Monitoring.
- root
Span Duration In Ms This property is required. Number - Time taken for the root span operation to complete in milliseconds.
- root
Span Operation Name This property is required. String - Root span name associated with the trace. This is the flow start operation name. Null is displayed if the root span is not yet completed.
- root
Span Service Name This property is required. String - Service associated with the trace.
- service
Summaries This property is required. List<Property Map> - A summary of the spans by service.
- span
Count This property is required. Number - The number of spans that have been processed by the system for the trace. Note that there could be additional spans that have not been processed or reported yet if the trace is still in progress.
- time
Earliest Span Started This property is required. String - Start time of the earliest span in the span collection.
- time
Latest Span Ended This property is required. String - End time of the span that most recently ended in the span collection.
- time
Root Span Ended This property is required. String - End time of the root span for the span collection.
- time
Root Span Started This property is required. String - Start time of the root span for the span collection.
- trace
Duration In Ms This property is required. Number - Time between the start of the earliest span and the end of the most recent span in milliseconds.
- trace
Error Code This property is required. String - Error code of the trace.
- trace
Error Type This property is required. String - Error type of the trace.
- trace
Status This property is required. String - The status of the trace. The trace statuses are defined as follows: complete - a root span has been recorded, but there is no information on the errors. success - a complete root span is recorded there is a successful error type and error code - HTTP 200. incomplete - the root span has not yet been received. error - the root span returned with an error. There may or may not be an associated error code or error type.
GetTraceSpanSummaryServiceSummary
- Error
Spans This property is required. string - Number of spans with errors for serviceName in the trace.
- Span
Service Name This property is required. string - Name associated with the service.
- Total
Spans This property is required. string - Number of spans for serviceName in the trace.
- Error
Spans This property is required. string - Number of spans with errors for serviceName in the trace.
- Span
Service Name This property is required. string - Name associated with the service.
- Total
Spans This property is required. string - Number of spans for serviceName in the trace.
- error
Spans This property is required. String - Number of spans with errors for serviceName in the trace.
- span
Service Name This property is required. String - Name associated with the service.
- total
Spans This property is required. String - Number of spans for serviceName in the trace.
- error
Spans This property is required. string - Number of spans with errors for serviceName in the trace.
- span
Service Name This property is required. string - Name associated with the service.
- total
Spans This property is required. string - Number of spans for serviceName in the trace.
- error_
spans This property is required. str - Number of spans with errors for serviceName in the trace.
- span_
service_ name This property is required. str - Name associated with the service.
- total_
spans This property is required. str - Number of spans for serviceName in the trace.
- error
Spans This property is required. String - Number of spans with errors for serviceName in the trace.
- span
Service Name This property is required. String - Name associated with the service.
- total
Spans This property is required. String - Number of spans for serviceName in the trace.
GetTraceSpanTag
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.