Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.ApmTraces.getTrace
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
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/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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:ApmTraces/getTrace:getTrace
arguments:
# arguments dictionary
The following arguments are supported:
- Apm
Domain stringId - The APM Domain ID for the intended request.
- Trace
Key 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 stringId - The APM Domain ID for the intended request.
- Trace
Key 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 StringId - The APM Domain ID for the intended request.
- trace
Key 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 stringId - The APM Domain ID for the intended request.
- trace
Key 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_ strid - The APM Domain ID for the intended request.
- trace_
key 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 StringId - The APM Domain ID for the intended request.
- trace
Key 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 string - Number of spans with errors for serviceName in the trace.
- Span
Service stringName - Name associated with the service.
- Total
Spans string - Number of spans for serviceName in the trace.
- Error
Spans string - Number of spans with errors for serviceName in the trace.
- Span
Service stringName - Name associated with the service.
- Total
Spans string - Number of spans for serviceName in the trace.
- error
Spans String - Number of spans with errors for serviceName in the trace.
- span
Service StringName - Name associated with the service.
- total
Spans String - Number of spans for serviceName in the trace.
- error
Spans string - Number of spans with errors for serviceName in the trace.
- span
Service stringName - Name associated with the service.
- total
Spans string - Number of spans for serviceName in the trace.
- error_
spans str - Number of spans with errors for serviceName in the trace.
- span_
service_ strname - Name associated with the service.
- total_
spans str - Number of spans for serviceName in the trace.
- error
Spans String - Number of spans with errors for serviceName in the trace.
- span
Service StringName - Name associated with the service.
- total
Spans String - Number of spans for serviceName in the trace.
GetTraceSpan
- Duration
In stringMs - Total span duration in milliseconds.
- Is
Error bool - Indicates if the span 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.
- Kind string
- Kind associated with the span.
- Logs
List<Get
Trace Span Log> - List of logs associated with the span.
- Operation
Name string - Span name associated with the trace. This is usually the method or URI of the request.
- Parent
Span stringKey - Unique parent identifier for the span if one exists. For root spans this will be null.
- Service
Name string - Service name associated with the span.
- Source
Name string - Source of span (spans, syn_spans).
- List<Get
Trace Span Tag> - List of tags associated with the span.
- Time
Ended string - Span end time. Timestamp when the span was completed.
- Time
Started string - Span start time. Timestamp when the span was started.
- Trace
Key string - Unique Application Performance Monitoring trace identifier (traceId).
- Duration
In stringMs - Total span duration in milliseconds.
- Is
Error bool - Indicates if the span 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.
- Kind string
- Kind associated with the span.
- Logs
[]Get
Trace Span Log - List of logs associated with the span.
- Operation
Name string - Span name associated with the trace. This is usually the method or URI of the request.
- Parent
Span stringKey - Unique parent identifier for the span if one exists. For root spans this will be null.
- Service
Name string - Service name associated with the span.
- Source
Name string - Source of span (spans, syn_spans).
- []Get
Trace Span Tag - List of tags associated with the span.
- Time
Ended string - Span end time. Timestamp when the span was completed.
- Time
Started string - Span start time. Timestamp when the span was started.
- Trace
Key string - Unique Application Performance Monitoring trace identifier (traceId).
- duration
In StringMs - Total span duration in milliseconds.
- is
Error Boolean - Indicates if the span 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.
- kind String
- Kind associated with the span.
- logs
List<Get
Trace Span Log> - List of logs associated with the span.
- operation
Name String - Span name associated with the trace. This is usually the method or URI of the request.
- parent
Span StringKey - Unique parent identifier for the span if one exists. For root spans this will be null.
- service
Name String - Service name associated with the span.
- source
Name String - Source of span (spans, syn_spans).
- List<Get
Trace Span Tag> - List of tags associated with the span.
- time
Ended String - Span end time. Timestamp when the span was completed.
- time
Started String - Span start time. Timestamp when the span was started.
- trace
Key String - Unique Application Performance Monitoring trace identifier (traceId).
- duration
In stringMs - Total span duration in milliseconds.
- is
Error boolean - Indicates if the span 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.
- kind string
- Kind associated with the span.
- logs
Get
Trace Span Log[] - List of logs associated with the span.
- operation
Name string - Span name associated with the trace. This is usually the method or URI of the request.
- parent
Span stringKey - Unique parent identifier for the span if one exists. For root spans this will be null.
- service
Name string - Service name associated with the span.
- source
Name string - Source of span (spans, syn_spans).
- Get
Trace Span Tag[] - List of tags associated with the span.
- time
Ended string - Span end time. Timestamp when the span was completed.
- time
Started string - Span start time. Timestamp when the span was started.
- trace
Key string - Unique Application Performance Monitoring trace identifier (traceId).
- duration_
in_ strms - Total span duration in milliseconds.
- is_
error bool - Indicates if the span 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.
- kind str
- Kind associated with the span.
- logs
Sequence[apmtraces.
Get Trace Span Log] - List of logs associated with the span.
- operation_
name str - Span name associated with the trace. This is usually the method or URI of the request.
- parent_
span_ strkey - Unique parent identifier for the span if one exists. For root spans this will be null.
- service_
name str - Service name associated with the span.
- source_
name str - Source of span (spans, syn_spans).
- Sequence[apmtraces.
Get Trace Span Tag] - List of tags associated with the span.
- time_
ended str - Span end time. Timestamp when the span was completed.
- time_
started str - Span start time. Timestamp when the span was started.
- trace_
key str - Unique Application Performance Monitoring trace identifier (traceId).
- duration
In StringMs - Total span duration in milliseconds.
- is
Error Boolean - Indicates if the span 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.
- kind String
- Kind associated with the span.
- logs List<Property Map>
- List of logs associated with the span.
- operation
Name String - Span name associated with the trace. This is usually the method or URI of the request.
- parent
Span StringKey - Unique parent identifier for the span if one exists. For root spans this will be null.
- service
Name String - Service name associated with the span.
- source
Name String - Source of span (spans, syn_spans).
- List<Property Map>
- List of tags associated with the span.
- time
Ended String - Span end time. Timestamp when the span was completed.
- time
Started String - Span start time. Timestamp when the span was started.
- trace
Key String - Unique Application Performance Monitoring trace identifier (traceId).
GetTraceSpanLog
- Event
Name string - Name of the event for which the log is created.
- Span
Logs List<GetTrace Span Log Span Log> - List of logs associated with the span at the given timestamp.
- Time
Created string - Timestamp at which the log is created.
- Event
Name string - Name of the event for which the log is created.
- Span
Logs []GetTrace Span Log Span Log - List of logs associated with the span at the given timestamp.
- Time
Created string - Timestamp at which the log is created.
- event
Name String - Name of the event for which the log is created.
- span
Logs List<GetTrace Span Log Span Log> - List of logs associated with the span at the given timestamp.
- time
Created String - Timestamp at which the log is created.
- event
Name string - Name of the event for which the log is created.
- span
Logs GetTrace Span Log Span Log[] - List of logs associated with the span at the given timestamp.
- time
Created string - Timestamp at which the log is created.
- event_
name str - Name of the event for which the log is created.
- span_
logs Sequence[apmtraces.Get Trace Span Log Span Log] - List of logs associated with the span at the given timestamp.
- time_
created str - Timestamp at which the log is created.
- event
Name String - Name of the event for which the log is created.
- span
Logs List<Property Map> - List of logs associated with the span at the given timestamp.
- time
Created String - Timestamp at which the log is created.
GetTraceSpanLogSpanLog
GetTraceSpanSummary
- 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.
- 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 Span Summary Service Summary> - A summary of the spans by service.
- 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.
- 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
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.
- 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.
- 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 Span Summary Service Summary - A summary of the spans by service.
- 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.
- 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
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.
- 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.
- 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 Span Summary Service Summary> - A summary of the spans by service.
- 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.
- 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
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.
- 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.
- 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 Span Summary Service Summary[] - A summary of the spans by service.
- 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.
- 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
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.
- 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.
- 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 Span Summary Service Summary] - A summary of the spans by service.
- 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.
- 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_
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.
- 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.
- 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.
- 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.
- 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
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.
GetTraceSpanSummaryServiceSummary
- Error
Spans string - Number of spans with errors for serviceName in the trace.
- Span
Service stringName - Name associated with the service.
- Total
Spans string - Number of spans for serviceName in the trace.
- Error
Spans string - Number of spans with errors for serviceName in the trace.
- Span
Service stringName - Name associated with the service.
- Total
Spans string - Number of spans for serviceName in the trace.
- error
Spans String - Number of spans with errors for serviceName in the trace.
- span
Service StringName - Name associated with the service.
- total
Spans String - Number of spans for serviceName in the trace.
- error
Spans string - Number of spans with errors for serviceName in the trace.
- span
Service stringName - Name associated with the service.
- total
Spans string - Number of spans for serviceName in the trace.
- error_
spans str - Number of spans with errors for serviceName in the trace.
- span_
service_ strname - Name associated with the service.
- total_
spans str - Number of spans for serviceName in the trace.
- error
Spans String - Number of spans with errors for serviceName in the trace.
- span
Service StringName - Name associated with the service.
- total
Spans 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.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi