Skip to content

Add functional test for NIC and telemetry job #5226

Open
@vepatel

Description

@vepatel
  • Setup oTel collector as test setup,
  • Collect all the data required based on the resources deployed and attributes,
  • Get the output from telemetry job -> collector via telemetry-exporter
  • Get the pod logs from otel pod and scrape attributes
  • Validate against data collected in step 2.

Resources:

Example attributes:

Span #0
    Trace ID       : d7bf5752dcbf65620be4fba70933b8e3
    Parent ID      :
    ID             : eca9cdc2dd0e10d2
    Name           : report
    Kind           : Internal
    Start time     : 2024-03-07 15:15:27.11734467 +0000 UTC
    End time       : 2024-03-07 15:15:27.117396795 +0000 UTC
    Status code    : Unset
    Status message :
Attributes:
     -> ProjectName: Str(NIC)
     -> ProjectVersion: Str(3.5.0-SNAPSHOT)
     -> ProjectArchitecture: Str(amd64)
     -> ClusterID: Str(a5419913-6bca-47b0-b7b8-e6f28ff5a1be)
     -> ClusterVersion: Str(v1.27.4+k3s1)
     -> ClusterPlatform: Str()
     -> InstallationID: Str()
     -> ClusterNodeCount: Int(1)
     -> VirtualServers: Int(0)
     -> VirtualServerRoutes: Int(0)
     -> TransportServers: Int(0)
	{"kind": "exporter", "data_type": "traces", "name": "debug"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogPull requests/issues that are backlog itemsproposalAn issue that proposes a feature request

    Type

    No type

    Projects

    Status

    Prioritized backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions