{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T16:16:49Z","timestamp":1790093809908,"version":"4.0.1"},"reference-count":41,"publisher":"Springer Science and Business Media LLC","issue":"3","license":[{"start":{"date-parts":[[2024,4,16]],"date-time":"2024-04-16T00:00:00Z","timestamp":1713225600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2024,4,16]],"date-time":"2024-04-16T00:00:00Z","timestamp":1713225600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["J Netw Syst Manage"],"published-print":{"date-parts":[[2024,7]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>The storage requirement for distributed tracing can be reduced significantly by sampling only the anomalous or interesting traces that occur rarely at runtime. In this paper, we introduce an unsupervised sampling pipeline for distributed tracing that ensures high sampling accuracy while reducing the storage requirement. The proposed method, SampleHST-X, extends our recent work SampleHST. It operates based on a budget which limits the percentage of traces to be sampled while adjusting the storage quota of normal and anomalous traces depending on the size of this budget. The sampling process relies on accurately defining clusters of normal and anomalous traces by leveraging the distribution of mass scores, which characterize the probability of observing different traces, obtained from a forest of Half Space Trees (HST). In our experiments, using traces from a cloud data center, SampleHST yields 2.3<jats:inline-formula><jats:alternatives><jats:tex-math>$$\\times$$<\/jats:tex-math><mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mml:mo>\u00d7<\/mml:mo><\/mml:math><\/jats:alternatives><\/jats:inline-formula>to 9.5<jats:inline-formula><jats:alternatives><jats:tex-math>$$\\times$$<\/jats:tex-math><mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mml:mo>\u00d7<\/mml:mo><\/mml:math><\/jats:alternatives><\/jats:inline-formula>better sampling performance. SampleHST-X further extends the SampleHST approach by incorporating a novel class of Half Space Trees, namely Approximate HST, that uses approximate counters to update the mass scores. These counters significantly reduces the space requirement for HST while the sampling performance remains similar. In addition to this extension, SampleHST-X includes a Family of Graph Spectral Distances (FGSD) based trace characterization component, which, in addition to point anomalies, enables it to sample traces with collective anomalies. For such traces, we observe that the SampleHST-X approach can yield 1.2<jats:inline-formula><jats:alternatives><jats:tex-math>$$\\times$$<\/jats:tex-math><mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mml:mo>\u00d7<\/mml:mo><\/mml:math><\/jats:alternatives><\/jats:inline-formula>to 19<jats:inline-formula><jats:alternatives><jats:tex-math>$$\\times$$<\/jats:tex-math><mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\"><mml:mo>\u00d7<\/mml:mo><\/mml:math><\/jats:alternatives><\/jats:inline-formula>better sampling performance.<\/jats:p>","DOI":"10.1007\/s10922-024-09818-8","type":"journal-article","created":{"date-parts":[[2024,4,16]],"date-time":"2024-04-16T10:01:54Z","timestamp":1713261714000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":3,"title":["SampleHST-X: A Point and Collective Anomaly-Aware Trace Sampling Pipeline with Approximate Half Space Trees"],"prefix":"10.1007","volume":"32","author":[{"given":"Alim Ul","family":"Gias","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yicheng","family":"Gao","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Matthew","family":"Sheldon","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jos\u00e9 A.","family":"Perusqu\u00eda","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Owen","family":"O\u2019Brien","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Giuliano","family":"Casale","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2024,4,16]]},"reference":[{"key":"9818_CR1","volume-title":"Microservices Patterns: With Examples in Java","author":"C Richardson","year":"2018","unstructured":"Richardson, C.: Microservices Patterns: With Examples in Java. Simon and Schuster, London (2018)"},{"key":"9818_CR2","doi-asserted-by":"crossref","unstructured":"Guo, X., Peng, X., Wang, H., Li, W., Jiang, H., Ding, D., Xie, T., Su, L.: Graph-based trace analysis for microservice architecture understanding and problem diagnosis. In: Proceedings of ESEC\/FSE, pp. 1387\u20131397 (2020). ACM","DOI":"10.1145\/3368089.3417066"},{"key":"9818_CR3","doi-asserted-by":"crossref","unstructured":"Las-Casas, P., Mace, J., Guedes, D., Fonseca, R.: Weighted sampling of execution traces: capturing more needles and less hay. In: Proceedings of SoCC, pp. 326\u2013332. ACM (2018)","DOI":"10.1145\/3267809.3267841"},{"key":"9818_CR4","volume-title":"Distributed Tracing in Practice: Instrumenting, Analyzing, and Debugging Microservices","author":"A Parker","year":"2020","unstructured":"Parker, A., Spoonhower, D., Mace, J., Sigelman, B., Isaacs, R.: Distributed Tracing in Practice: Instrumenting, Analyzing, and Debugging Microservices. O\u2019Reilly Media, Sebastopol (2020)"},{"key":"9818_CR5","doi-asserted-by":"crossref","unstructured":"Las-Casas, P., Papakerashvili, G., Anand, V., Mace, J.: Sifter: scalable sampling for distributed traces, without feature engineering. In: Proceedings of SoCC, pp. 312\u2013324. ACM (2019)","DOI":"10.1145\/3357223.3362736"},{"key":"9818_CR6","doi-asserted-by":"crossref","unstructured":"Huang, Z., Chen, P., Yu, G., Chen, H., Zheng, Z.: Sieve: Attention-based sampling of end-to-end trace data in distributed microservice systems. In: Proceedings of ICWS, pp. 436\u2013446. IEEE (2021)","DOI":"10.1109\/ICWS53863.2021.00063"},{"key":"9818_CR7","unstructured":"Gias, A.U., Gao, Y., Sheldon, M., Perusqu\u00eda, J.A., O\u2019Brien, O., Casale, G.: Samplehst: efficient on-the-fly selection of distributed traces. In: NOMS 2023-2023 IEEE\/IFIP Network Operations and Management Symposium, pp. 1\u20139. IEEE (2023)"},{"key":"9818_CR8","doi-asserted-by":"crossref","unstructured":"Zhang, Y., Jin, R., Zhou, Z.-H.: Understanding bag-of-words model: a statistical framework. Int. J. Mach. Learn. Cybern. 1(1-4), 43\u201352 (2010)","DOI":"10.1007\/s13042-010-0001-0"},{"issue":"3","key":"9818_CR9","doi-asserted-by":"publisher","first-page":"15","DOI":"10.1145\/1541880.1541882","volume":"41","author":"V Chandola","year":"2009","unstructured":"Chandola, V., Banerjee, A., Kumar, V.: Anomaly detection: a survey. ACM Comput. Surv. 41(3), 15\u201311558 (2009)","journal-title":"ACM Comput. Surv."},{"key":"9818_CR10","unstructured":"Tan, S.C., Ting, K.M., Liu, T.F.: Fast anomaly detection for streaming data. In: Proceedings of IJCAI, pp. 1511\u20131516 (2011)"},{"issue":"1","key":"9818_CR11","doi-asserted-by":"publisher","first-page":"32","DOI":"10.1109\/TIT.1975.1055330","volume":"21","author":"K Fukunaga","year":"1975","unstructured":"Fukunaga, K., Hostetler, L.: The estimation of the gradient of a density function, with applications in pattern recognition. IEEE Trans. Inf. Theory 21(1), 32\u201340 (1975)","journal-title":"IEEE Trans. Inf. Theory"},{"key":"9818_CR12","doi-asserted-by":"crossref","unstructured":"Baruah, R.D., Angelov, P.: Evolving local means method for clustering of streaming data. In: Proceedings of FUZZ-IEEE, pp. 1\u20138. IEEE (2012)","DOI":"10.1109\/FUZZ-IEEE.2012.6251366"},{"issue":"10","key":"9818_CR13","doi-asserted-by":"publisher","first-page":"840","DOI":"10.1145\/359619.359627","volume":"21","author":"R Morris","year":"1978","unstructured":"Morris, R.: Counting large numbers of events in small registers. Commun. ACM 21(10), 840\u2013842 (1978)","journal-title":"Commun. ACM"},{"key":"9818_CR14","unstructured":"Verma, S., Zhang, Z.-L.: Hunt for the unique, stable, sparse and fast feature learning on graphs. In: Proceedings of NIPS, pp. 88\u201398 (2017)"},{"key":"9818_CR15","volume-title":"A Quantitative Measure of Fairness and Discrimination for Resource Allocation in Shared Computer System","author":"RK Jain","year":"1984","unstructured":"Jain, R.K., Chiu, D.-M.W., Hawe, W.R.: A Quantitative Measure of Fairness and Discrimination for Resource Allocation in Shared Computer System. Eastern Research Laboratory, Digital Equipment Corporation, Hudson, MA (1984)"},{"key":"9818_CR16","doi-asserted-by":"crossref","unstructured":"Gan, Y., Zhang, Y., Cheng, D., Shetty, A., Rathi, P., Katarki, N., Bruno, A., Hu, J., Ritchken, B., Jackson, B., et\u00a0al.: An open-source benchmark suite for microservices and their hardware-software implications for cloud & edge systems. In: Proceedings of ASPLOS, pp. 3\u201318 (2019)","DOI":"10.1145\/3297858.3304013"},{"key":"9818_CR17","doi-asserted-by":"crossref","unstructured":"Kobren, A., Monath, N., Krishnamurthy, A., McCallum, A.: A hierarchical algorithm for extreme clustering. In: Proceedings of SIGKDD, pp. 255\u2013264 (2017)","DOI":"10.1145\/3097983.3098079"},{"key":"9818_CR18","unstructured":"Le, Q., Mikolov, T.: Distributed representations of sentences and documents. In: Proceedings of ICML, pp. 1188\u20131196. PMLR (2014)"},{"key":"9818_CR19","volume-title":"Introduction to Statistical Pattern Recognition","author":"K Fukunaga","year":"2013","unstructured":"Fukunaga, K.: Introduction to Statistical Pattern Recognition. Elsevier, Amsterdam (2013)"},{"issue":"2","key":"9818_CR20","doi-asserted-by":"publisher","first-page":"275","DOI":"10.1007\/s10994-015-5521-0","volume":"102","author":"T Pevn\u1ef3","year":"2016","unstructured":"Pevn\u1ef3, T.: Loda: lightweight on-line detector of anomalies. Mach. Learn. 102(2), 275\u2013304 (2016)","journal-title":"Mach. Learn."},{"key":"9818_CR21","doi-asserted-by":"publisher","first-page":"121","DOI":"10.1016\/j.patcog.2016.03.028","volume":"58","author":"SM Erfani","year":"2016","unstructured":"Erfani, S.M., Rajasegarar, S., Karunasekera, S., Leckie, C.: High-dimensional and large-scale anomaly detection using a linear one-class SVM with deep learning. Pattern Recogn. 58, 121\u2013134 (2016)","journal-title":"Pattern Recogn."},{"key":"9818_CR22","unstructured":"Fisher-Ogden, P., Burrell, G., Sanden, C., Rioux, C.: Tracking down the Villains: outlier detection at Netflix. https:\/\/netflixtechblog.com\/tracking-down-the-villains-outlier-detection-at-netflix-40360b31732. Accessed 25 Jan 2023 (2015)"},{"issue":"1","key":"9818_CR23","doi-asserted-by":"publisher","first-page":"127","DOI":"10.1007\/s10994-012-5303-x","volume":"90","author":"KM Ting","year":"2013","unstructured":"Ting, K.M., Zhou, G.-T., Liu, F.T., Tan, S.C.: Mass estimation. Mach. Learn. 90(1), 127\u2013160 (2013)","journal-title":"Mach. Learn."},{"key":"9818_CR24","doi-asserted-by":"publisher","first-page":"96","DOI":"10.1016\/j.ins.2016.12.004","volume":"382","author":"R Hyde","year":"2017","unstructured":"Hyde, R., Angelov, P., MacKenzie, A.R.: Fully online clustering of evolving data streams into arbitrarily shaped clusters. Inf. Sci. 382, 96\u2013114 (2017)","journal-title":"Inf. Sci."},{"issue":"3","key":"9818_CR25","doi-asserted-by":"publisher","first-page":"596","DOI":"10.1080\/10618600.2018.1549052","volume":"28","author":"N Langren\u00e9","year":"2019","unstructured":"Langren\u00e9, N., Warin, X.: Fast and stable multivariate kernel density estimation by fast sum updating. J. Comput. Graph. Stat. 28(3), 596\u2013608 (2019)","journal-title":"J. Comput. Graph. Stat."},{"key":"9818_CR26","doi-asserted-by":"publisher","DOI":"10.1201\/b14876","volume-title":"Kernel Smoothing","author":"MP Wand","year":"1994","unstructured":"Wand, M.P., Jones, M.C.: Kernel Smoothing. CRC Press, Boca Raton, Florida (1994)"},{"key":"9818_CR27","volume-title":"An Introduction to Probability Theory and Its Applications","author":"W Feller","year":"2008","unstructured":"Feller, W.: An Introduction to Probability Theory and Its Applications, vol. 2. John Wiley & Sons, Toronto (2008)"},{"issue":"7","key":"9818_CR28","doi-asserted-by":"publisher","first-page":"954","DOI":"10.1109\/TCOM.1981.1095081","volume":"29","author":"J Jaffe","year":"1981","unstructured":"Jaffe, J.: Bottleneck flow control. IEEE Trans. Commun. 29(7), 954\u2013962 (1981)","journal-title":"IEEE Trans. Commun."},{"key":"9818_CR29","doi-asserted-by":"publisher","first-page":"98","DOI":"10.1016\/j.comnet.2019.01.025","volume":"152","author":"M Al-Maitah","year":"2019","unstructured":"Al-Maitah, M., AlZubi, A.A., Alarifi, A.: An optimal storage utilization technique for IoT devices using sequential machine learning. Comput. Netw. 152, 98\u2013105 (2019)","journal-title":"Comput. Netw."},{"key":"9818_CR30","first-page":"22941","volume":"35","author":"J Lin","year":"2022","unstructured":"Lin, J., Zhu, L., Chen, W.-M., Wang, W.-C., Gan, C., Han, S.: On-device training under 256kb memory. Adv. Neural Inf. Process. Syst. 35, 22941\u201322954 (2022)","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"9818_CR31","doi-asserted-by":"crossref","unstructured":"Ikada, S., Hamaguchi, Y.: Approximate frequency counts algorithm for network monitoring and analysis: Improvement of \"lossy counting\". In: 2009 First International Conference on Emerging Network Intelligence, pp. 9\u201314 (2009)","DOI":"10.1109\/EMERGING.2009.27"},{"issue":"1","key":"9818_CR32","doi-asserted-by":"publisher","first-page":"181","DOI":"10.1145\/1269899.1254903","volume":"35","author":"A Cvetkovski","year":"2007","unstructured":"Cvetkovski, A.: An algorithm for approximate counting using limited memory resources. SIGMETRICS Perform. Eval. Rev. 35(1), 181\u2013190 (2007)","journal-title":"SIGMETRICS Perform. Eval. Rev."},{"key":"9818_CR33","doi-asserted-by":"crossref","unstructured":"Einziger, G., Fellman, B., Kassner, Y.: Independent counter estimation buckets. In: Proceedings of INFOCOM, pp. 2560\u20132568. IEEE (2015)","DOI":"10.1109\/INFOCOM.2015.7218646"},{"key":"9818_CR34","unstructured":"Fonseca, R., Porter, G., Katz, R.H., Shenker, S.: X-trace: A pervasive network tracing framework. In: Proceedings of NSDI, pp. 271\u2013284 (2007)"},{"issue":"4","key":"9818_CR35","doi-asserted-by":"publisher","first-page":"2350","DOI":"10.1109\/TNSM.2020.3022028","volume":"17","author":"T Wang","year":"2020","unstructured":"Wang, T., Zhang, W., Xu, J., Gu, Z.: Workflow-aware automatic fault diagnosis for microservice-based applications with statistics. IEEE Trans. Netw. Serv. Manag. 17(4), 2350\u20132363 (2020)","journal-title":"IEEE Trans. Netw. Serv. Manag."},{"issue":"2","key":"9818_CR36","doi-asserted-by":"publisher","first-page":"548","DOI":"10.1109\/TCCN.2020.2966615","volume":"6","author":"Y Zuo","year":"2020","unstructured":"Zuo, Y., Wu, Y., Min, G., Huang, C., Pei, K.: An intelligent anomaly detection scheme for micro-services architectures with temporal and spatial data analysis. IEEE Trans. Cogn. Commun. Netw. 6(2), 548\u2013561 (2020)","journal-title":"IEEE Trans. Cogn. Commun. Netw."},{"key":"9818_CR37","doi-asserted-by":"publisher","first-page":"291","DOI":"10.1016\/j.future.2020.10.040","volume":"116","author":"L Meng","year":"2021","unstructured":"Meng, L., Ji, F., Sun, Y., Wang, T.: Detecting anomalies in microservices with execution trace comparison. Future Gener. Comput. Syst. 116, 291\u2013301 (2021)","journal-title":"Future Gener. Comput. Syst."},{"key":"9818_CR38","doi-asserted-by":"crossref","unstructured":"Nedelkoski, S., Cardoso, J., Kao, O.: Anomaly detection and classification using distributed tracing and deep learning. In: Proceedings of CCGRID, pp. 241\u2013250. IEEE (2019)","DOI":"10.1109\/CCGRID.2019.00038"},{"key":"9818_CR39","doi-asserted-by":"crossref","unstructured":"Nedelkoski, S., Cardoso, J., Kao, O.: Anomaly detection from system tracing data using multimodal deep learning. In: Proceedings of CLOUD, pp. 179\u2013186. IEEE (2019)","DOI":"10.1109\/CLOUD.2019.00038"},{"key":"9818_CR40","doi-asserted-by":"crossref","unstructured":"Bogatinovski, J., Nedelkoski, S., Cardoso, J., Kao, O.: Self-supervised anomaly detection from distributed traces. In: Proceedings of UCC, pp. 342\u2013347. IEEE (2020)","DOI":"10.1109\/UCC48980.2020.00054"},{"issue":"5","key":"9818_CR41","doi-asserted-by":"publisher","first-page":"363","DOI":"10.1002\/sam.11161","volume":"5","author":"A Zimek","year":"2012","unstructured":"Zimek, A., Schubert, E., Kriegel, H.-P.: A survey on unsupervised outlier detection in high-dimensional numerical data. Stat. Anal. Data Min.: ASA Data Sci. J. 5(5), 363\u2013387 (2012)","journal-title":"Stat. Anal. Data Min.: ASA Data Sci. J."}],"container-title":["Journal of Network and Systems Management"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10922-024-09818-8.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s10922-024-09818-8\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10922-024-09818-8.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,11,16]],"date-time":"2024-11-16T09:55:04Z","timestamp":1731750904000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s10922-024-09818-8"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,4,16]]},"references-count":41,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2024,7]]}},"alternative-id":["9818"],"URL":"https:\/\/doi.org\/10.1007\/s10922-024-09818-8","relation":{},"ISSN":["1064-7570","1573-7705"],"issn-type":[{"value":"1064-7570","type":"print"},{"value":"1573-7705","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,4,16]]},"assertion":[{"value":"24 November 2023","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"27 February 2024","order":2,"name":"revised","label":"Revised","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"13 March 2024","order":3,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"16 April 2024","order":4,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors declare no competing interests.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Competing interest"}}],"article-number":"44"}}