Replies: 2 comments 37 replies
-
Do you check OAP logs? It seems your service does not boot completely. |
Beta Was this translation helpful? Give feedback.
37 replies
-
Sorry for the correction, but the version of zookeeper is 3.8.4. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Search before asking
Description
The telemetry information has been configured in the oapserver's application.yml according to the documentation.
The webapp's application.yml has also been configured with the same associations, and the relevant ports have been verified to return data.
version
Linux aarch64 20.04
JDK:21 aarch64
ES:8170
ZK:3.4.14
SkyWalking:10.0.1
oapServer/application.yml Configuration snippet
telemetry: selector: ${SW_TELEMETRY:prometheus} none: prometheus: host: ${SW_TELEMETRY_PROMETHEUS_HOST:192.168.163.196} port: ${SW_TELEMETRY_PROMETHEUS_PORT:12301} sslEnabled: ${SW_TELEMETRY_PROMETHEUS_SSL_ENABLED:false} sslKeyPath: ${SW_TELEMETRY_PROMETHEUS_SSL_KEY_PATH:""} sslCertChainPath: ${SW_TELEMETRY_PROMETHEUS_SSL_CERT_CHAIN_PATH:""}
webapp/application.yml Configuration snippet
collector: backend_service: ${SW_OAP_ADDRESS:http://192.168.163.196:12801}
The curl version command restores the data normally
curl -X POST http://192.168.163.196:12801/graphql -H "Content-Type: application/json" --data '{"query":"{ version }"}' {"data":{"version":"10.0.1-6a9d727"}}
curl service error
`curl -v -X POST http://192.168.163.196:12801/graphql -H "Content-Type: application/json" --data '{"query":"{ services { key name } }"}'
Note: Unnecessary use of -X or --request, POST is already inferred.
< HTTP/1.1 400 Bad Request
< content-type: application/json
< content-length: 205
< server: Armeria/1.27.3
< date: Wed, 22 Jan 2025 08:27:09 GMT
<
{"errors":[{"message":"Validation error (FieldUndefined@[services]) : Field 'services' in type 'Query' is undefined","locations":[{"line":1,"column":3}],"extensions":{"classification":"ValidationError"}}]}`
However, the dashboard in the webapp ui can't display the oap data, and I can't find any documentation about it.
Use case
How can this be resolved? Monitor oap server metrics via SkyWalking's webapp. Instead of monitoring via external prometheus.
Related issues
No response
Are you willing to submit a pull request to implement this on your own?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions