Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: OTLP Replay Generator #1542

Merged
merged 8 commits into from
Mar 7, 2024
Merged

feat: OTLP Replay Generator #1542

merged 8 commits into from
Mar 7, 2024

Conversation

shazlehu
Copy link
Contributor

@shazlehu shazlehu commented Mar 5, 2024

Proposed Change

Adds a generator to the telemetrygeneratorreceiver that replays embedded JSON-formated OTLP telemetry. For metrics & logs, each record is given a new timestamp generated when the telemetry is emitted. For metrics & logs, the timestamps are shifted relative to the most recent record in the batch, which is shifted to the current time. For traces, the timestamps are all shifted relative to the last end time, which is shifted to the current time when new traces are generated.

Example BPOP Custom source configuration:

telemetrygeneratorreceiver:    
    payloads_per_second: 1
    generators: 
      - type: "otlp"
        additional_config:
            telemetry_type: "logs"
            otlp_json: |
                {"resourceLogs":[{"resource":{"attributes":[{"key":"host.name","value":{"stringValue":"Sams-M1-Pro.local"}},{"key":"os.type","value":{"stringValue":"darwin"}}]},"scopeLogs":[{"scope":{},"logRecords":[{"timeUnixNano":"1709677842569000000","observedTimeUnixNano":"1709677842727442000","severityNumber":5,"severityText":"debug","body":{"kvlistValue":{"values":[{"key":"logger","value":{"stringValue":"opamp"}},{"key":"message","value":{"stringValue":"agent running with the correct config"}},{"key":"bindplane.agent.id","value":{"stringValue":"01HQRTG9AFXV1VCV1TS0Z0942T"}},{"key":"bindplane.configuration.name","value":{"stringValue":"test-new:31"}},{"key":"level","value":{"stringValue":"debug"}},{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:42.569-0500"}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""},{"timeUnixNano":"1709677842581000000","observedTimeUnixNano":"1709677842746558000","severityNumber":5,"severityText":"debug","body":{"kvlistValue":{"values":[{"key":"logger","value":{"stringValue":"opamp"}},{"key":"message","value":{"stringValue":"sending response to the agent"}},{"key":"span_id","value":{"stringValue":"0000000000000000"}},{"key":"trace_id","value":{"stringValue":"00000000000000000000000000000000"}},{"key":"bindplane.agent.id","value":{"stringValue":"01HQRTG9AFXV1VCV1TS0Z0942T"}},{"key":"components","value":{"arrayValue":{}}},{"key":"level","value":{"stringValue":"debug"}},{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:42.581-0500"}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""},{"timeUnixNano":"1709677842581000000","observedTimeUnixNano":"1709677842746572000","severityNumber":5,"severityText":"debug","body":{"kvlistValue":{"values":[{"key":"message","value":{"stringValue":"OnMessage release"}},{"key":"span_id","value":{"stringValue":"0000000000000000"}},{"key":"trace_id","value":{"stringValue":"00000000000000000000000000000000"}},{"key":"bindplane.agent.id","value":{"stringValue":"01HQRTG9AFXV1VCV1TS0Z0942T"}},{"key":"level","value":{"stringValue":"debug"}},{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:42.581-0500"}},{"key":"logger","value":{"stringValue":"opamp"}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""}]}]},{"resource":{"attributes":[{"key":"host.name","value":{"stringValue":"Sams-M1-Pro.local"}},{"key":"os.type","value":{"stringValue":"darwin"}}]},"scopeLogs":[{"scope":{},"logRecords":[{"timeUnixNano":"1709677842569000000","observedTimeUnixNano":"1709677842727442000","severityNumber":5,"severityText":"debug","body":{"kvlistValue":{"values":[{"key":"logger","value":{"stringValue":"opamp"}},{"key":"message","value":{"stringValue":"agent running with the correct config"}},{"key":"bindplane.agent.id","value":{"stringValue":"01HQRTG9AFXV1VCV1TS0Z0942T"}},{"key":"bindplane.configuration.name","value":{"stringValue":"test-new:31"}},{"key":"level","value":{"stringValue":"debug"}},{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:42.569-0500"}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""},{"timeUnixNano":"1709677842581000000","observedTimeUnixNano":"1709677842746558000","severityNumber":5,"severityText":"debug","body":{"kvlistValue":{"values":[{"key":"logger","value":{"stringValue":"opamp"}},{"key":"message","value":{"stringValue":"sending response to the agent"}},{"key":"span_id","value":{"stringValue":"0000000000000000"}},{"key":"trace_id","value":{"stringValue":"00000000000000000000000000000000"}},{"key":"bindplane.agent.id","value":{"stringValue":"01HQRTG9AFXV1VCV1TS0Z0942T"}},{"key":"components","value":{"arrayValue":{}}},{"key":"level","value":{"stringValue":"debug"}},{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:42.581-0500"}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""},{"timeUnixNano":"1709677842581000000","observedTimeUnixNano":"1709677842746572000","severityNumber":5,"severityText":"debug","body":{"kvlistValue":{"values":[{"key":"message","value":{"stringValue":"OnMessage release"}},{"key":"span_id","value":{"stringValue":"0000000000000000"}},{"key":"trace_id","value":{"stringValue":"00000000000000000000000000000000"}},{"key":"bindplane.agent.id","value":{"stringValue":"01HQRTG9AFXV1VCV1TS0Z0942T"}},{"key":"level","value":{"stringValue":"debug"}},{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:42.581-0500"}},{"key":"logger","value":{"stringValue":"opamp"}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""}]}]},{"resource":{"attributes":[{"key":"host.name","value":{"stringValue":"Sams-M1-Pro.local"}},{"key":"os.type","value":{"stringValue":"darwin"}}]},"scopeLogs":[{"scope":{},"logRecords":[{"timeUnixNano":"1709677842785000000","observedTimeUnixNano":"1709677842925856000","severityNumber":9,"severityText":"info","body":{"kvlistValue":{"values":[{"key":"latency","value":{"doubleValue":0.029674834}},{"key":"status","value":{"doubleValue":200}},{"key":"path","value":{"stringValue":"/v1/graphql"}},{"key":"level","value":{"stringValue":"info"}},{"key":"message","value":{"stringValue":"/v1/graphql"}},{"key":"ip","value":{"stringValue":"127.0.0.1"}},{"key":"user-agent","value":{"stringValue":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0"}},{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:42.785-0500"}},{"key":"method","value":{"stringValue":"POST"}},{"key":"query","value":{"stringValue":""}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""},{"timeUnixNano":"1709677842878000000","observedTimeUnixNano":"1709677842926280000","severityNumber":9,"severityText":"info","body":{"kvlistValue":{"values":[{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:42.878-0500"}},{"key":"message","value":{"stringValue":"Rollout complete"}},{"key":"bindplane.configuration.name","value":{"stringValue":"test-new:31"}},{"key":"duration","value":{"doubleValue":1.313709}},{"key":"level","value":{"stringValue":"info"}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""}]}]},{"resource":{"attributes":[{"key":"host.name","value":{"stringValue":"Sams-M1-Pro.local"}},{"key":"os.type","value":{"stringValue":"darwin"}}]},"scopeLogs":[{"scope":{},"logRecords":[{"timeUnixNano":"1709677842785000000","observedTimeUnixNano":"1709677842925856000","severityNumber":9,"severityText":"info","body":{"kvlistValue":{"values":[{"key":"latency","value":{"doubleValue":0.029674834}},{"key":"status","value":{"doubleValue":200}},{"key":"path","value":{"stringValue":"/v1/graphql"}},{"key":"level","value":{"stringValue":"info"}},{"key":"message","value":{"stringValue":"/v1/graphql"}},{"key":"ip","value":{"stringValue":"127.0.0.1"}},{"key":"user-agent","value":{"stringValue":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0"}},{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:42.785-0500"}},{"key":"method","value":{"stringValue":"POST"}},{"key":"query","value":{"stringValue":""}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""},{"timeUnixNano":"1709677842878000000","observedTimeUnixNano":"1709677842926280000","severityNumber":9,"severityText":"info","body":{"kvlistValue":{"values":[{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:42.878-0500"}},{"key":"message","value":{"stringValue":"Rollout complete"}},{"key":"bindplane.configuration.name","value":{"stringValue":"test-new:31"}},{"key":"duration","value":{"doubleValue":1.313709}},{"key":"level","value":{"stringValue":"info"}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""}]}]},{"resource":{"attributes":[{"key":"host.name","value":{"stringValue":"Sams-M1-Pro.local"}},{"key":"os.type","value":{"stringValue":"darwin"}}]},"scopeLogs":[{"scope":{},"logRecords":[{"timeUnixNano":"1709677843112000000","observedTimeUnixNano":"1709677843135879000","severityNumber":9,"severityText":"info","body":{"kvlistValue":{"values":[{"key":"user-agent","value":{"stringValue":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0"}},{"key":"message","value":{"stringValue":"/v1/graphql"}},{"key":"latency","value":{"doubleValue":0.026624375}},{"key":"ip","value":{"stringValue":"127.0.0.1"}},{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:43.112-0500"}},{"key":"method","value":{"stringValue":"POST"}},{"key":"query","value":{"stringValue":""}},{"key":"level","value":{"stringValue":"info"}},{"key":"status","value":{"doubleValue":200}},{"key":"path","value":{"stringValue":"/v1/graphql"}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""}]}]},{"resource":{"attributes":[{"key":"host.name","value":{"stringValue":"Sams-M1-Pro.local"}},{"key":"os.type","value":{"stringValue":"darwin"}}]},"scopeLogs":[{"scope":{},"logRecords":[{"timeUnixNano":"1709677843112000000","observedTimeUnixNano":"1709677843135879000","severityNumber":9,"severityText":"info","body":{"kvlistValue":{"values":[{"key":"user-agent","value":{"stringValue":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0"}},{"key":"message","value":{"stringValue":"/v1/graphql"}},{"key":"latency","value":{"doubleValue":0.026624375}},{"key":"ip","value":{"stringValue":"127.0.0.1"}},{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:43.112-0500"}},{"key":"method","value":{"stringValue":"POST"}},{"key":"query","value":{"stringValue":""}},{"key":"level","value":{"stringValue":"info"}},{"key":"status","value":{"doubleValue":200}},{"key":"path","value":{"stringValue":"/v1/graphql"}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""}]}]},{"resource":{"attributes":[{"key":"host.name","value":{"stringValue":"Sams-M1-Pro.local"}},{"key":"os.type","value":{"stringValue":"darwin"}}]},"scopeLogs":[{"scope":{},"logRecords":[{"timeUnixNano":"1709677843239000000","observedTimeUnixNano":"1709677843334008000","severityNumber":9,"severityText":"info","body":{"kvlistValue":{"values":[{"key":"path","value":{"stringValue":"/v1/graphql"}},{"key":"latency","value":{"doubleValue":0.016023542}},{"key":"query","value":{"stringValue":""}},{"key":"ip","value":{"stringValue":"127.0.0.1"}},{"key":"user-agent","value":{"stringValue":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0"}},{"key":"level","value":{"stringValue":"info"}},{"key":"method","value":{"stringValue":"POST"}},{"key":"status","value":{"doubleValue":200}},{"key":"message","value":{"stringValue":"/v1/graphql"}},{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:43.239-0500"}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""}]}]},{"resource":{"attributes":[{"key":"host.name","value":{"stringValue":"Sams-M1-Pro.local"}},{"key":"os.type","value":{"stringValue":"darwin"}}]},"scopeLogs":[{"scope":{},"logRecords":[{"timeUnixNano":"1709677843239000000","observedTimeUnixNano":"1709677843334008000","severityNumber":9,"severityText":"info","body":{"kvlistValue":{"values":[{"key":"path","value":{"stringValue":"/v1/graphql"}},{"key":"latency","value":{"doubleValue":0.016023542}},{"key":"query","value":{"stringValue":""}},{"key":"ip","value":{"stringValue":"127.0.0.1"}},{"key":"user-agent","value":{"stringValue":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0"}},{"key":"level","value":{"stringValue":"info"}},{"key":"method","value":{"stringValue":"POST"}},{"key":"status","value":{"doubleValue":200}},{"key":"message","value":{"stringValue":"/v1/graphql"}},{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:43.239-0500"}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""}]}]},{"resource":{"attributes":[{"key":"host.name","value":{"stringValue":"Sams-M1-Pro.local"}},{"key":"os.type","value":{"stringValue":"darwin"}}]},"scopeLogs":[{"scope":{},"logRecords":[{"timeUnixNano":"1709677843375000000","observedTimeUnixNano":"1709677843525540000","severityNumber":9,"severityText":"info","body":{"kvlistValue":{"values":[{"key":"path","value":{"stringValue":"/v1/agents/01HQRTG9AFXV1VCV1TS0Z0942T/health/v1/metrics"}},{"key":"user-agent","value":{"stringValue":"observIQ's opentelemetry-collector distribution/v1.45.0 (darwin/arm64)"}},{"key":"latency","value":{"doubleValue":0.000155209}},{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:43.375-0500"}},{"key":"message","value":{"stringValue":"/v1/agents/01HQRTG9AFXV1VCV1TS0Z0942T/health/v1/metrics"}},{"key":"status","value":{"doubleValue":200}},{"key":"level","value":{"stringValue":"info"}},{"key":"method","value":{"stringValue":"POST"}},{"key":"query","value":{"stringValue":""}},{"key":"ip","value":{"stringValue":"127.0.0.1"}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""}]}]},{"resource":{"attributes":[{"key":"host.name","value":{"stringValue":"Sams-M1-Pro.local"}},{"key":"os.type","value":{"stringValue":"darwin"}}]},"scopeLogs":[{"scope":{},"logRecords":[{"timeUnixNano":"1709677843375000000","observedTimeUnixNano":"1709677843525540000","severityNumber":9,"severityText":"info","body":{"kvlistValue":{"values":[{"key":"path","value":{"stringValue":"/v1/agents/01HQRTG9AFXV1VCV1TS0Z0942T/health/v1/metrics"}},{"key":"user-agent","value":{"stringValue":"observIQ's opentelemetry-collector distribution/v1.45.0 (darwin/arm64)"}},{"key":"latency","value":{"doubleValue":0.000155209}},{"key":"timestamp","value":{"stringValue":"2024-03-05T17:30:43.375-0500"}},{"key":"message","value":{"stringValue":"/v1/agents/01HQRTG9AFXV1VCV1TS0Z0942T/health/v1/metrics"}},{"key":"status","value":{"doubleValue":200}},{"key":"level","value":{"stringValue":"info"}},{"key":"method","value":{"stringValue":"POST"}},{"key":"query","value":{"stringValue":""}},{"key":"ip","value":{"stringValue":"127.0.0.1"}}]}},"attributes":[{"key":"log.file.name","value":{"stringValue":"bindplane.log"}},{"key":"log_type","value":{"stringValue":"bindplane-op"}}],"traceId":"","spanId":""}]}]}]}				},
      - type: "otlp"
        additional_config:
            telemetry_type: "metrics"
            otlp_json: |
                {"resourceMetrics":[{"resource":{"attributes":[{"key":"extra-resource-attr-key","value":{"stringValue":"extra-resource-attr-value"}},{"key":"host.name","value":{"stringValue":"Linux-Machine"}},{"key":"os.type","value":{"stringValue":"linux"}}]},"scopeMetrics":[{"scope":{},"metrics":[{"name":"system.cpu.load_average.1m","description":"Average CPU Load over 1 minute.","unit":"{thread}","gauge":{"dataPoints":[{"attributes":[{"key":"cool-attribute-key","value":{"stringValue":"cool-attribute-value"}}],"startTimeUnixNano":"1000000","timeUnixNano":"2000000","asDouble":3.71484375}]}}]}]}]}
      - type: "otlp"
        additional_config:
            telemetry_type: "traces"
            otlp_json: |
                {
                    "resourceSpans": [
                        {
                            "resource": {
                                "attributes": [
                                    {
                                        "key": "host.arch",
                                        "value": {
                                            "stringValue": "arm64"
                                        }
                                    },
                                    {
                                        "key": "host.name",
                                        "value": {
                                            "stringValue": "Sams-M1-Pro.local"
                                        }
                                    },
                                    {
                                        "key": "service.name",
                                        "value": {
                                            "stringValue": "bindplane"
                                        }
                                    },
                                    {
                                        "key": "service.version",
                                        "value": {
                                            "stringValue": "unknown"
                                        }
                                    }
                                ]
                            },
                            "scopeSpans": [
                                {
                                    "scope": {},
                                    "spans": [
                                        {
                                            "endTimeUnixNano": "1706791445927702458",
                                            "kind": 1,
                                            "name": "pgstore/addTransitiveUpdates",
                                            "parentSpanId": "b6e1d82a58e8fd61",
                                            "spanId": "5a055056ad7713e5",
                                            "startTimeUnixNano": "1706791445927700000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        },
                                        {
                                            "endTimeUnixNano": "1706791445927704250",
                                            "kind": 1,
                                            "name": "pgstore/notify",
                                            "parentSpanId": "38ff7d679d77bdbd",
                                            "spanId": "b6e1d82a58e8fd61",
                                            "startTimeUnixNano": "1706791445927698000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        },
                                        {
                                            "endTimeUnixNano": "1706791445973101000",
                                            "kind": 1,
                                            "name": "pgstore/scanPostgresResource",
                                            "parentSpanId": "804ce3fb1b57be5d",
                                            "spanId": "3eadb90414f2cf22",
                                            "startTimeUnixNano": "1706791445971633000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        },
                                        {
                                            "endTimeUnixNano": "1706791445973109084",
                                            "kind": 1,
                                            "name": "pgstore/pgResourceInternal",
                                            "parentSpanId": "5236aa938eb9341c",
                                            "spanId": "804ce3fb1b57be5d",
                                            "startTimeUnixNano": "1706791445962593000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        },
                                        {
                                            "endTimeUnixNano": "1706791445973110334",
                                            "kind": 1,
                                            "name": "pgstore/pgResource",
                                            "parentSpanId": "ca3b8e53681a9e8d",
                                            "spanId": "5236aa938eb9341c",
                                            "startTimeUnixNano": "1706791445962592000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        },
                                        {
                                            "endTimeUnixNano": "1706791445973258875",
                                            "kind": 1,
                                            "name": "pgstore/pgEditConfiguration",
                                            "parentSpanId": "a894c9beda2d173a",
                                            "spanId": "ca3b8e53681a9e8d",
                                            "startTimeUnixNano": "1706791445962589000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        },
                                        {
                                            "endTimeUnixNano": "1706791445973576917",
                                            "kind": 1,
                                            "name": "pgstore/addTransitiveUpdates",
                                            "parentSpanId": "94557eef510d0814",
                                            "spanId": "c3ea8f993f9009ba",
                                            "startTimeUnixNano": "1706791445973575000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        },
                                        {
                                            "endTimeUnixNano": "1706791445973579333",
                                            "kind": 1,
                                            "name": "pgstore/notify",
                                            "parentSpanId": "a894c9beda2d173a",
                                            "spanId": "94557eef510d0814",
                                            "startTimeUnixNano": "1706791445973572000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        },
                                        {
                                            "endTimeUnixNano": "1706791445975115042",
                                            "kind": 1,
                                            "name": "pgstore/releaseAdvisoryLock",
                                            "parentSpanId": "a894c9beda2d173a",
                                            "spanId": "8906c43abedb6bd9",
                                            "startTimeUnixNano": "1706791445973581000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        },
                                        {
                                            "endTimeUnixNano": "1706791445975119416",
                                            "kind": 1,
                                            "name": "pgstore/UpdateRollout",
                                            "parentSpanId": "9d5a7e824fa7ba3b",
                                            "spanId": "a894c9beda2d173a",
                                            "startTimeUnixNano": "1706791445937536000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        },
                                        {
                                            "endTimeUnixNano": "1706791445975734417",
                                            "kind": 1,
                                            "name": "pgstore/acquireAdvisoryLock",
                                            "parentSpanId": "078ab0ab7eb707b2",
                                            "spanId": "f141ff98614cfc0c",
                                            "startTimeUnixNano": "1706791445975133000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        },
                                        {
                                            "endTimeUnixNano": "1706791445979767041",
                                            "kind": 1,
                                            "name": "pgstore/scanPostgresResource",
                                            "parentSpanId": "f06908731ed62890",
                                            "spanId": "e185a7e1c60473b8",
                                            "startTimeUnixNano": "1706791445976351000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        },
                                        {
                                            "endTimeUnixNano": "1706791445979799208",
                                            "kind": 1,
                                            "name": "pgstore/pgResourceInternal",
                                            "parentSpanId": "078ab0ab7eb707b2",
                                            "spanId": "f06908731ed62890",
                                            "startTimeUnixNano": "1706791445975818000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        },
                                        {
                                            "endTimeUnixNano": "1706791445999459125",
                                            "kind": 1,
                                            "name": "pgstore/UpdateAllRollouts",
                                            "parentSpanId": "",
                                            "spanId": "aeb2a416b8796cba",
                                            "startTimeUnixNano": "1706791445908223000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        }
                                    ]
                                },
                                {
                                    "scope": {},
                                    "spans": [
                                        {
                                            "attributes": [
                                                {
                                                    "key": "operation",
                                                    "value": {
                                                        "stringValue": "GetConfiguration"
                                                    }
                                                }
                                            ],
                                            "endTimeUnixNano": "1706791445376564375",
                                            "kind": 1,
                                            "name": "graphql/GetConfiguration/response",
                                            "parentSpanId": "723c3f6eb4457b5c",
                                            "spanId": "fd55f461239efdfc",
                                            "startTimeUnixNano": "1706791445359466000",
                                            "status": {},
                                            "traceId": "a3fbd5dc5db5e1734cb54419ca540b66"
                                        },
                                        {
                                            "attributes": [
                                                {
                                                    "key": "operation",
                                                    "value": {
                                                        "stringValue": "GetConfiguration"
                                                    }
                                                }
                                            ],
                                            "endTimeUnixNano": "1706791445376589750",
                                            "kind": 1,
                                            "name": "graphql/GetConfiguration/response",
                                            "parentSpanId": "3e7909bbebcae0ba",
                                            "spanId": "01f07757e7bb6612",
                                            "startTimeUnixNano": "1706791445359560000",
                                            "status": {},
                                            "traceId": "d70c2b5eea8977bb8a0712f8c2a1fcb4"
                                        }
                                    ]
                                },
                                {
                                    "scope": {},
                                    "spans": [
                                        {
                                            "attributes": [
                                                {
                                                    "key": "http.method",
                                                    "value": {
                                                        "stringValue": "POST"
                                                    }
                                                },
                                                {
                                                    "key": "http.scheme",
                                                    "value": {
                                                        "stringValue": "http"
                                                    }
                                                },
                                                {
                                                    "key": "net.host.name",
                                                    "value": {
                                                        "stringValue": "bindplane"
                                                    }
                                                },
                                                {
                                                    "key": "net.host.port",
                                                    "value": {
                                                        "intValue": "3001"
                                                    }
                                                },
                                                {
                                                    "key": "net.sock.peer.addr",
                                                    "value": {
                                                        "stringValue": "127.0.0.1"
                                                    }
                                                },
                                                {
                                                    "key": "net.sock.peer.port",
                                                    "value": {
                                                        "intValue": "50141"
                                                    }
                                                },
                                                {
                                                    "key": "user_agent.original",
                                                    "value": {
                                                        "stringValue": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0"
                                                    }
                                                },
                                                {
                                                    "key": "http.client_ip",
                                                    "value": {
                                                        "stringValue": "127.0.0.1"
                                                    }
                                                },
                                                {
                                                    "key": "http.target",
                                                    "value": {
                                                        "stringValue": "/v1/graphql"
                                                    }
                                                },
                                                {
                                                    "key": "net.protocol.version",
                                                    "value": {
                                                        "stringValue": "1.1"
                                                    }
                                                },
                                                {
                                                    "key": "http.route",
                                                    "value": {
                                                        "stringValue": "/v1/graphql"
                                                    }
                                                },
                                                {
                                                    "key": "http.status_code",
                                                    "value": {
                                                        "intValue": "200"
                                                    }
                                                }
                                            ],
                                            "endTimeUnixNano": "1706791445376694750",
                                            "kind": 2,
                                            "name": "/v1/graphql",
                                            "parentSpanId": "",
                                            "spanId": "723c3f6eb4457b5c",
                                            "startTimeUnixNano": "1706791445332980000",
                                            "status": {},
                                            "traceId": "a3fbd5dc5db5e1734cb54419ca540b66"
                                        },
                                        {
                                            "attributes": [
                                                {
                                                    "key": "http.method",
                                                    "value": {
                                                        "stringValue": "POST"
                                                    }
                                                },
                                                {
                                                    "key": "http.scheme",
                                                    "value": {
                                                        "stringValue": "http"
                                                    }
                                                },
                                                {
                                                    "key": "net.host.name",
                                                    "value": {
                                                        "stringValue": "bindplane"
                                                    }
                                                },
                                                {
                                                    "key": "net.host.port",
                                                    "value": {
                                                        "intValue": "3001"
                                                    }
                                                },
                                                {
                                                    "key": "net.sock.peer.addr",
                                                    "value": {
                                                        "stringValue": "127.0.0.1"
                                                    }
                                                },
                                                {
                                                    "key": "net.sock.peer.port",
                                                    "value": {
                                                        "intValue": "50140"
                                                    }
                                                },
                                                {
                                                    "key": "user_agent.original",
                                                    "value": {
                                                        "stringValue": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0"
                                                    }
                                                },
                                                {
                                                    "key": "http.client_ip",
                                                    "value": {
                                                        "stringValue": "127.0.0.1"
                                                    }
                                                },
                                                {
                                                    "key": "http.target",
                                                    "value": {
                                                        "stringValue": "/v1/graphql"
                                                    }
                                                },
                                                {
                                                    "key": "net.protocol.version",
                                                    "value": {
                                                        "stringValue": "1.1"
                                                    }
                                                },
                                                {
                                                    "key": "http.route",
                                                    "value": {
                                                        "stringValue": "/v1/graphql"
                                                    }
                                                },
                                                {
                                                    "key": "http.status_code",
                                                    "value": {
                                                        "intValue": "200"
                                                    }
                                                }
                                            ],
                                            "endTimeUnixNano": "1706791445376708291",
                                            "kind": 2,
                                            "name": "/v1/graphql",
                                            "parentSpanId": "",
                                            "spanId": "3e7909bbebcae0ba",
                                            "startTimeUnixNano": "1706791445332972000",
                                            "status": {},
                                            "traceId": "d70c2b5eea8977bb8a0712f8c2a1fcb4"
                                        }
                                    ]
                                },
                                {
                                    "scope": {},
                                    "spans": [
                                        {
                                            "endTimeUnixNano": "1706791445913878000",
                                            "kind": 1,
                                            "name": "pgindex/Suggestions",
                                            "parentSpanId": "9d5a7e824fa7ba3b",
                                            "spanId": "4c2049c4cd14c987",
                                            "startTimeUnixNano": "1706791445912675000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        },
                                        {
                                            "endTimeUnixNano": "1706791445997017791",
                                            "kind": 1,
                                            "name": "pgindex/Suggestions",
                                            "parentSpanId": "96ae55c03e5146b3",
                                            "spanId": "aa69c45bc0970c2f",
                                            "startTimeUnixNano": "1706791445996229000",
                                            "status": {},
                                            "traceId": "c7f3bb6aa9e7a7dce92d85d1566f2c31"
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
Checklist
  • Changes are tested
  • CI has passed

@shazlehu shazlehu changed the base branch from release/v1.46.0 to feat/telemetry-generator March 5, 2024 22:46
@shazlehu shazlehu force-pushed the feat/otlp-generator branch from b58403c to 0780632 Compare March 5, 2024 22:55
@shazlehu shazlehu marked this pull request as ready for review March 6, 2024 02:26
@shazlehu shazlehu requested review from cpheps, BinaryFissionGames and a team as code owners March 6, 2024 02:26
@shazlehu shazlehu requested a review from cpheps March 6, 2024 16:26
@shazlehu shazlehu force-pushed the feat/otlp-generator branch from 524a2db to 11633cd Compare March 6, 2024 19:43
@shazlehu shazlehu requested a review from cpheps March 6, 2024 19:47
Base automatically changed from feat/telemetry-generator to release/v1.46.0 March 6, 2024 19:54
@shazlehu shazlehu force-pushed the feat/otlp-generator branch from 11633cd to 4c65a0a Compare March 6, 2024 19:57
@shazlehu shazlehu merged commit 09224cd into release/v1.46.0 Mar 7, 2024
15 checks passed
@shazlehu shazlehu deleted the feat/otlp-generator branch March 7, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants