-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
APM Sample Data #40704
Comments
Pinging @elastic/apm-ui |
Sample data sets can load multiple Elasticsearch indices so perhaps the existing web logs sample data set could just be enhanced with the indices needed by apm. |
Perhaps obvious to say but it'd be excellent if the data was planned out so that it looked like it was all connected, so we can demonstrate the interconnected features of our various apps. (That means we also need to be able to easily update it when we add new connections between apps.) Can sample data have dynamic dates applied? Another reason to consider building a simple data generator to use for dev that could export this kind of data... space time someday! |
Yes. When you install sample data sets, the timestamps identified with |
@nreese brilliant! Thanks |
Narrowing the scope on this for now, let's only tackle APM data and tie in logs and metrics connections as a follow on. The plan is now:
Open question - can we work backwards from the pattern to a random name that matches? Alternatively, can we warn the user / hide the create sample data flow if the user has modified Per discussion, we do not wish to have a workflow that is special to sample data - eg pass sample data index name around in query params or otherwise. |
Kibana's sample data implementation prefixes index names with |
@nreese Yes we talked about this and agreed it was better to ingest sample data into the APM specific indices. This way the APM app doesn't have to do anything to handle sample data - it's just normal data. It'll still be in a separate index which makes it easy to wipe again. |
@graphaelli I don't think so. I think we'll just have to pick an index name eg An alternative approach could be to take advantage of runtime index configuration settings and overwrite them with the sample data index name:
For us to delete the sample data again we'll need to know the index name. Since the index name is dynamic (contains a uuid) we'll need to store this somewhere (eg. saved objects) when the sample data index is created. |
Fair enough. I like the change from
I was thinking we would delete |
@graphaelli Where is the sample APM data for this project going to come from? Opbeans? |
That's the plan, planning to pull from one of the kubernetes clusters. |
Spent some time on this : https://github.com/elastic/kibana/compare/356e3a47768701740ae99863f8e0089258874a20...graphaelli:obs-sample-data?expand=1 and have some notes for the implementer:
I would be happy to continue working on the sample data content if someone could work on wiring all of this up. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
We'll take a different approach as part of the next getting started effort |
In order to improve the getting started experience, we'd like to add sample data to Kibana to power APM
+ Infra + Logsso users can get hands on with them. Edit: leave infra/logs/uptime for a follow on effort.#17807 originally added sample data into Kibana, so could help as a reference for implementation.
Logs UI already supports the sample data index (kibana_sample_data_logs
) by default, so populating that index should just work.Infra UI also includes the logging sample index by default but not one for metrics.APM UI does not include a sample data index by default. #39741 could fit in nicely to enable that.edit: use an index name that matches the exist patternSee #40704 (comment) for more implementation details
cc @tbragin @nehaduggal
The text was updated successfully, but these errors were encountered: