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

added retrieve jaeger trace endpoint. #147

Merged
merged 1 commit into from
Apr 10, 2023

Conversation

ajukes
Copy link
Contributor

@ajukes ajukes commented Apr 6, 2023

Added Jaeger endpoint to recent-calls.js.

eslint should be good now.

returns the following payload:

{
	"resourceSpans": [
		{
			"resource": {
				"attributes": [
					{
						"key": "service.name",
						"value": {
							"stringValue": "jambonz-feature-server"
						}
					}
				]
			},
			"instrumentationLibrarySpans": [
				{
					"instrumentationLibrary": {
						"name": "jambonz-feature-server",
						"version": "undefined"
					},
					"spans": [
						{
							"traceId": "Hh12U4y9/tlmRYfpsJQItA==",
							"spanId": "i0XRoVdArS0=",
							"parentSpanId": "ybhSqf4rn8g=",
							"name": "lookupApplication",
							"kind": "SPAN_KIND_INTERNAL",
							"startTimeUnixNano": "1673825927082370000",
							"endTimeUnixNano": "1673825927087515000",
							"attributes": [
								{
									"key": "app.hook",
									"value": {
										"stringValue": "https://myhook.com/voice/start"
									}
								},
								{
									"key": "application_sid",
									"value": {
										"stringValue": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX"
									}
								},
								{
									"key": "service.name",
									"value": {
										"stringValue": "jambonz-feature-server"
									}
								},
								{
									"key": "telemetry.sdk.language",
									"value": {
										"stringValue": "nodejs"
									}
								},
								{
									"key": "telemetry.sdk.name",
									"value": {
										"stringValue": "opentelemetry"
									}
								},
								{
									"key": "telemetry.sdk.version",
									"value": {
										"stringValue": "1.8.0"
									}
								},
								{
									"key": "service.version",
									"value": {
										"stringValue": "v0.7.9"
									}
								},
								{
									"key": "internal.span.format",
									"value": {
										"stringValue": "jaeger"
									}
								}
							]
						}
					]
				}
			]
		}
	]
}

@ajukes
Copy link
Contributor Author

ajukes commented Apr 6, 2023

requires PR jambonz/jambonz-infrastructure#44

@davehorton davehorton force-pushed the feature/jaeger-trace-endpoint branch from 4a360a8 to 84327db Compare April 6, 2023 15:54
@davehorton davehorton force-pushed the feature/jaeger-trace-endpoint branch from 84327db to 4826c28 Compare April 10, 2023 17:32
@davehorton davehorton merged commit 36607b5 into jambonz:main Apr 10, 2023
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