Hello, I am following the quick start guide for Elastic APM for version 7.17. Everything went well until I got to Step 3: 'Add the APM integration'. The first instruction is "In Kibana, select Add integrations > Elastic APM." When I click on 'Elastic APM', it takes me to the following link: "kibana.my.domain/app/home#/tutorial/apm". On that page, it says, " Unable to find tutorial apm". See screenshot:
I am at a loss on how to proceed. I checked the kibana logs and browser console for errors, but there doesn't appear to be anything related. If anyone has any ideas, I would be very appreciative!
The actual URL uses an internal domain, but here it is substituted with 'localhost': https://localhost:5601/app/home#/tutorial/apm
Here are the errors from the dev tools console:
"Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution."
"utils.js:3474 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules'". Either the 'unsafe-inline' keyword, a hash ('sha256-o7bfkBJKRs9/bv39VoPp7D2d12zInAtuBHEki1qpfn0='), or a nonce ('nonce-...') is required to enable inline execution."
"id": "apm",
"name": "APM",
"moduleName": "apm",
"category": "other",
"shortDescription": "Collect performance metrics from your applications with Elastic APM.",
"longDescription": "Application Performance Monitoring (APM) collects in-depth performance metrics and errors from inside your application. It allows you to monitor the performance of thousands of applications in real time. [Learn more]({config.docs.base_url}guide/en/apm/guide/{config.docs.version}/index.html).",
"euiIconType": "apmApp",
"integrationBrowserCategories": [
"observability",
"apm"
],
"artifacts": {
"dashboards": [
{
.....
Its is near the bottom..
Ohh mine is 8.x I would have to check with 7.17
UPDATE
I see the same in 7.17.10
....
"elasticCloud": {
"instructionSets": [
{
"title": "APM Server",
"instructionVariants": [
{
"id": "esc",
"instructions": [
{
"title": "Enable the APM Server in the Elastic Cloud user console",
"textPre": "To enable the APM Server go to [the Elastic Cloud console](https://cloud.elastic.co/deployments//edit) and enable APM and Fleet in the deployment edit page by clicking on add capacity, and then click on save. Once enabled, refresh this page."
}
]
}
]
},
{
"title": "APM Server",
"callOut": {
"title": "Important: Updating to 7.0 or higher",
"message": "Please make sure your APM Server is updated to 7.0 or higher. You can also migrate your 6.x data with the migration assistant found in Kibana's management section.",
"iconType": "alert"
},
"instructionVariants": [
{
"id": "deb",
"instructions": [
{
"title": "Download and unpack APM Server",
"commands": [
"curl -L -O https://artifacts.elastic.co/downloads/apm-server/apm-server-{config.kibana.version}-amd64.deb",
"sudo dpkg -i apm-server-{config.kibana.version}-amd64.deb"
.....
@stephenb I figured it out: in the kibana.yml, xpack.apm.enabled was set to false. I set it to true and restarted kibana and now everything is working!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.