opentelemetry_semantic_conventions/attribute.rs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681
// DO NOT EDIT, this is an auto-generated file
//
// If you want to update the file:
// - Edit the template at scripts/templates/registry/rust/attributes.rs.j2
// - Run the script at scripts/generate-consts-from-spec.sh
//! # Semantic Attributes
//!
//! The entire set of semantic attributes (or [conventions](https://opentelemetry.io/docs/concepts/semantic-conventions/)) defined by the project. The resource, metric, and trace modules reference these attributes.
/// Uniquely identifies the framework API revision offered by a version (`os.version`) of the android operating system. More information can be found [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels).
///
/// # Examples
///
/// - `"33"`
/// - `"32"`
#[cfg(feature = "semconv_experimental")]
pub const ANDROID_OS_API_LEVEL: &str = "android.os.api_level";
/// Deprecated use the `device.app.lifecycle` event definition including `android.state` as a payload field instead.
///
/// ## Notes
///
/// The Android lifecycle states are defined in [Activity lifecycle callbacks](https://developer.android.com/guide/components/activities/activity-lifecycle#lc), and from which the `OS identifiers` are derived
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `device.app.lifecycle`.")]
pub const ANDROID_STATE: &str = "android.state";
/// The provenance filename of the built attestation which directly relates to the build artifact filename. This filename SHOULD accompany the artifact at publish time. See the [SLSA Relationship](https://slsa.dev/spec/v1.0/distributing-provenance#relationship-between-artifacts-and-attestations) specification for more information.
///
/// # Examples
///
/// - `"golang-binary-amd64-v0.1.0.attestation"`
/// - `"docker-image-amd64-v0.1.0.intoto.json1"`
/// - `"release-1.tar.gz.attestation"`
/// - `"file-name-package.tar.gz.intoto.json1"`
#[cfg(feature = "semconv_experimental")]
pub const ARTIFACT_ATTESTATION_FILENAME: &str = "artifact.attestation.filename";
/// The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), of the built attestation. Some envelopes in the software attestation space also refer to this as the [digest](https://github.com/in-toto/attestation/blob/main/spec/README.md#in-toto-attestation-framework-spec).
///
/// # Examples
///
/// - `"1b31dfcd5b7f9267bf2ff47651df1cfb9147b9e4df1f335accf65b4cda498408"`
#[cfg(feature = "semconv_experimental")]
pub const ARTIFACT_ATTESTATION_HASH: &str = "artifact.attestation.hash";
/// The id of the build [software attestation](https://slsa.dev/attestation-model).
///
/// # Examples
///
/// - `"123"`
#[cfg(feature = "semconv_experimental")]
pub const ARTIFACT_ATTESTATION_ID: &str = "artifact.attestation.id";
/// The human readable file name of the artifact, typically generated during build and release processes. Often includes the package name and version in the file name.
///
/// ## Notes
///
/// This file name can also act as the [Package Name](https://slsa.dev/spec/v1.0/terminology#package-model)
/// in cases where the package ecosystem maps accordingly.
/// Additionally, the artifact [can be published](https://slsa.dev/spec/v1.0/terminology#software-supply-chain)
/// for others, but that is not a guarantee.
///
/// # Examples
///
/// - `"golang-binary-amd64-v0.1.0"`
/// - `"docker-image-amd64-v0.1.0"`
/// - `"release-1.tar.gz"`
/// - `"file-name-package.tar.gz"`
#[cfg(feature = "semconv_experimental")]
pub const ARTIFACT_FILENAME: &str = "artifact.filename";
/// The full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf), often found in checksum.txt on a release of the artifact and used to verify package integrity.
///
/// ## Notes
///
/// The specific algorithm used to create the cryptographic hash value is
/// not defined. In situations where an artifact has multiple
/// cryptographic hashes, it is up to the implementer to choose which
/// hash value to set here; this should be the most secure hash algorithm
/// that is suitable for the situation and consistent with the
/// corresponding attestation. The implementer can then provide the other
/// hash values through an additional set of attribute extensions as they
/// deem necessary.
///
/// # Examples
///
/// - `"9ff4c52759e2c4ac70b7d517bc7fcdc1cda631ca0045271ddd1b192544f8a3e9"`
#[cfg(feature = "semconv_experimental")]
pub const ARTIFACT_HASH: &str = "artifact.hash";
/// The [Package URL](https://github.com/package-url/purl-spec) of the [package artifact](https://slsa.dev/spec/v1.0/terminology#package-model) provides a standard way to identify and locate the packaged artifact.
///
/// # Examples
///
/// - `"pkg:github/package-url/purl-spec@1209109710924"`
/// - `"pkg:npm/foo@12.12.3"`
#[cfg(feature = "semconv_experimental")]
pub const ARTIFACT_PURL: &str = "artifact.purl";
/// The version of the artifact.
///
/// # Examples
///
/// - `"v0.1.0"`
/// - `"1.2.1"`
/// - `"122691-build"`
#[cfg(feature = "semconv_experimental")]
pub const ARTIFACT_VERSION: &str = "artifact.version";
/// ASP.NET Core exception middleware handling result
///
/// # Examples
///
/// - `"handled"`
/// - `"unhandled"`
pub const ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT: &str = "aspnetcore.diagnostics.exception.result";
/// Full type name of the [`IExceptionHandler`](https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.diagnostics.iexceptionhandler) implementation that handled the exception.
///
/// # Examples
///
/// - `"Contoso.MyHandler"`
pub const ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE: &str = "aspnetcore.diagnostics.handler.type";
/// Rate limiting policy name.
///
/// # Examples
///
/// - `"fixed"`
/// - `"sliding"`
/// - `"token"`
pub const ASPNETCORE_RATE_LIMITING_POLICY: &str = "aspnetcore.rate_limiting.policy";
/// Rate-limiting result, shows whether the lease was acquired or contains a rejection reason
///
/// # Examples
///
/// - `"acquired"`
/// - `"request_canceled"`
pub const ASPNETCORE_RATE_LIMITING_RESULT: &str = "aspnetcore.rate_limiting.result";
/// Flag indicating if request was handled by the application pipeline.
///
/// # Examples
///
/// - `true`
pub const ASPNETCORE_REQUEST_IS_UNHANDLED: &str = "aspnetcore.request.is_unhandled";
/// A value that indicates whether the matched route is a fallback route.
///
/// # Examples
///
/// - `true`
pub const ASPNETCORE_ROUTING_IS_FALLBACK: &str = "aspnetcore.routing.is_fallback";
/// Match result - success or failure
///
/// # Examples
///
/// - `"success"`
/// - `"failure"`
pub const ASPNETCORE_ROUTING_MATCH_STATUS: &str = "aspnetcore.routing.match_status";
/// The JSON-serialized value of each item in the `AttributeDefinitions` request field.
///
/// # Examples
///
/// - `[
/// "{ \"AttributeName\": \"string\", \"AttributeType\": \"string\" }",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS: &str = "aws.dynamodb.attribute_definitions";
/// The value of the `AttributesToGet` request parameter.
///
/// # Examples
///
/// - `[
/// "lives",
/// "id",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_ATTRIBUTES_TO_GET: &str = "aws.dynamodb.attributes_to_get";
/// The value of the `ConsistentRead` request parameter
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_CONSISTENT_READ: &str = "aws.dynamodb.consistent_read";
/// The JSON-serialized value of each item in the `ConsumedCapacity` response field.
///
/// # Examples
///
/// - `[
/// "{ \"CapacityUnits\": number, \"GlobalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"LocalSecondaryIndexes\": { \"string\" : { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }, \"ReadCapacityUnits\": number, \"Table\": { \"CapacityUnits\": number, \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number }, \"TableName\": \"string\", \"WriteCapacityUnits\": number }",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_CONSUMED_CAPACITY: &str = "aws.dynamodb.consumed_capacity";
/// The value of the `Count` response parameter.
///
/// # Examples
///
/// - `10`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_COUNT: &str = "aws.dynamodb.count";
/// The value of the `ExclusiveStartTableName` request parameter.
///
/// # Examples
///
/// - `"Users"`
/// - `"CatsTable"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_EXCLUSIVE_START_TABLE: &str = "aws.dynamodb.exclusive_start_table";
/// The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates` request field.
///
/// # Examples
///
/// - `[
/// "{ \"Create\": { \"IndexName\": \"string\", \"KeySchema\": [ { \"AttributeName\": \"string\", \"KeyType\": \"string\" } ], \"Projection\": { \"NonKeyAttributes\": [ \"string\" ], \"ProjectionType\": \"string\" }, \"ProvisionedThroughput\": { \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES: &str =
"aws.dynamodb.global_secondary_index_updates";
/// The JSON-serialized value of each item of the `GlobalSecondaryIndexes` request field
///
/// # Examples
///
/// - `[
/// "{ \"IndexName\": \"string\", \"KeySchema\": [ { \"AttributeName\": \"string\", \"KeyType\": \"string\" } ], \"Projection\": { \"NonKeyAttributes\": [ \"string\" ], \"ProjectionType\": \"string\" }, \"ProvisionedThroughput\": { \"ReadCapacityUnits\": number, \"WriteCapacityUnits\": number } }",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES: &str = "aws.dynamodb.global_secondary_indexes";
/// The value of the `IndexName` request parameter.
///
/// # Examples
///
/// - `"name_to_group"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_INDEX_NAME: &str = "aws.dynamodb.index_name";
/// The JSON-serialized value of the `ItemCollectionMetrics` response field.
///
/// # Examples
///
/// - `"{ \"string\" : [ { \"ItemCollectionKey\": { \"string\" : { \"B\": blob, \"BOOL\": boolean, \"BS\": [ blob ], \"L\": [ \"AttributeValue\" ], \"M\": { \"string\" : \"AttributeValue\" }, \"N\": \"string\", \"NS\": [ \"string\" ], \"NULL\": boolean, \"S\": \"string\", \"SS\": [ \"string\" ] } }, \"SizeEstimateRangeGB\": [ number ] } ] }"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_ITEM_COLLECTION_METRICS: &str = "aws.dynamodb.item_collection_metrics";
/// The value of the `Limit` request parameter.
///
/// # Examples
///
/// - `10`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_LIMIT: &str = "aws.dynamodb.limit";
/// The JSON-serialized value of each item of the `LocalSecondaryIndexes` request field.
///
/// # Examples
///
/// - `[
/// "{ \"IndexArn\": \"string\", \"IndexName\": \"string\", \"IndexSizeBytes\": number, \"ItemCount\": number, \"KeySchema\": [ { \"AttributeName\": \"string\", \"KeyType\": \"string\" } ], \"Projection\": { \"NonKeyAttributes\": [ \"string\" ], \"ProjectionType\": \"string\" } }",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES: &str = "aws.dynamodb.local_secondary_indexes";
/// The value of the `ProjectionExpression` request parameter.
///
/// # Examples
///
/// - `"Title"`
/// - `"Title, Price, Color"`
/// - `"Title, Description, RelatedItems, ProductReviews"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_PROJECTION: &str = "aws.dynamodb.projection";
/// The value of the `ProvisionedThroughput.ReadCapacityUnits` request parameter.
///
/// # Examples
///
/// - `1.0`
/// - `2.0`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_PROVISIONED_READ_CAPACITY: &str = "aws.dynamodb.provisioned_read_capacity";
/// The value of the `ProvisionedThroughput.WriteCapacityUnits` request parameter.
///
/// # Examples
///
/// - `1.0`
/// - `2.0`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY: &str = "aws.dynamodb.provisioned_write_capacity";
/// The value of the `ScanIndexForward` request parameter
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_SCAN_FORWARD: &str = "aws.dynamodb.scan_forward";
/// The value of the `ScannedCount` response parameter.
///
/// # Examples
///
/// - `50`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_SCANNED_COUNT: &str = "aws.dynamodb.scanned_count";
/// The value of the `Segment` request parameter.
///
/// # Examples
///
/// - `10`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_SEGMENT: &str = "aws.dynamodb.segment";
/// The value of the `Select` request parameter.
///
/// # Examples
///
/// - `"ALL_ATTRIBUTES"`
/// - `"COUNT"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_SELECT: &str = "aws.dynamodb.select";
/// The number of items in the `TableNames` response parameter.
///
/// # Examples
///
/// - `20`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_TABLE_COUNT: &str = "aws.dynamodb.table_count";
/// The keys in the `RequestItems` object field.
///
/// # Examples
///
/// - `[
/// "Users",
/// "Cats",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_TABLE_NAMES: &str = "aws.dynamodb.table_names";
/// The value of the `TotalSegments` request parameter.
///
/// # Examples
///
/// - `100`
#[cfg(feature = "semconv_experimental")]
pub const AWS_DYNAMODB_TOTAL_SEGMENTS: &str = "aws.dynamodb.total_segments";
/// The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
///
/// # Examples
///
/// - `"arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_ECS_CLUSTER_ARN: &str = "aws.ecs.cluster.arn";
/// The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
///
/// # Examples
///
/// - `"arn:aws:ecs:us-west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_ECS_CONTAINER_ARN: &str = "aws.ecs.container.arn";
/// The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task
#[cfg(feature = "semconv_experimental")]
pub const AWS_ECS_LAUNCHTYPE: &str = "aws.ecs.launchtype";
/// The ARN of a running [ECS task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids).
///
/// # Examples
///
/// - `"arn:aws:ecs:us-west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b"`
/// - `"arn:aws:ecs:us-west-1:123456789123:task/my-cluster/task-id/23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbd"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_ECS_TASK_ARN: &str = "aws.ecs.task.arn";
/// The family name of the [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html) used to create the ECS task.
///
/// # Examples
///
/// - `"opentelemetry-family"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_ECS_TASK_FAMILY: &str = "aws.ecs.task.family";
/// The ID of a running ECS task. The ID MUST be extracted from `task.arn`.
///
/// # Examples
///
/// - `"10838bed-421f-43ef-870a-f43feacbbb5b"`
/// - `"23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbd"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_ECS_TASK_ID: &str = "aws.ecs.task.id";
/// The revision for the task definition used to create the ECS task.
///
/// # Examples
///
/// - `"8"`
/// - `"26"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_ECS_TASK_REVISION: &str = "aws.ecs.task.revision";
/// The ARN of an EKS cluster.
///
/// # Examples
///
/// - `"arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_EKS_CLUSTER_ARN: &str = "aws.eks.cluster.arn";
/// The full invoked ARN as provided on the `Context` passed to the function (`Lambda-Runtime-Invoked-Function-Arn` header on the `/runtime/invocation/next` applicable).
///
/// ## Notes
///
/// This may be different from `cloud.resource_id` if an alias is involved.
///
/// # Examples
///
/// - `"arn:aws:lambda:us-east-1:123456:function:myfunction:myalias"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_LAMBDA_INVOKED_ARN: &str = "aws.lambda.invoked_arn";
/// The Amazon Resource Name(s) (ARN) of the AWS log group(s).
///
/// ## Notes
///
/// See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).
///
/// # Examples
///
/// - `[
/// "arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:*",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const AWS_LOG_GROUP_ARNS: &str = "aws.log.group.arns";
/// The name(s) of the AWS log group(s) an application is writing to.
///
/// ## Notes
///
/// Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group.
///
/// # Examples
///
/// - `[
/// "/aws/lambda/my-function",
/// "opentelemetry-service",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const AWS_LOG_GROUP_NAMES: &str = "aws.log.group.names";
/// The ARN(s) of the AWS log stream(s).
///
/// ## Notes
///
/// See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream.
///
/// # Examples
///
/// - `[
/// "arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:log-stream:logs/main/10838bed-421f-43ef-870a-f43feacbbb5b",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const AWS_LOG_STREAM_ARNS: &str = "aws.log.stream.arns";
/// The name(s) of the AWS log stream(s) an application is writing to.
///
/// # Examples
///
/// - `[
/// "logs/main/10838bed-421f-43ef-870a-f43feacbbb5b",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const AWS_LOG_STREAM_NAMES: &str = "aws.log.stream.names";
/// The AWS request ID as returned in the response headers `x-amz-request-id` or `x-amz-requestid`.
///
/// # Examples
///
/// - `"79b9da39-b7ae-508a-a6bc-864b2829c622"`
/// - `"C9ER4AJX75574TDJ"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_REQUEST_ID: &str = "aws.request_id";
/// The S3 bucket name the request refers to. Corresponds to the `--bucket` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations.
///
/// ## Notes
///
/// The `bucket` attribute is applicable to all S3 operations that reference a bucket, i.e. that require the bucket name as a mandatory parameter.
/// This applies to almost all S3 operations except `list-buckets`.
///
/// # Examples
///
/// - `"some-bucket-name"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_S3_BUCKET: &str = "aws.s3.bucket";
/// The source object (in the form `bucket`/`key`) for the copy operation.
///
/// ## Notes
///
/// The `copy_source` attribute applies to S3 copy operations and corresponds to the `--copy-source` parameter
/// of the [copy-object operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html).
/// This applies in particular to the following operations:
///
/// - [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html)
/// - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
///
/// # Examples
///
/// - `"someFile.yml"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_S3_COPY_SOURCE: &str = "aws.s3.copy_source";
/// The delete request container that specifies the objects to be deleted.
///
/// ## Notes
///
/// The `delete` attribute is only applicable to the [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html) operation.
/// The `delete` attribute corresponds to the `--delete` parameter of the
/// [delete-objects operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html).
///
/// # Examples
///
/// - `"Objects=[{Key=string,VersionId=string},{Key=string,VersionId=string}],Quiet=boolean"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_S3_DELETE: &str = "aws.s3.delete";
/// The S3 object key the request refers to. Corresponds to the `--key` parameter of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) operations.
///
/// ## Notes
///
/// The `key` attribute is applicable to all object-related S3 operations, i.e. that require the object key as a mandatory parameter.
/// This applies in particular to the following operations:
///
/// - [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html)
/// - [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html)
/// - [get-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/get-object.html)
/// - [head-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/head-object.html)
/// - [put-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object.html)
/// - [restore-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/restore-object.html)
/// - [select-object-content](https://docs.aws.amazon.com/cli/latest/reference/s3api/select-object-content.html)
/// - [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html)
/// - [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html)
/// - [create-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/create-multipart-upload.html)
/// - [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html)
/// - [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html)
/// - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
///
/// # Examples
///
/// - `"someFile.yml"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_S3_KEY: &str = "aws.s3.key";
/// The part number of the part being uploaded in a multipart-upload operation. This is a positive integer between 1 and 10,000.
///
/// ## Notes
///
/// The `part_number` attribute is only applicable to the [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html)
/// and [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html) operations.
/// The `part_number` attribute corresponds to the `--part-number` parameter of the
/// [upload-part operation within the S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html).
///
/// # Examples
///
/// - `3456`
#[cfg(feature = "semconv_experimental")]
pub const AWS_S3_PART_NUMBER: &str = "aws.s3.part_number";
/// Upload ID that identifies the multipart upload.
///
/// ## Notes
///
/// The `upload_id` attribute applies to S3 multipart-upload operations and corresponds to the `--upload-id` parameter
/// of the [S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html) multipart operations.
/// This applies in particular to the following operations:
///
/// - [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html)
/// - [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html)
/// - [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html)
/// - [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html)
/// - [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
///
/// # Examples
///
/// - `"dfRtDYWFbkRONycy.Yxwh66Yjlx.cph0gtNBtJ"`
#[cfg(feature = "semconv_experimental")]
pub const AWS_S3_UPLOAD_ID: &str = "aws.s3.upload_id";
/// [Azure Resource Provider Namespace](https://learn.microsoft.com/azure/azure-resource-manager/management/azure-services-resource-providers) as recognized by the client.
///
/// # Examples
///
/// - `"Microsoft.Storage"`
/// - `"Microsoft.KeyVault"`
/// - `"Microsoft.ServiceBus"`
#[cfg(feature = "semconv_experimental")]
pub const AZ_NAMESPACE: &str = "az.namespace";
/// The unique identifier of the service request. It's generated by the Azure service and returned with the response.
///
/// # Examples
///
/// - `"00000000-0000-0000-0000-000000000000"`
#[cfg(feature = "semconv_experimental")]
pub const AZ_SERVICE_REQUEST_ID: &str = "az.service_request_id";
/// Array of brand name and version separated by a space
///
/// ## Notes
///
/// This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.brands`).
///
/// # Examples
///
/// - `[
/// " Not A;Brand 99",
/// "Chromium 99",
/// "Chrome 99",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const BROWSER_BRANDS: &str = "browser.brands";
/// Preferred language of the user using the browser
///
/// ## Notes
///
/// This value is intended to be taken from the Navigator API `navigator.language`.
///
/// # Examples
///
/// - `"en"`
/// - `"en-US"`
/// - `"fr"`
/// - `"fr-FR"`
#[cfg(feature = "semconv_experimental")]
pub const BROWSER_LANGUAGE: &str = "browser.language";
/// A boolean that is true if the browser is running on a mobile device
///
/// ## Notes
///
/// This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.mobile`). If unavailable, this attribute SHOULD be left unset
#[cfg(feature = "semconv_experimental")]
pub const BROWSER_MOBILE: &str = "browser.mobile";
/// The platform on which the browser is running
///
/// ## Notes
///
/// This value is intended to be taken from the [UA client hints API](https://wicg.github.io/ua-client-hints/#interface) (`navigator.userAgentData.platform`). If unavailable, the legacy `navigator.platform` API SHOULD NOT be used instead and this attribute SHOULD be left unset in order for the values to be consistent.
/// The list of possible values is defined in the [W3C User-Agent Client Hints specification](https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform). Note that some (but not all) of these values can overlap with values in the [`os.type` and `os.name` attributes](./os.md). However, for consistency, the values in the `browser.platform` attribute should capture the exact value that the user agent provides.
///
/// # Examples
///
/// - `"Windows"`
/// - `"macOS"`
/// - `"Android"`
#[cfg(feature = "semconv_experimental")]
pub const BROWSER_PLATFORM: &str = "browser.platform";
/// The human readable name of the pipeline within a CI/CD system.
///
/// # Examples
///
/// - `"Build and Test"`
/// - `"Lint"`
/// - `"Deploy Go Project"`
/// - `"deploy_to_environment"`
#[cfg(feature = "semconv_experimental")]
pub const CICD_PIPELINE_NAME: &str = "cicd.pipeline.name";
/// The unique identifier of a pipeline run within a CI/CD system.
///
/// # Examples
///
/// - `"120912"`
#[cfg(feature = "semconv_experimental")]
pub const CICD_PIPELINE_RUN_ID: &str = "cicd.pipeline.run.id";
/// The human readable name of a task within a pipeline. Task here most closely aligns with a [computing process](https://en.wikipedia.org/wiki/Pipeline_(computing)) in a pipeline. Other terms for tasks include commands, steps, and procedures.
///
/// # Examples
///
/// - `"Run GoLang Linter"`
/// - `"Go Build"`
/// - `"go-test"`
/// - `"deploy_binary"`
#[cfg(feature = "semconv_experimental")]
pub const CICD_PIPELINE_TASK_NAME: &str = "cicd.pipeline.task.name";
/// The unique identifier of a task run within a pipeline.
///
/// # Examples
///
/// - `"12097"`
#[cfg(feature = "semconv_experimental")]
pub const CICD_PIPELINE_TASK_RUN_ID: &str = "cicd.pipeline.task.run.id";
/// The [URL](https://en.wikipedia.org/wiki/URL) of the pipeline run providing the complete address in order to locate and identify the pipeline run.
///
/// # Examples
///
/// - `"https://github.com/open-telemetry/semantic-conventions/actions/runs/9753949763/job/26920038674?pr=1075"`
#[cfg(feature = "semconv_experimental")]
pub const CICD_PIPELINE_TASK_RUN_URL_FULL: &str = "cicd.pipeline.task.run.url.full";
/// The type of the task within a pipeline.
///
/// # Examples
///
/// - `"build"`
/// - `"test"`
/// - `"deploy"`
#[cfg(feature = "semconv_experimental")]
pub const CICD_PIPELINE_TASK_TYPE: &str = "cicd.pipeline.task.type";
/// Client address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
///
/// ## Notes
///
/// When observed from the server side, and when communicating through an intermediary, `client.address` SHOULD represent the client address behind any intermediaries, for example proxies, if it's available.
///
/// # Examples
///
/// - `"client.example.com"`
/// - `"10.1.2.80"`
/// - `"/tmp/my.sock"`
pub const CLIENT_ADDRESS: &str = "client.address";
/// Client port number.
///
/// ## Notes
///
/// When observed from the server side, and when communicating through an intermediary, `client.port` SHOULD represent the client port behind any intermediaries, for example proxies, if it's available.
///
/// # Examples
///
/// - `65123`
pub const CLIENT_PORT: &str = "client.port";
/// The cloud account ID the resource is assigned to.
///
/// # Examples
///
/// - `"111111111111"`
/// - `"opentelemetry"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUD_ACCOUNT_ID: &str = "cloud.account.id";
/// Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.
///
/// ## Notes
///
/// Availability zones are called "zones" on Alibaba Cloud and Google Cloud.
///
/// # Examples
///
/// - `"us-east-1c"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUD_AVAILABILITY_ZONE: &str = "cloud.availability_zone";
/// The cloud platform in use.
///
/// ## Notes
///
/// The prefix of the service SHOULD match the one specified in `cloud.provider`
#[cfg(feature = "semconv_experimental")]
pub const CLOUD_PLATFORM: &str = "cloud.platform";
/// Name of the cloud provider
#[cfg(feature = "semconv_experimental")]
pub const CLOUD_PROVIDER: &str = "cloud.provider";
/// The geographical region the resource is running.
///
/// ## Notes
///
/// Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/global-infrastructure/geographies/), [Google Cloud regions](https://cloud.google.com/about/locations), or [Tencent Cloud regions](https://www.tencentcloud.com/document/product/213/6091).
///
/// # Examples
///
/// - `"us-central1"`
/// - `"us-east-1"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUD_REGION: &str = "cloud.region";
/// Cloud provider-specific native identifier of the monitored cloud resource (e.g. an [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) on AWS, a [fully qualified resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on Azure, a [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) on GCP)
///
/// ## Notes
///
/// On some cloud providers, it may not be possible to determine the full ID at startup,
/// so it may be necessary to set `cloud.resource_id` as a span attribute instead.
///
/// The exact value to use for `cloud.resource_id` depends on the cloud provider.
/// The following well-known definitions MUST be used if you set this attribute and they apply:
///
/// - **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
/// Take care not to use the "invoked ARN" directly but replace any
/// [alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html)
/// with the resolved function version, as the same runtime instance may be invocable with
/// multiple different aliases.
/// - **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
/// - **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function,
/// *not* the function app, having the form
/// `/subscriptions/<SUBSCRIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>`.
/// This means that a span attribute MUST be used, as an Azure function app can host multiple functions that would usually share
/// a TracerProvider.
///
/// # Examples
///
/// - `"arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function"`
/// - `"//run.googleapis.com/projects/PROJECT_ID/locations/LOCATION_ID/services/SERVICE_ID"`
/// - `"/subscriptions/<SUBSCRIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUD_RESOURCE_ID: &str = "cloud.resource_id";
/// The [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id) uniquely identifies the event.
///
/// # Examples
///
/// - `"123e4567-e89b-12d3-a456-426614174000"`
/// - `"0001"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDEVENTS_EVENT_ID: &str = "cloudevents.event_id";
/// The [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1) identifies the context in which an event happened.
///
/// # Examples
///
/// - `"https://github.com/cloudevents"`
/// - `"/cloudevents/spec/pull/123"`
/// - `"my-service"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDEVENTS_EVENT_SOURCE: &str = "cloudevents.event_source";
/// The [version of the CloudEvents specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion) which the event uses.
///
/// # Examples
///
/// - `"1.0"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDEVENTS_EVENT_SPEC_VERSION: &str = "cloudevents.event_spec_version";
/// The [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject) of the event in the context of the event producer (identified by source).
///
/// # Examples
///
/// - `"mynewfile.jpg"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDEVENTS_EVENT_SUBJECT: &str = "cloudevents.event_subject";
/// The [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type) contains a value describing the type of event related to the originating occurrence.
///
/// # Examples
///
/// - `"com.github.pull_request.opened"`
/// - `"com.example.object.deleted.v2"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDEVENTS_EVENT_TYPE: &str = "cloudevents.event_type";
/// The guid of the application.
///
/// ## Notes
///
/// Application instrumentation should use the value from environment
/// variable `VCAP_APPLICATION.application_id`. This is the same value as
/// reported by `cf app <app-name> --guid`.
///
/// # Examples
///
/// - `"218fc5a9-a5f1-4b54-aa05-46717d0ab26d"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDFOUNDRY_APP_ID: &str = "cloudfoundry.app.id";
/// The index of the application instance. 0 when just one instance is active.
///
/// ## Notes
///
/// CloudFoundry defines the `instance_id` in the [Loggegator v2 envelope](https://github.com/cloudfoundry/loggregator-api#v2-envelope).
/// It is used for logs and metrics emitted by CloudFoundry. It is
/// supposed to contain the application instance index for applications
/// deployed on the runtime.
///
/// Application instrumentation should use the value from environment
/// variable `CF_INSTANCE_INDEX`.
///
/// # Examples
///
/// - `"0"`
/// - `"1"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDFOUNDRY_APP_INSTANCE_ID: &str = "cloudfoundry.app.instance.id";
/// The name of the application.
///
/// ## Notes
///
/// Application instrumentation should use the value from environment
/// variable `VCAP_APPLICATION.application_name`. This is the same value
/// as reported by `cf apps`.
///
/// # Examples
///
/// - `"my-app-name"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDFOUNDRY_APP_NAME: &str = "cloudfoundry.app.name";
/// The guid of the CloudFoundry org the application is running in.
///
/// ## Notes
///
/// Application instrumentation should use the value from environment
/// variable `VCAP_APPLICATION.org_id`. This is the same value as
/// reported by `cf org <org-name> --guid`.
///
/// # Examples
///
/// - `"218fc5a9-a5f1-4b54-aa05-46717d0ab26d"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDFOUNDRY_ORG_ID: &str = "cloudfoundry.org.id";
/// The name of the CloudFoundry organization the app is running in.
///
/// ## Notes
///
/// Application instrumentation should use the value from environment
/// variable `VCAP_APPLICATION.org_name`. This is the same value as
/// reported by `cf orgs`.
///
/// # Examples
///
/// - `"my-org-name"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDFOUNDRY_ORG_NAME: &str = "cloudfoundry.org.name";
/// The UID identifying the process.
///
/// ## Notes
///
/// Application instrumentation should use the value from environment
/// variable `VCAP_APPLICATION.process_id`. It is supposed to be equal to
/// `VCAP_APPLICATION.app_id` for applications deployed to the runtime.
/// For system components, this could be the actual PID.
///
/// # Examples
///
/// - `"218fc5a9-a5f1-4b54-aa05-46717d0ab26d"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDFOUNDRY_PROCESS_ID: &str = "cloudfoundry.process.id";
/// The type of process.
///
/// ## Notes
///
/// CloudFoundry applications can consist of multiple jobs. Usually the
/// main process will be of type `web`. There can be additional background
/// tasks or side-cars with different process types.
///
/// # Examples
///
/// - `"web"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDFOUNDRY_PROCESS_TYPE: &str = "cloudfoundry.process.type";
/// The guid of the CloudFoundry space the application is running in.
///
/// ## Notes
///
/// Application instrumentation should use the value from environment
/// variable `VCAP_APPLICATION.space_id`. This is the same value as
/// reported by `cf space <space-name> --guid`.
///
/// # Examples
///
/// - `"218fc5a9-a5f1-4b54-aa05-46717d0ab26d"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDFOUNDRY_SPACE_ID: &str = "cloudfoundry.space.id";
/// The name of the CloudFoundry space the application is running in.
///
/// ## Notes
///
/// Application instrumentation should use the value from environment
/// variable `VCAP_APPLICATION.space_name`. This is the same value as
/// reported by `cf spaces`.
///
/// # Examples
///
/// - `"my-space-name"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDFOUNDRY_SPACE_NAME: &str = "cloudfoundry.space.name";
/// A guid or another name describing the event source.
///
/// ## Notes
///
/// CloudFoundry defines the `source_id` in the [Loggregator v2 envelope](https://github.com/cloudfoundry/loggregator-api#v2-envelope).
/// It is used for logs and metrics emitted by CloudFoundry. It is
/// supposed to contain the component name, e.g. "gorouter", for
/// CloudFoundry components.
///
/// When system components are instrumented, values from the
/// [Bosh spec](https://bosh.io/docs/jobs/#properties-spec)
/// should be used. The `system.id` should be set to
/// `spec.deployment/spec.name`.
///
/// # Examples
///
/// - `"cf/gorouter"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDFOUNDRY_SYSTEM_ID: &str = "cloudfoundry.system.id";
/// A guid describing the concrete instance of the event source.
///
/// ## Notes
///
/// CloudFoundry defines the `instance_id` in the [Loggregator v2 envelope](https://github.com/cloudfoundry/loggregator-api#v2-envelope).
/// It is used for logs and metrics emitted by CloudFoundry. It is
/// supposed to contain the vm id for CloudFoundry components.
///
/// When system components are instrumented, values from the
/// [Bosh spec](https://bosh.io/docs/jobs/#properties-spec)
/// should be used. The `system.instance.id` should be set to `spec.id`.
///
/// # Examples
///
/// - `"218fc5a9-a5f1-4b54-aa05-46717d0ab26d"`
#[cfg(feature = "semconv_experimental")]
pub const CLOUDFOUNDRY_SYSTEM_INSTANCE_ID: &str = "cloudfoundry.system.instance.id";
/// The column number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`.
///
/// # Examples
///
/// - `16`
#[cfg(feature = "semconv_experimental")]
pub const CODE_COLUMN: &str = "code.column";
/// The source code file name that identifies the code unit as uniquely as possible (preferably an absolute file path).
///
/// # Examples
///
/// - `"/usr/local/MyApplication/content_root/app/index.php"`
#[cfg(feature = "semconv_experimental")]
pub const CODE_FILEPATH: &str = "code.filepath";
/// The method or function name, or equivalent (usually rightmost part of the code unit's name).
///
/// # Examples
///
/// - `"serveRequest"`
#[cfg(feature = "semconv_experimental")]
pub const CODE_FUNCTION: &str = "code.function";
/// The line number in `code.filepath` best representing the operation. It SHOULD point within the code unit named in `code.function`.
///
/// # Examples
///
/// - `42`
#[cfg(feature = "semconv_experimental")]
pub const CODE_LINENO: &str = "code.lineno";
/// The "namespace" within which `code.function` is defined. Usually the qualified class or module name, such that `code.namespace` + some separator + `code.function` form a unique identifier for the code unit.
///
/// # Examples
///
/// - `"com.example.MyHttpService"`
#[cfg(feature = "semconv_experimental")]
pub const CODE_NAMESPACE: &str = "code.namespace";
/// A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG.
///
/// # Examples
///
/// - `"at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at com.example.GenerateTrace.methodA(GenerateTrace.java:9)\\n at com.example.GenerateTrace.main(GenerateTrace.java:5)\n"`
#[cfg(feature = "semconv_experimental")]
pub const CODE_STACKTRACE: &str = "code.stacktrace";
/// The command used to run the container (i.e. the command name).
///
/// ## Notes
///
/// If using embedded credentials or sensitive data, it is recommended to remove them to prevent potential leakage.
///
/// # Examples
///
/// - `"otelcontribcol"`
#[cfg(feature = "semconv_experimental")]
pub const CONTAINER_COMMAND: &str = "container.command";
/// All the command arguments (including the command/executable itself) run by the container.
///
/// # Examples
///
/// - `[
/// "otelcontribcol",
/// "--config",
/// "config.yaml",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const CONTAINER_COMMAND_ARGS: &str = "container.command_args";
/// The full command run by the container as a single string representing the full command.
///
/// # Examples
///
/// - `"otelcontribcol --config config.yaml"`
#[cfg(feature = "semconv_experimental")]
pub const CONTAINER_COMMAND_LINE: &str = "container.command_line";
/// Deprecated, use `cpu.mode` instead.
///
/// # Examples
///
/// - `"user"`
/// - `"kernel"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `cpu.mode`")]
pub const CONTAINER_CPU_STATE: &str = "container.cpu.state";
/// The name of the CSI ([Container Storage Interface](https://github.com/container-storage-interface/spec)) plugin used by the volume.
///
/// ## Notes
///
/// This can sometimes be referred to as a "driver" in CSI implementations. This should represent the `name` field of the GetPluginInfo RPC.
///
/// # Examples
///
/// - `"pd.csi.storage.gke.io"`
#[cfg(feature = "semconv_experimental")]
pub const CONTAINER_CSI_PLUGIN_NAME: &str = "container.csi.plugin.name";
/// The unique volume ID returned by the CSI ([Container Storage Interface](https://github.com/container-storage-interface/spec)) plugin.
///
/// ## Notes
///
/// This can sometimes be referred to as a "volume handle" in CSI implementations. This should represent the `Volume.volume_id` field in CSI spec.
///
/// # Examples
///
/// - `"projects/my-gcp-project/zones/my-gcp-zone/disks/my-gcp-disk"`
#[cfg(feature = "semconv_experimental")]
pub const CONTAINER_CSI_VOLUME_ID: &str = "container.csi.volume.id";
/// Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/containers/run/#container-identification). The UUID might be abbreviated.
///
/// # Examples
///
/// - `"a3bf90e006b2"`
#[cfg(feature = "semconv_experimental")]
pub const CONTAINER_ID: &str = "container.id";
/// Runtime specific image identifier. Usually a hash algorithm followed by a UUID.
///
/// ## Notes
///
/// Docker defines a sha256 of the image id; `container.image.id` corresponds to the `Image` field from the Docker container inspect [API](https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerInspect) endpoint.
/// K8s defines a link to the container registry repository with digest `"imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`.
/// The ID is assigned by the container runtime and can vary in different environments. Consider using `oci.manifest.digest` if it is important to identify the same image in different environments/runtimes.
///
/// # Examples
///
/// - `"sha256:19c92d0a00d1b66d897bceaa7319bee0dd38a10a851c60bcec9474aa3f01e50f"`
#[cfg(feature = "semconv_experimental")]
pub const CONTAINER_IMAGE_ID: &str = "container.image.id";
/// Name of the image the container was built on.
///
/// # Examples
///
/// - `"gcr.io/opentelemetry/operator"`
#[cfg(feature = "semconv_experimental")]
pub const CONTAINER_IMAGE_NAME: &str = "container.image.name";
/// Repo digests of the container image as provided by the container runtime.
///
/// ## Notes
///
/// [Docker](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect) and [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238) report those under the `RepoDigests` field.
///
/// # Examples
///
/// - `[
/// "example@sha256:afcc7f1ac1b49db317a7196c902e61c6c3c4607d63599ee1a82d702d249a0ccb",
/// "internal.registry.example.com:5000/example@sha256:b69959407d21e8a062e0416bf13405bb2b71ed7a84dde4158ebafacfa06f5578",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const CONTAINER_IMAGE_REPO_DIGESTS: &str = "container.image.repo_digests";
/// Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `<tag>` section of the full name for example from `registry.example.com/my-org/my-image:<tag>`.
///
/// # Examples
///
/// - `[
/// "v1.27.1",
/// "3.5.7-0",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const CONTAINER_IMAGE_TAGS: &str = "container.image.tags";
/// Container labels, `<key>` being the label name, the value being the label value.
///
/// # Examples
///
/// - `"container.label.app=nginx"`
#[cfg(feature = "semconv_experimental")]
pub const CONTAINER_LABEL: &str = "container.label";
/// Deprecated, use `container.label` instead.
///
/// # Examples
///
/// - `"container.label.app=nginx"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `container.label`.")]
pub const CONTAINER_LABELS: &str = "container.labels";
/// Container name used by container runtime.
///
/// # Examples
///
/// - `"opentelemetry-autoconf"`
#[cfg(feature = "semconv_experimental")]
pub const CONTAINER_NAME: &str = "container.name";
/// The container runtime managing this container.
///
/// # Examples
///
/// - `"docker"`
/// - `"containerd"`
/// - `"rkt"`
#[cfg(feature = "semconv_experimental")]
pub const CONTAINER_RUNTIME: &str = "container.runtime";
/// The mode of the CPU
///
/// # Examples
///
/// - `"user"`
/// - `"system"`
#[cfg(feature = "semconv_experimental")]
pub const CPU_MODE: &str = "cpu.mode";
/// The consistency level of the query. Based on consistency values from [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html)
#[cfg(feature = "semconv_experimental")]
pub const DB_CASSANDRA_CONSISTENCY_LEVEL: &str = "db.cassandra.consistency_level";
/// The data center of the coordinating node for a query.
///
/// # Examples
///
/// - `"us-west-2"`
#[cfg(feature = "semconv_experimental")]
pub const DB_CASSANDRA_COORDINATOR_DC: &str = "db.cassandra.coordinator.dc";
/// The ID of the coordinating node for a query.
///
/// # Examples
///
/// - `"be13faa2-8574-4d71-926d-27f16cf8a7af"`
#[cfg(feature = "semconv_experimental")]
pub const DB_CASSANDRA_COORDINATOR_ID: &str = "db.cassandra.coordinator.id";
/// Whether or not the query is idempotent
#[cfg(feature = "semconv_experimental")]
pub const DB_CASSANDRA_IDEMPOTENCE: &str = "db.cassandra.idempotence";
/// The fetch size used for paging, i.e. how many rows will be returned at once.
///
/// # Examples
///
/// - `5000`
#[cfg(feature = "semconv_experimental")]
pub const DB_CASSANDRA_PAGE_SIZE: &str = "db.cassandra.page_size";
/// The number of times a query was speculatively executed. Not set or `0` if the query was not executed speculatively.
///
/// # Examples
///
/// - `0`
/// - `2`
#[cfg(feature = "semconv_experimental")]
pub const DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT: &str =
"db.cassandra.speculative_execution_count";
/// Deprecated, use `db.collection.name` instead.
///
/// # Examples
///
/// - `"mytable"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `db.collection.name`.")]
pub const DB_CASSANDRA_TABLE: &str = "db.cassandra.table";
/// The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation SHOULD use a combination of parameters that would make the name unique, for example, combining attributes `server.address`, `server.port`, and `db.namespace`, formatted as `server.address:server.port/db.namespace`. Instrumentations that generate connection pool name following different patterns SHOULD document it.
///
/// # Examples
///
/// - `"myDataSource"`
#[cfg(feature = "semconv_experimental")]
pub const DB_CLIENT_CONNECTION_POOL_NAME: &str = "db.client.connection.pool.name";
/// The state of a connection in the pool
///
/// # Examples
///
/// - `"idle"`
#[cfg(feature = "semconv_experimental")]
pub const DB_CLIENT_CONNECTION_STATE: &str = "db.client.connection.state";
/// Deprecated, use `db.client.connection.pool.name` instead.
///
/// # Examples
///
/// - `"myDataSource"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `db.client.connection.pool.name`.")]
pub const DB_CLIENT_CONNECTIONS_POOL_NAME: &str = "db.client.connections.pool.name";
/// Deprecated, use `db.client.connection.state` instead.
///
/// # Examples
///
/// - `"idle"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `db.client.connection.state`.")]
pub const DB_CLIENT_CONNECTIONS_STATE: &str = "db.client.connections.state";
/// The name of a collection (table, container) within the database.
///
/// ## Notes
///
/// It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization.
/// If the collection name is parsed from the query text, it SHOULD be the first collection name found in the query and it SHOULD match the value provided in the query text including any schema and database name prefix.
/// For batch operations, if the individual operations are known to have the same collection name then that collection name SHOULD be used, otherwise `db.collection.name` SHOULD NOT be captured.
/// This attribute has stability level RELEASE CANDIDATE.
///
/// # Examples
///
/// - `"public.users"`
/// - `"customers"`
#[cfg(feature = "semconv_experimental")]
pub const DB_COLLECTION_NAME: &str = "db.collection.name";
/// Deprecated, use `server.address`, `server.port` attributes instead.
///
/// # Examples
///
/// - `"Server=(localdb)\\v11.0;Integrated Security=true;"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `server.address` and `server.port`.")]
pub const DB_CONNECTION_STRING: &str = "db.connection_string";
/// Unique Cosmos client instance id.
///
/// # Examples
///
/// - `"3ba4827d-4422-483f-b59f-85b74211c11d"`
#[cfg(feature = "semconv_experimental")]
pub const DB_COSMOSDB_CLIENT_ID: &str = "db.cosmosdb.client_id";
/// Cosmos client connection mode
#[cfg(feature = "semconv_experimental")]
pub const DB_COSMOSDB_CONNECTION_MODE: &str = "db.cosmosdb.connection_mode";
/// Deprecated, use `db.collection.name` instead.
///
/// # Examples
///
/// - `"mytable"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `db.collection.name`.")]
pub const DB_COSMOSDB_CONTAINER: &str = "db.cosmosdb.container";
/// Cosmos DB Operation Type
#[cfg(feature = "semconv_experimental")]
pub const DB_COSMOSDB_OPERATION_TYPE: &str = "db.cosmosdb.operation_type";
/// RU consumed for that operation
///
/// # Examples
///
/// - `46.18`
/// - `1.0`
#[cfg(feature = "semconv_experimental")]
pub const DB_COSMOSDB_REQUEST_CHARGE: &str = "db.cosmosdb.request_charge";
/// Request payload size in bytes
#[cfg(feature = "semconv_experimental")]
pub const DB_COSMOSDB_REQUEST_CONTENT_LENGTH: &str = "db.cosmosdb.request_content_length";
/// Deprecated, use `db.response.status_code` instead.
///
/// # Examples
///
/// - `200`
/// - `201`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `db.response.status_code`.")]
pub const DB_COSMOSDB_STATUS_CODE: &str = "db.cosmosdb.status_code";
/// Cosmos DB sub status code.
///
/// # Examples
///
/// - `1000`
/// - `1002`
#[cfg(feature = "semconv_experimental")]
pub const DB_COSMOSDB_SUB_STATUS_CODE: &str = "db.cosmosdb.sub_status_code";
/// Deprecated, use `db.namespace` instead.
///
/// # Examples
///
/// - `"e9106fc68e3044f0b1475b04bf4ffd5f"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `db.namespace`.")]
pub const DB_ELASTICSEARCH_CLUSTER_NAME: &str = "db.elasticsearch.cluster.name";
/// Represents the human-readable identifier of the node/instance to which a request was routed.
///
/// # Examples
///
/// - `"instance-0000000001"`
#[cfg(feature = "semconv_experimental")]
pub const DB_ELASTICSEARCH_NODE_NAME: &str = "db.elasticsearch.node.name";
/// A dynamic value in the url path.
///
/// ## Notes
///
/// Many Elasticsearch url paths allow dynamic values. These SHOULD be recorded in span attributes in the format `db.elasticsearch.path_parts.<key>`, where `<key>` is the url path part name. The implementation SHOULD reference the [elasticsearch schema](https://raw.githubusercontent.com/elastic/elasticsearch-specification/main/output/schema/schema.json) in order to map the path part values to their names.
///
/// # Examples
///
/// - `"db.elasticsearch.path_parts.index=test-index"`
/// - `"db.elasticsearch.path_parts.doc_id=123"`
#[cfg(feature = "semconv_experimental")]
pub const DB_ELASTICSEARCH_PATH_PARTS: &str = "db.elasticsearch.path_parts";
/// Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead.
///
/// # Examples
///
/// - `"mysql-e26b99z.example.com"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(
note = "Deprecated, no general replacement at this time. For Elasticsearch, use `db.elasticsearch.node.name` instead."
)]
pub const DB_INSTANCE_ID: &str = "db.instance.id";
/// Removed, no replacement at this time.
///
/// # Examples
///
/// - `"org.postgresql.Driver"`
/// - `"com.microsoft.sqlserver.jdbc.SQLServerDriver"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Removed as not used.")]
pub const DB_JDBC_DRIVER_CLASSNAME: &str = "db.jdbc.driver_classname";
/// Deprecated, use `db.collection.name` instead.
///
/// # Examples
///
/// - `"mytable"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `db.collection.name`.")]
pub const DB_MONGODB_COLLECTION: &str = "db.mongodb.collection";
/// Deprecated, SQL Server instance is now populated as a part of `db.namespace` attribute.
///
/// # Examples
///
/// - `"MSSQLSERVER"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Deprecated, no replacement at this time.")]
pub const DB_MSSQL_INSTANCE_NAME: &str = "db.mssql.instance_name";
/// Deprecated, use `db.namespace` instead.
///
/// # Examples
///
/// - `"customers"`
/// - `"main"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `db.namespace`.")]
pub const DB_NAME: &str = "db.name";
/// The name of the database, fully qualified within the server address and port.
///
/// ## Notes
///
/// If a database system has multiple namespace components, they SHOULD be concatenated (potentially using database system specific conventions) from most general to most specific namespace component, and more specific namespaces SHOULD NOT be captured without the more general namespaces, to ensure that "startswith" queries for the more general namespaces will be valid.
/// Semantic conventions for individual database systems SHOULD document what `db.namespace` means in the context of that system.
/// It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization.
/// This attribute has stability level RELEASE CANDIDATE.
///
/// # Examples
///
/// - `"customers"`
/// - `"test.users"`
#[cfg(feature = "semconv_experimental")]
pub const DB_NAMESPACE: &str = "db.namespace";
/// Deprecated, use `db.operation.name` instead.
///
/// # Examples
///
/// - `"findAndModify"`
/// - `"HMSET"`
/// - `"SELECT"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `db.operation.name`.")]
pub const DB_OPERATION: &str = "db.operation";
/// The number of queries included in a batch operation.
///
/// ## Notes
///
/// Operations are only considered batches when they contain two or more operations, and so `db.operation.batch.size` SHOULD never be `1`.
/// This attribute has stability level RELEASE CANDIDATE.
///
/// # Examples
///
/// - `2`
/// - `3`
/// - `4`
#[cfg(feature = "semconv_experimental")]
pub const DB_OPERATION_BATCH_SIZE: &str = "db.operation.batch.size";
/// The name of the operation or command being executed.
///
/// ## Notes
///
/// It is RECOMMENDED to capture the value as provided by the application without attempting to do any case normalization.
/// If the operation name is parsed from the query text, it SHOULD be the first operation name found in the query.
/// For batch operations, if the individual operations are known to have the same operation name then that operation name SHOULD be used prepended by `BATCH `, otherwise `db.operation.name` SHOULD be `BATCH` or some other database system specific term if more applicable.
/// This attribute has stability level RELEASE CANDIDATE.
///
/// # Examples
///
/// - `"findAndModify"`
/// - `"HMSET"`
/// - `"SELECT"`
#[cfg(feature = "semconv_experimental")]
pub const DB_OPERATION_NAME: &str = "db.operation.name";
/// A query parameter used in `db.query.text`, with `<key>` being the parameter name, and the attribute value being a string representation of the parameter value.
///
/// ## Notes
///
/// Query parameters should only be captured when `db.query.text` is parameterized with placeholders.
/// If a parameter has no name and instead is referenced only by index, then `<key>` SHOULD be the 0-based index.
/// This attribute has stability level RELEASE CANDIDATE.
///
/// # Examples
///
/// - `"someval"`
/// - `"55"`
#[cfg(feature = "semconv_experimental")]
pub const DB_QUERY_PARAMETER: &str = "db.query.parameter";
/// The database query being executed.
///
/// ## Notes
///
/// For sanitization see [Sanitization of `db.query.text`](../../docs/database/database-spans.md#sanitization-of-dbquerytext).
/// For batch operations, if the individual operations are known to have the same query text then that query text SHOULD be used, otherwise all of the individual query texts SHOULD be concatenated with separator `; ` or some other database system specific separator if more applicable.
/// Even though parameterized query text can potentially have sensitive data, by using a parameterized query the user is giving a strong signal that any sensitive data will be passed as parameter values, and the benefit to observability of capturing the static part of the query text by default outweighs the risk.
/// This attribute has stability level RELEASE CANDIDATE.
///
/// # Examples
///
/// - `"SELECT * FROM wuser_table where username = ?"`
/// - `"SET mykey \"WuValue\""`
#[cfg(feature = "semconv_experimental")]
pub const DB_QUERY_TEXT: &str = "db.query.text";
/// Deprecated, use `db.namespace` instead.
///
/// # Examples
///
/// - `0`
/// - `1`
/// - `15`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `db.namespace`.")]
pub const DB_REDIS_DATABASE_INDEX: &str = "db.redis.database_index";
/// Database response status code.
///
/// ## Notes
///
/// The status code returned by the database. Usually it represents an error code, but may also represent partial success, warning, or differentiate between various types of successful outcomes.
/// Semantic conventions for individual database systems SHOULD document what `db.response.status_code` means in the context of that system.
/// This attribute has stability level RELEASE CANDIDATE.
///
/// # Examples
///
/// - `"102"`
/// - `"ORA-17002"`
/// - `"08P01"`
/// - `"404"`
#[cfg(feature = "semconv_experimental")]
pub const DB_RESPONSE_STATUS_CODE: &str = "db.response.status_code";
/// Deprecated, use `db.collection.name` instead.
///
/// # Examples
///
/// - `"mytable"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `db.collection.name`.")]
pub const DB_SQL_TABLE: &str = "db.sql.table";
/// The database statement being executed.
///
/// # Examples
///
/// - `"SELECT * FROM wuser_table"`
/// - `"SET mykey \"WuValue\""`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `db.query.text`.")]
pub const DB_STATEMENT: &str = "db.statement";
/// The database management system (DBMS) product as identified by the client instrumentation.
///
/// ## Notes
///
/// The actual DBMS may differ from the one identified by the client. For example, when using PostgreSQL client libraries to connect to a CockroachDB, the `db.system` is set to `postgresql` based on the instrumentation's best knowledge.
/// This attribute has stability level RELEASE CANDIDATE
#[cfg(feature = "semconv_experimental")]
pub const DB_SYSTEM: &str = "db.system";
/// Deprecated, no replacement at this time.
///
/// # Examples
///
/// - `"readonly_user"`
/// - `"reporting_user"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "No replacement at this time.")]
pub const DB_USER: &str = "db.user";
/// 'Deprecated, use `deployment.environment.name` instead.'
///
/// # Examples
///
/// - `"staging"`
/// - `"production"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Deprecated, use `deployment.environment.name` instead.")]
pub const DEPLOYMENT_ENVIRONMENT: &str = "deployment.environment";
/// Name of the [deployment environment](https://wikipedia.org/wiki/Deployment_environment) (aka deployment tier).
///
/// ## Notes
///
/// `deployment.environment.name` does not affect the uniqueness constraints defined through
/// the `service.namespace`, `service.name` and `service.instance.id` resource attributes.
/// This implies that resources carrying the following attribute combinations MUST be
/// considered to be identifying the same service:
///
/// - `service.name=frontend`, `deployment.environment.name=production`
/// - `service.name=frontend`, `deployment.environment.name=staging`.
///
/// # Examples
///
/// - `"staging"`
/// - `"production"`
#[cfg(feature = "semconv_experimental")]
pub const DEPLOYMENT_ENVIRONMENT_NAME: &str = "deployment.environment.name";
/// The id of the deployment.
///
/// # Examples
///
/// - `"1208"`
#[cfg(feature = "semconv_experimental")]
pub const DEPLOYMENT_ID: &str = "deployment.id";
/// The name of the deployment.
///
/// # Examples
///
/// - `"deploy my app"`
/// - `"deploy-frontend"`
#[cfg(feature = "semconv_experimental")]
pub const DEPLOYMENT_NAME: &str = "deployment.name";
/// The status of the deployment
#[cfg(feature = "semconv_experimental")]
pub const DEPLOYMENT_STATUS: &str = "deployment.status";
/// Destination address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
///
/// ## Notes
///
/// When observed from the source side, and when communicating through an intermediary, `destination.address` SHOULD represent the destination address behind any intermediaries, for example proxies, if it's available.
///
/// # Examples
///
/// - `"destination.example.com"`
/// - `"10.1.2.80"`
/// - `"/tmp/my.sock"`
#[cfg(feature = "semconv_experimental")]
pub const DESTINATION_ADDRESS: &str = "destination.address";
/// Destination port number
///
/// # Examples
///
/// - `3389`
/// - `2888`
#[cfg(feature = "semconv_experimental")]
pub const DESTINATION_PORT: &str = "destination.port";
/// A unique identifier representing the device
///
/// ## Notes
///
/// The device identifier MUST only be defined using the values outlined below. This value is not an advertising identifier and MUST NOT be used as such. On iOS (Swift or Objective-C), this value MUST be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value MUST be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence.
///
/// # Examples
///
/// - `"2ab2916d-a51f-4ac8-80ee-45ac31a28092"`
#[cfg(feature = "semconv_experimental")]
pub const DEVICE_ID: &str = "device.id";
/// The name of the device manufacturer
///
/// ## Notes
///
/// The Android OS provides this field via [Build](https://developer.android.com/reference/android/os/Build#MANUFACTURER). iOS apps SHOULD hardcode the value `Apple`.
///
/// # Examples
///
/// - `"Apple"`
/// - `"Samsung"`
#[cfg(feature = "semconv_experimental")]
pub const DEVICE_MANUFACTURER: &str = "device.manufacturer";
/// The model identifier for the device
///
/// ## Notes
///
/// It's recommended this value represents a machine-readable version of the model identifier rather than the market or consumer-friendly name of the device.
///
/// # Examples
///
/// - `"iPhone3,4"`
/// - `"SM-G920F"`
#[cfg(feature = "semconv_experimental")]
pub const DEVICE_MODEL_IDENTIFIER: &str = "device.model.identifier";
/// The marketing name for the device model
///
/// ## Notes
///
/// It's recommended this value represents a human-readable version of the device model rather than a machine-readable alternative.
///
/// # Examples
///
/// - `"iPhone 6s Plus"`
/// - `"Samsung Galaxy S6"`
#[cfg(feature = "semconv_experimental")]
pub const DEVICE_MODEL_NAME: &str = "device.model.name";
/// The disk IO operation direction.
///
/// # Examples
///
/// - `"read"`
#[cfg(feature = "semconv_experimental")]
pub const DISK_IO_DIRECTION: &str = "disk.io.direction";
/// The name being queried.
///
/// ## Notes
///
/// If the name field contains non-printable characters (below 32 or above 126), those characters should be represented as escaped base 10 integers (\DDD). Back slashes and quotes should be escaped. Tabs, carriage returns, and line feeds should be converted to \t, \r, and \n respectively.
///
/// # Examples
///
/// - `"www.example.com"`
/// - `"opentelemetry.io"`
#[cfg(feature = "semconv_experimental")]
pub const DNS_QUESTION_NAME: &str = "dns.question.name";
/// Name of the garbage collector managed heap generation.
///
/// # Examples
///
/// - `"gen0"`
/// - `"gen1"`
/// - `"gen2"`
#[cfg(feature = "semconv_experimental")]
pub const DOTNET_GC_HEAP_GENERATION: &str = "dotnet.gc.heap.generation";
/// Deprecated, use `user.id` instead.
///
/// # Examples
///
/// - `"username"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `user.id` attribute.")]
pub const ENDUSER_ID: &str = "enduser.id";
/// Deprecated, use `user.roles` instead.
///
/// # Examples
///
/// - `"admin"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `user.roles` attribute.")]
pub const ENDUSER_ROLE: &str = "enduser.role";
/// Deprecated, no replacement at this time.
///
/// # Examples
///
/// - `"read:message, write:files"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Removed.")]
pub const ENDUSER_SCOPE: &str = "enduser.scope";
/// Describes a class of error the operation ended with.
///
/// ## Notes
///
/// The `error.type` SHOULD be predictable, and SHOULD have low cardinality.
///
/// When `error.type` is set to a type (e.g., an exception type), its
/// canonical class name identifying the type within the artifact SHOULD be used.
///
/// Instrumentations SHOULD document the list of errors they report.
///
/// The cardinality of `error.type` within one instrumentation library SHOULD be low.
/// Telemetry consumers that aggregate data from multiple instrumentation libraries and applications
/// should be prepared for `error.type` to have high cardinality at query time when no
/// additional filters are applied.
///
/// If the operation has completed successfully, instrumentations SHOULD NOT set `error.type`.
///
/// If a specific domain defines its own set of error identifiers (such as HTTP or gRPC status codes),
/// it's RECOMMENDED to:
///
/// - Use a domain-specific attribute
/// - Set `error.type` to capture all errors, regardless of whether they are defined within the domain-specific set or not.
///
/// # Examples
///
/// - `"timeout"`
/// - `"java.net.UnknownHostException"`
/// - `"server_certificate_invalid"`
/// - `"500"`
pub const ERROR_TYPE: &str = "error.type";
/// Identifies the class / type of event.
///
/// ## Notes
///
/// Event names are subject to the same rules as [attribute names](/docs/general/attribute-naming.md). Notably, event names are namespaced to avoid collisions and provide a clean separation of semantics for events in separate domains like browser, mobile, and kubernetes.
///
/// # Examples
///
/// - `"browser.mouse.click"`
/// - `"device.app.lifecycle"`
#[cfg(feature = "semconv_experimental")]
pub const EVENT_NAME: &str = "event.name";
/// SHOULD be set to true if the exception event is recorded at a point where it is known that the exception is escaping the scope of the span.
///
/// ## Notes
///
/// An exception is considered to have escaped (or left) the scope of a span,
/// if that span is ended while the exception is still logically "in flight".
/// This may be actually "in flight" in some languages (e.g. if the exception
/// is passed to a Context manager's `__exit__` method in Python) but will
/// usually be caught at the point of recording the exception in most languages.
///
/// It is usually not possible to determine at the point where an exception is thrown
/// whether it will escape the scope of a span.
/// However, it is trivial to know that an exception
/// will escape, if one checks for an active exception just before ending the span,
/// as done in the [example for recording span exceptions](https://opentelemetry.io/docs/specs/semconv/exceptions/exceptions-spans/#recording-an-exception).
///
/// It follows that an exception may still escape the scope of the span
/// even if the `exception.escaped` attribute was not set or set to false,
/// since the event might have been recorded at a time where it was not
/// clear whether the exception will escape
pub const EXCEPTION_ESCAPED: &str = "exception.escaped";
/// The exception message.
///
/// # Examples
///
/// - `"Division by zero"`
/// - `"Can't convert 'int' object to str implicitly"`
pub const EXCEPTION_MESSAGE: &str = "exception.message";
/// A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG.
///
/// # Examples
///
/// - `"Exception in thread \"main\" java.lang.RuntimeException: Test exception\\n at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at com.example.GenerateTrace.methodA(GenerateTrace.java:9)\\n at com.example.GenerateTrace.main(GenerateTrace.java:5)\n"`
pub const EXCEPTION_STACKTRACE: &str = "exception.stacktrace";
/// The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it.
///
/// # Examples
///
/// - `"java.net.ConnectException"`
/// - `"OSError"`
pub const EXCEPTION_TYPE: &str = "exception.type";
/// A boolean that is true if the serverless function is executed for the first time (aka cold-start)
#[cfg(feature = "semconv_experimental")]
pub const FAAS_COLDSTART: &str = "faas.coldstart";
/// A string containing the schedule period as [Cron Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm).
///
/// # Examples
///
/// - `"0/5 * * * ? *"`
#[cfg(feature = "semconv_experimental")]
pub const FAAS_CRON: &str = "faas.cron";
/// The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name.
///
/// # Examples
///
/// - `"myBucketName"`
/// - `"myDbName"`
#[cfg(feature = "semconv_experimental")]
pub const FAAS_DOCUMENT_COLLECTION: &str = "faas.document.collection";
/// The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name.
///
/// # Examples
///
/// - `"myFile.txt"`
/// - `"myTableName"`
#[cfg(feature = "semconv_experimental")]
pub const FAAS_DOCUMENT_NAME: &str = "faas.document.name";
/// Describes the type of the operation that was performed on the data
#[cfg(feature = "semconv_experimental")]
pub const FAAS_DOCUMENT_OPERATION: &str = "faas.document.operation";
/// A string containing the time when the data was accessed in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime).
///
/// # Examples
///
/// - `"2020-01-23T13:47:06Z"`
#[cfg(feature = "semconv_experimental")]
pub const FAAS_DOCUMENT_TIME: &str = "faas.document.time";
/// The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.
///
/// ## Notes
///
/// - **AWS Lambda:** Use the (full) log stream name.
///
/// # Examples
///
/// - `"2021/06/28/[$LATEST]2f399eb14537447da05ab2a2e39309de"`
#[cfg(feature = "semconv_experimental")]
pub const FAAS_INSTANCE: &str = "faas.instance";
/// The invocation ID of the current function invocation.
///
/// # Examples
///
/// - `"af9d5aa4-a685-4c5f-a22b-444f80b3cc28"`
#[cfg(feature = "semconv_experimental")]
pub const FAAS_INVOCATION_ID: &str = "faas.invocation_id";
/// The name of the invoked function.
///
/// ## Notes
///
/// SHOULD be equal to the `faas.name` resource attribute of the invoked function.
///
/// # Examples
///
/// - `"my-function"`
#[cfg(feature = "semconv_experimental")]
pub const FAAS_INVOKED_NAME: &str = "faas.invoked_name";
/// The cloud provider of the invoked function.
///
/// ## Notes
///
/// SHOULD be equal to the `cloud.provider` resource attribute of the invoked function
#[cfg(feature = "semconv_experimental")]
pub const FAAS_INVOKED_PROVIDER: &str = "faas.invoked_provider";
/// The cloud region of the invoked function.
///
/// ## Notes
///
/// SHOULD be equal to the `cloud.region` resource attribute of the invoked function.
///
/// # Examples
///
/// - `"eu-central-1"`
#[cfg(feature = "semconv_experimental")]
pub const FAAS_INVOKED_REGION: &str = "faas.invoked_region";
/// The amount of memory available to the serverless function converted to Bytes.
///
/// ## Notes
///
/// It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information (which must be multiplied by 1,048,576).
///
/// # Examples
///
/// - `134217728`
#[cfg(feature = "semconv_experimental")]
pub const FAAS_MAX_MEMORY: &str = "faas.max_memory";
/// The name of the single function that this runtime instance executes.
///
/// ## Notes
///
/// This is the name of the function as configured/deployed on the FaaS
/// platform and is usually different from the name of the callback
/// function (which may be stored in the
/// [`code.namespace`/`code.function`](/docs/general/attributes.md#source-code-attributes)
/// span attributes).
///
/// For some cloud providers, the above definition is ambiguous. The following
/// definition of function name MUST be used for this attribute
/// (and consequently the span name) for the listed cloud providers/products:
///
/// - **Azure:** The full name `<FUNCAPP>/<FUNC>`, i.e., function app name
/// followed by a forward slash followed by the function name (this form
/// can also be seen in the resource JSON for the function).
/// This means that a span attribute MUST be used, as an Azure function
/// app can host multiple functions that would usually share
/// a TracerProvider (see also the `cloud.resource_id` attribute).
///
/// # Examples
///
/// - `"my-function"`
/// - `"myazurefunctionapp/some-function-name"`
#[cfg(feature = "semconv_experimental")]
pub const FAAS_NAME: &str = "faas.name";
/// A string containing the function invocation time in the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format expressed in [UTC](https://www.w3.org/TR/NOTE-datetime).
///
/// # Examples
///
/// - `"2020-01-23T13:47:06Z"`
#[cfg(feature = "semconv_experimental")]
pub const FAAS_TIME: &str = "faas.time";
/// Type of the trigger which caused this function invocation
#[cfg(feature = "semconv_experimental")]
pub const FAAS_TRIGGER: &str = "faas.trigger";
/// The immutable version of the function being executed.
///
/// ## Notes
///
/// Depending on the cloud provider and platform, use:
///
/// - **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html)
/// (an integer represented as a decimal string).
/// - **Google Cloud Run (Services):** The [revision](https://cloud.google.com/run/docs/managing/revisions)
/// (i.e., the function name plus the revision suffix).
/// - **Google Cloud Functions:** The value of the
/// [`K_REVISION` environment variable](https://cloud.google.com/functions/docs/env-var#runtime_environment_variables_set_automatically).
/// - **Azure Functions:** Not applicable. Do not set this attribute.
///
/// # Examples
///
/// - `"26"`
/// - `"pinkfroid-00002"`
#[cfg(feature = "semconv_experimental")]
pub const FAAS_VERSION: &str = "faas.version";
/// The unique identifier of the feature flag.
///
/// # Examples
///
/// - `"logo-color"`
#[cfg(feature = "semconv_experimental")]
pub const FEATURE_FLAG_KEY: &str = "feature_flag.key";
/// The name of the service provider that performs the flag evaluation.
///
/// # Examples
///
/// - `"Flag Manager"`
#[cfg(feature = "semconv_experimental")]
pub const FEATURE_FLAG_PROVIDER_NAME: &str = "feature_flag.provider_name";
/// SHOULD be a semantic identifier for a value. If one is unavailable, a stringified version of the value can be used.
///
/// ## Notes
///
/// A semantic identifier, commonly referred to as a variant, provides a means
/// for referring to a value without including the value itself. This can
/// provide additional context for understanding the meaning behind a value.
/// For example, the variant `red` maybe be used for the value `#c05543`.
///
/// A stringified version of the value can be used in situations where a
/// semantic identifier is unavailable. String representation of the value
/// should be determined by the implementer.
///
/// # Examples
///
/// - `"red"`
/// - `"true"`
/// - `"on"`
#[cfg(feature = "semconv_experimental")]
pub const FEATURE_FLAG_VARIANT: &str = "feature_flag.variant";
/// Time when the file was last accessed, in ISO 8601 format.
///
/// ## Notes
///
/// This attribute might not be supported by some file systems — NFS, FAT32, in embedded OS, etc.
///
/// # Examples
///
/// - `"2021-01-01T12:00:00Z"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_ACCESSED: &str = "file.accessed";
/// Array of file attributes.
///
/// ## Notes
///
/// Attributes names depend on the OS or file system. Here’s a non-exhaustive list of values expected for this attribute: `archive`, `compressed`, `directory`, `encrypted`, `execute`, `hidden`, `immutable`, `journaled`, `read`, `readonly`, `symbolic link`, `system`, `temporary`, `write`.
///
/// # Examples
///
/// - `[
/// "readonly",
/// "hidden",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const FILE_ATTRIBUTES: &str = "file.attributes";
/// Time when the file attributes or metadata was last changed, in ISO 8601 format.
///
/// ## Notes
///
/// `file.changed` captures the time when any of the file's properties or attributes (including the content) are changed, while `file.modified` captures the timestamp when the file content is modified.
///
/// # Examples
///
/// - `"2021-01-01T12:00:00Z"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_CHANGED: &str = "file.changed";
/// Time when the file was created, in ISO 8601 format.
///
/// ## Notes
///
/// This attribute might not be supported by some file systems — NFS, FAT32, in embedded OS, etc.
///
/// # Examples
///
/// - `"2021-01-01T12:00:00Z"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_CREATED: &str = "file.created";
/// Directory where the file is located. It should include the drive letter, when appropriate.
///
/// # Examples
///
/// - `"/home/user"`
/// - `"C:\\Program Files\\MyApp"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_DIRECTORY: &str = "file.directory";
/// File extension, excluding the leading dot.
///
/// ## Notes
///
/// When the file name has multiple extensions (example.tar.gz), only the last one should be captured ("gz", not "tar.gz").
///
/// # Examples
///
/// - `"png"`
/// - `"gz"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_EXTENSION: &str = "file.extension";
/// Name of the fork. A fork is additional data associated with a filesystem object.
///
/// ## Notes
///
/// On Linux, a resource fork is used to store additional data with a filesystem object. A file always has at least one fork for the data portion, and additional forks may exist.
/// On NTFS, this is analogous to an Alternate Data Stream (ADS), and the default data stream for a file is just called $DATA. Zone.Identifier is commonly used by Windows to track contents downloaded from the Internet. An ADS is typically of the form: C:\path\to\filename.extension:some_fork_name, and some_fork_name is the value that should populate `fork_name`. `filename.extension` should populate `file.name`, and `extension` should populate `file.extension`. The full path, `file.path`, will include the fork name.
///
/// # Examples
///
/// - `"Zone.Identifer"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_FORK_NAME: &str = "file.fork_name";
/// Primary Group ID (GID) of the file.
///
/// # Examples
///
/// - `"1000"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_GROUP_ID: &str = "file.group.id";
/// Primary group name of the file.
///
/// # Examples
///
/// - `"users"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_GROUP_NAME: &str = "file.group.name";
/// Inode representing the file in the filesystem.
///
/// # Examples
///
/// - `"256383"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_INODE: &str = "file.inode";
/// Mode of the file in octal representation.
///
/// # Examples
///
/// - `"0640"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_MODE: &str = "file.mode";
/// Time when the file content was last modified, in ISO 8601 format.
///
/// # Examples
///
/// - `"2021-01-01T12:00:00Z"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_MODIFIED: &str = "file.modified";
/// Name of the file including the extension, without the directory.
///
/// # Examples
///
/// - `"example.png"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_NAME: &str = "file.name";
/// The user ID (UID) or security identifier (SID) of the file owner.
///
/// # Examples
///
/// - `"1000"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_OWNER_ID: &str = "file.owner.id";
/// Username of the file owner.
///
/// # Examples
///
/// - `"root"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_OWNER_NAME: &str = "file.owner.name";
/// Full path to the file, including the file name. It should include the drive letter, when appropriate.
///
/// # Examples
///
/// - `"/home/alice/example.png"`
/// - `"C:\\Program Files\\MyApp\\myapp.exe"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_PATH: &str = "file.path";
/// File size in bytes
#[cfg(feature = "semconv_experimental")]
pub const FILE_SIZE: &str = "file.size";
/// Path to the target of a symbolic link.
///
/// ## Notes
///
/// This attribute is only applicable to symbolic links.
///
/// # Examples
///
/// - `"/usr/bin/python3"`
#[cfg(feature = "semconv_experimental")]
pub const FILE_SYMBOLIC_LINK_TARGET_PATH: &str = "file.symbolic_link.target_path";
/// Identifies the Google Cloud service for which the official client library is intended.
///
/// ## Notes
///
/// Intended to be a stable identifier for Google Cloud client libraries that is uniform across implementation languages. The value should be derived from the canonical service domain for the service; for example, 'foo.googleapis.com' should result in a value of 'foo'.
///
/// # Examples
///
/// - `"appengine"`
/// - `"run"`
/// - `"firestore"`
/// - `"alloydb"`
/// - `"spanner"`
#[cfg(feature = "semconv_experimental")]
pub const GCP_CLIENT_SERVICE: &str = "gcp.client.service";
/// The name of the Cloud Run [execution](https://cloud.google.com/run/docs/managing/job-executions) being run for the Job, as set by the [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable.
///
/// # Examples
///
/// - `"job-name-xxxx"`
/// - `"sample-job-mdw84"`
#[cfg(feature = "semconv_experimental")]
pub const GCP_CLOUD_RUN_JOB_EXECUTION: &str = "gcp.cloud_run.job.execution";
/// The index for a task within an execution as provided by the [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars) environment variable.
///
/// # Examples
///
/// - `0`
/// - `1`
#[cfg(feature = "semconv_experimental")]
pub const GCP_CLOUD_RUN_JOB_TASK_INDEX: &str = "gcp.cloud_run.job.task_index";
/// The hostname of a GCE instance. This is the full value of the default or [custom hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm).
///
/// # Examples
///
/// - `"my-host1234.example.com"`
/// - `"sample-vm.us-west1-b.c.my-project.internal"`
#[cfg(feature = "semconv_experimental")]
pub const GCP_GCE_INSTANCE_HOSTNAME: &str = "gcp.gce.instance.hostname";
/// The instance name of a GCE instance. This is the value provided by `host.name`, the visible name of the instance in the Cloud Console UI, and the prefix for the default hostname of the instance as defined by the [default internal DNS name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names).
///
/// # Examples
///
/// - `"instance-1"`
/// - `"my-vm-name"`
#[cfg(feature = "semconv_experimental")]
pub const GCP_GCE_INSTANCE_NAME: &str = "gcp.gce.instance.name";
/// Deprecated, use Event API to report completions contents.
///
/// # Examples
///
/// - `"[{'role': 'assistant', 'content': 'The capital of France is Paris.'}]"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Removed, no replacement at this time.")]
pub const GEN_AI_COMPLETION: &str = "gen_ai.completion";
/// The response format that is requested.
///
/// # Examples
///
/// - `"json"`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_OPENAI_REQUEST_RESPONSE_FORMAT: &str = "gen_ai.openai.request.response_format";
/// Requests with same seed value more likely to return same result.
///
/// # Examples
///
/// - `100`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_OPENAI_REQUEST_SEED: &str = "gen_ai.openai.request.seed";
/// The service tier requested. May be a specific tier, detault, or auto.
///
/// # Examples
///
/// - `"auto"`
/// - `"default"`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_OPENAI_REQUEST_SERVICE_TIER: &str = "gen_ai.openai.request.service_tier";
/// The service tier used for the response.
///
/// # Examples
///
/// - `"scale"`
/// - `"detault"`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_OPENAI_RESPONSE_SERVICE_TIER: &str = "gen_ai.openai.response.service_tier";
/// The name of the operation being performed.
///
/// ## Notes
///
/// If one of the predefined values applies, but specific system uses a different name it's RECOMMENDED to document it in the semantic conventions for specific GenAI system and use system-specific name in the instrumentation. If a different name is not documented, instrumentation libraries SHOULD use applicable predefined value
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_OPERATION_NAME: &str = "gen_ai.operation.name";
/// Deprecated, use Event API to report prompt contents.
///
/// # Examples
///
/// - `"[{'role': 'user', 'content': 'What is the capital of France?'}]"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Removed, no replacement at this time.")]
pub const GEN_AI_PROMPT: &str = "gen_ai.prompt";
/// The frequency penalty setting for the GenAI request.
///
/// # Examples
///
/// - `0.1`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_REQUEST_FREQUENCY_PENALTY: &str = "gen_ai.request.frequency_penalty";
/// The maximum number of tokens the model generates for a request.
///
/// # Examples
///
/// - `100`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_REQUEST_MAX_TOKENS: &str = "gen_ai.request.max_tokens";
/// The name of the GenAI model a request is being made to.
///
/// # Examples
///
/// - `"gpt-4"`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_REQUEST_MODEL: &str = "gen_ai.request.model";
/// The presence penalty setting for the GenAI request.
///
/// # Examples
///
/// - `0.1`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_REQUEST_PRESENCE_PENALTY: &str = "gen_ai.request.presence_penalty";
/// List of sequences that the model will use to stop generating further tokens.
///
/// # Examples
///
/// - `[
/// "forest",
/// "lived",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_REQUEST_STOP_SEQUENCES: &str = "gen_ai.request.stop_sequences";
/// The temperature setting for the GenAI request.
///
/// # Examples
///
/// - `0.0`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_REQUEST_TEMPERATURE: &str = "gen_ai.request.temperature";
/// The top_k sampling setting for the GenAI request.
///
/// # Examples
///
/// - `1.0`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_REQUEST_TOP_K: &str = "gen_ai.request.top_k";
/// The top_p sampling setting for the GenAI request.
///
/// # Examples
///
/// - `1.0`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_REQUEST_TOP_P: &str = "gen_ai.request.top_p";
/// Array of reasons the model stopped generating tokens, corresponding to each generation received.
///
/// # Examples
///
/// - `[
/// "stop",
/// ]`
/// - `[
/// "stop",
/// "length",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_RESPONSE_FINISH_REASONS: &str = "gen_ai.response.finish_reasons";
/// The unique identifier for the completion.
///
/// # Examples
///
/// - `"chatcmpl-123"`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_RESPONSE_ID: &str = "gen_ai.response.id";
/// The name of the model that generated the response.
///
/// # Examples
///
/// - `"gpt-4-0613"`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_RESPONSE_MODEL: &str = "gen_ai.response.model";
/// The Generative AI product as identified by the client or server instrumentation.
///
/// ## Notes
///
/// The `gen_ai.system` describes a family of GenAI models with specific model identified
/// by `gen_ai.request.model` and `gen_ai.response.model` attributes.
///
/// The actual GenAI product may differ from the one identified by the client.
/// For example, when using OpenAI client libraries to communicate with Mistral, the `gen_ai.system`
/// is set to `openai` based on the instrumentation's best knowledge.
///
/// For custom model, a custom friendly name SHOULD be used.
/// If none of these options apply, the `gen_ai.system` SHOULD be set to `_OTHER`.
///
/// # Examples
///
/// - `"openai"`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_SYSTEM: &str = "gen_ai.system";
/// The type of token being counted.
///
/// # Examples
///
/// - `"input"`
/// - `"output"`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_TOKEN_TYPE: &str = "gen_ai.token.type";
/// Deprecated, use `gen_ai.usage.output_tokens` instead.
///
/// # Examples
///
/// - `42`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `gen_ai.usage.output_tokens` attribute.")]
pub const GEN_AI_USAGE_COMPLETION_TOKENS: &str = "gen_ai.usage.completion_tokens";
/// The number of tokens used in the GenAI input (prompt).
///
/// # Examples
///
/// - `100`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_USAGE_INPUT_TOKENS: &str = "gen_ai.usage.input_tokens";
/// The number of tokens used in the GenAI response (completion).
///
/// # Examples
///
/// - `180`
#[cfg(feature = "semconv_experimental")]
pub const GEN_AI_USAGE_OUTPUT_TOKENS: &str = "gen_ai.usage.output_tokens";
/// Deprecated, use `gen_ai.usage.input_tokens` instead.
///
/// # Examples
///
/// - `42`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `gen_ai.usage.input_tokens` attribute.")]
pub const GEN_AI_USAGE_PROMPT_TOKENS: &str = "gen_ai.usage.prompt_tokens";
/// The type of memory.
///
/// # Examples
///
/// - `"other"`
/// - `"stack"`
#[cfg(feature = "semconv_experimental")]
pub const GO_MEMORY_TYPE: &str = "go.memory.type";
/// The GraphQL document being executed.
///
/// ## Notes
///
/// The value may be sanitized to exclude sensitive information.
///
/// # Examples
///
/// - `"query findBookById { bookById(id: ?) { name } }"`
#[cfg(feature = "semconv_experimental")]
pub const GRAPHQL_DOCUMENT: &str = "graphql.document";
/// The name of the operation being executed.
///
/// # Examples
///
/// - `"findBookById"`
#[cfg(feature = "semconv_experimental")]
pub const GRAPHQL_OPERATION_NAME: &str = "graphql.operation.name";
/// The type of the operation being executed.
///
/// # Examples
///
/// - `"query"`
/// - `"mutation"`
/// - `"subscription"`
#[cfg(feature = "semconv_experimental")]
pub const GRAPHQL_OPERATION_TYPE: &str = "graphql.operation.type";
/// Unique identifier for the application
///
/// # Examples
///
/// - `"2daa2797-e42b-4624-9322-ec3f968df4da"`
#[cfg(feature = "semconv_experimental")]
pub const HEROKU_APP_ID: &str = "heroku.app.id";
/// Commit hash for the current release
///
/// # Examples
///
/// - `"e6134959463efd8966b20e75b913cafe3f5ec"`
#[cfg(feature = "semconv_experimental")]
pub const HEROKU_RELEASE_COMMIT: &str = "heroku.release.commit";
/// Time and date the release was created
///
/// # Examples
///
/// - `"2022-10-23T18:00:42Z"`
#[cfg(feature = "semconv_experimental")]
pub const HEROKU_RELEASE_CREATION_TIMESTAMP: &str = "heroku.release.creation_timestamp";
/// The CPU architecture the host system is running on
#[cfg(feature = "semconv_experimental")]
pub const HOST_ARCH: &str = "host.arch";
/// The amount of level 2 memory cache available to the processor (in Bytes).
///
/// # Examples
///
/// - `12288000`
#[cfg(feature = "semconv_experimental")]
pub const HOST_CPU_CACHE_L2_SIZE: &str = "host.cpu.cache.l2.size";
/// Family or generation of the CPU.
///
/// # Examples
///
/// - `"6"`
/// - `"PA-RISC 1.1e"`
#[cfg(feature = "semconv_experimental")]
pub const HOST_CPU_FAMILY: &str = "host.cpu.family";
/// Model identifier. It provides more granular information about the CPU, distinguishing it from other CPUs within the same family.
///
/// # Examples
///
/// - `"6"`
/// - `"9000/778/B180L"`
#[cfg(feature = "semconv_experimental")]
pub const HOST_CPU_MODEL_ID: &str = "host.cpu.model.id";
/// Model designation of the processor.
///
/// # Examples
///
/// - `"11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz"`
#[cfg(feature = "semconv_experimental")]
pub const HOST_CPU_MODEL_NAME: &str = "host.cpu.model.name";
/// Stepping or core revisions.
///
/// # Examples
///
/// - `"1"`
/// - `"r1p1"`
#[cfg(feature = "semconv_experimental")]
pub const HOST_CPU_STEPPING: &str = "host.cpu.stepping";
/// Processor manufacturer identifier. A maximum 12-character string.
///
/// ## Notes
///
/// [CPUID](https://wiki.osdev.org/CPUID) command returns the vendor ID string in EBX, EDX and ECX registers. Writing these to memory in this order results in a 12-character string.
///
/// # Examples
///
/// - `"GenuineIntel"`
#[cfg(feature = "semconv_experimental")]
pub const HOST_CPU_VENDOR_ID: &str = "host.cpu.vendor.id";
/// Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. For non-containerized systems, this should be the `machine-id`. See the table below for the sources to use to determine the `machine-id` based on operating system.
///
/// # Examples
///
/// - `"fdbf79e8af94cb7f9e8df36789187052"`
#[cfg(feature = "semconv_experimental")]
pub const HOST_ID: &str = "host.id";
/// VM image ID or host OS image ID. For Cloud, this value is from the provider.
///
/// # Examples
///
/// - `"ami-07b06b442921831e5"`
#[cfg(feature = "semconv_experimental")]
pub const HOST_IMAGE_ID: &str = "host.image.id";
/// Name of the VM image or OS install the host was instantiated from.
///
/// # Examples
///
/// - `"infra-ami-eks-worker-node-7d4ec78312"`
/// - `"CentOS-8-x86_64-1905"`
#[cfg(feature = "semconv_experimental")]
pub const HOST_IMAGE_NAME: &str = "host.image.name";
/// The version string of the VM image or host OS as defined in [Version Attributes](/docs/resource/README.md#version-attributes).
///
/// # Examples
///
/// - `"0.1"`
#[cfg(feature = "semconv_experimental")]
pub const HOST_IMAGE_VERSION: &str = "host.image.version";
/// Available IP addresses of the host, excluding loopback interfaces.
///
/// ## Notes
///
/// IPv4 Addresses MUST be specified in dotted-quad notation. IPv6 addresses MUST be specified in the [RFC 5952](https://www.rfc-editor.org/rfc/rfc5952.html) format.
///
/// # Examples
///
/// - `[
/// "192.168.1.140",
/// "fe80::abc2:4a28:737a:609e",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const HOST_IP: &str = "host.ip";
/// Available MAC addresses of the host, excluding loopback interfaces.
///
/// ## Notes
///
/// MAC Addresses MUST be represented in [IEEE RA hexadecimal form](https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf): as hyphen-separated octets in uppercase hexadecimal form from most to least significant.
///
/// # Examples
///
/// - `[
/// "AC-DE-48-23-45-67",
/// "AC-DE-48-23-45-67-01-9F",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const HOST_MAC: &str = "host.mac";
/// Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user.
///
/// # Examples
///
/// - `"opentelemetry-test"`
#[cfg(feature = "semconv_experimental")]
pub const HOST_NAME: &str = "host.name";
/// Type of host. For Cloud, this must be the machine type.
///
/// # Examples
///
/// - `"n1-standard-1"`
#[cfg(feature = "semconv_experimental")]
pub const HOST_TYPE: &str = "host.type";
/// Deprecated, use `client.address` instead.
///
/// # Examples
///
/// - `"83.164.160.102"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `client.address`.")]
pub const HTTP_CLIENT_IP: &str = "http.client_ip";
/// State of the HTTP connection in the HTTP connection pool.
///
/// # Examples
///
/// - `"active"`
/// - `"idle"`
#[cfg(feature = "semconv_experimental")]
pub const HTTP_CONNECTION_STATE: &str = "http.connection.state";
/// Deprecated, use `network.protocol.name` instead
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `network.protocol.name`.")]
pub const HTTP_FLAVOR: &str = "http.flavor";
/// Deprecated, use one of `server.address`, `client.address` or `http.request.header.host` instead, depending on the usage.
///
/// # Examples
///
/// - `"www.example.org"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(
note = "Replaced by one of `server.address`, `client.address` or `http.request.header.host`, depending on the usage."
)]
pub const HTTP_HOST: &str = "http.host";
/// Deprecated, use `http.request.method` instead.
///
/// # Examples
///
/// - `"GET"`
/// - `"POST"`
/// - `"HEAD"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `http.request.method`.")]
pub const HTTP_METHOD: &str = "http.method";
/// The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size.
///
/// # Examples
///
/// - `3495`
#[cfg(feature = "semconv_experimental")]
pub const HTTP_REQUEST_BODY_SIZE: &str = "http.request.body.size";
/// HTTP request headers, `<key>` being the normalized HTTP Header name (lowercase), the value being the header values.
///
/// ## Notes
///
/// Instrumentations SHOULD require an explicit configuration of which headers are to be captured. Including all request headers can be a security risk - explicit configuration helps avoid leaking sensitive information.
/// The `User-Agent` header is already captured in the `user_agent.original` attribute. Users MAY explicitly configure instrumentations to capture them even though it is not recommended.
/// The attribute value MUST consist of either multiple header values as an array of strings or a single-item array containing a possibly comma-concatenated string, depending on the way the HTTP library provides access to headers.
///
/// # Examples
///
/// - `"http.request.header.content-type=[\"application/json\"]"`
/// - `"http.request.header.x-forwarded-for=[\"1.2.3.4\", \"1.2.3.5\"]"`
pub const HTTP_REQUEST_HEADER: &str = "http.request.header";
/// HTTP request method.
///
/// ## Notes
///
/// HTTP request method value SHOULD be "known" to the instrumentation.
/// By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods)
/// and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html).
///
/// If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`.
///
/// If the HTTP instrumentation could end up converting valid HTTP request methods to `_OTHER`, then it MUST provide a way to override
/// the list of known HTTP methods. If this override is done via environment variable, then the environment variable MUST be named
/// OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive known HTTP methods
/// (this list MUST be a full override of the default known method, it is not a list of known methods in addition to the defaults).
///
/// HTTP method names are case-sensitive and `http.request.method` attribute value MUST match a known HTTP method name exactly.
/// Instrumentations for specific web frameworks that consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent.
/// Tracing instrumentations that do so, MUST also set `http.request.method_original` to the original value.
///
/// # Examples
///
/// - `"GET"`
/// - `"POST"`
/// - `"HEAD"`
pub const HTTP_REQUEST_METHOD: &str = "http.request.method";
/// Original HTTP method sent by the client in the request line.
///
/// # Examples
///
/// - `"GeT"`
/// - `"ACL"`
/// - `"foo"`
pub const HTTP_REQUEST_METHOD_ORIGINAL: &str = "http.request.method_original";
/// The ordinal number of request resending attempt (for any reason, including redirects).
///
/// ## Notes
///
/// The resend count SHOULD be updated each time an HTTP request gets resent by the client, regardless of what was the cause of the resending (e.g. redirection, authorization failure, 503 Server Unavailable, network issues, or any other).
///
/// # Examples
///
/// - `3`
pub const HTTP_REQUEST_RESEND_COUNT: &str = "http.request.resend_count";
/// The total size of the request in bytes. This should be the total number of bytes sent over the wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and request body if any.
///
/// # Examples
///
/// - `1437`
#[cfg(feature = "semconv_experimental")]
pub const HTTP_REQUEST_SIZE: &str = "http.request.size";
/// Deprecated, use `http.request.header.<key>` instead.
///
/// # Examples
///
/// - `3495`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `http.request.header.<key>`.")]
pub const HTTP_REQUEST_CONTENT_LENGTH: &str = "http.request_content_length";
/// Deprecated, use `http.request.body.size` instead.
///
/// # Examples
///
/// - `5493`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `http.request.body.size`.")]
pub const HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED: &str =
"http.request_content_length_uncompressed";
/// The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) header. For requests using transport encoding, this should be the compressed size.
///
/// # Examples
///
/// - `3495`
#[cfg(feature = "semconv_experimental")]
pub const HTTP_RESPONSE_BODY_SIZE: &str = "http.response.body.size";
/// HTTP response headers, `<key>` being the normalized HTTP Header name (lowercase), the value being the header values.
///
/// ## Notes
///
/// Instrumentations SHOULD require an explicit configuration of which headers are to be captured. Including all response headers can be a security risk - explicit configuration helps avoid leaking sensitive information.
/// Users MAY explicitly configure instrumentations to capture them even though it is not recommended.
/// The attribute value MUST consist of either multiple header values as an array of strings or a single-item array containing a possibly comma-concatenated string, depending on the way the HTTP library provides access to headers.
///
/// # Examples
///
/// - `"http.response.header.content-type=[\"application/json\"]"`
/// - `"http.response.header.my-custom-header=[\"abc\", \"def\"]"`
pub const HTTP_RESPONSE_HEADER: &str = "http.response.header";
/// The total size of the response in bytes. This should be the total number of bytes sent over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3), headers, and response body and trailers if any.
///
/// # Examples
///
/// - `1437`
#[cfg(feature = "semconv_experimental")]
pub const HTTP_RESPONSE_SIZE: &str = "http.response.size";
/// [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6).
///
/// # Examples
///
/// - `200`
pub const HTTP_RESPONSE_STATUS_CODE: &str = "http.response.status_code";
/// Deprecated, use `http.response.header.<key>` instead.
///
/// # Examples
///
/// - `3495`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `http.response.header.<key>`.")]
pub const HTTP_RESPONSE_CONTENT_LENGTH: &str = "http.response_content_length";
/// Deprecated, use `http.response.body.size` instead.
///
/// # Examples
///
/// - `5493`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replace by `http.response.body.size`.")]
pub const HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED: &str =
"http.response_content_length_uncompressed";
/// The matched route, that is, the path template in the format used by the respective server framework.
///
/// ## Notes
///
/// MUST NOT be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can NOT substitute it.
/// SHOULD include the [application root](/docs/http/http-spans.md#http-server-definitions) if there is one.
///
/// # Examples
///
/// - `"/users/:userID?"`
/// - `"{controller}/{action}/{id?}"`
pub const HTTP_ROUTE: &str = "http.route";
/// Deprecated, use `url.scheme` instead.
///
/// # Examples
///
/// - `"http"`
/// - `"https"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `url.scheme` instead.")]
pub const HTTP_SCHEME: &str = "http.scheme";
/// Deprecated, use `server.address` instead.
///
/// # Examples
///
/// - `"example.com"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `server.address`.")]
pub const HTTP_SERVER_NAME: &str = "http.server_name";
/// Deprecated, use `http.response.status_code` instead.
///
/// # Examples
///
/// - `200`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `http.response.status_code`.")]
pub const HTTP_STATUS_CODE: &str = "http.status_code";
/// Deprecated, use `url.path` and `url.query` instead.
///
/// # Examples
///
/// - `"/search?q=OpenTelemetry#SemConv"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Split to `url.path` and `url.query.")]
pub const HTTP_TARGET: &str = "http.target";
/// Deprecated, use `url.full` instead.
///
/// # Examples
///
/// - `"https://www.foo.bar/search?q=OpenTelemetry#SemConv"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `url.full`.")]
pub const HTTP_URL: &str = "http.url";
/// Deprecated, use `user_agent.original` instead.
///
/// # Examples
///
/// - `"CERN-LineMode/2.15 libwww/2.17b3"`
/// - `"Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `user_agent.original`.")]
pub const HTTP_USER_AGENT: &str = "http.user_agent";
/// An identifier for the hardware component, unique within the monitored host
///
/// # Examples
///
/// - `"win32battery_battery_testsysa33_1"`
#[cfg(feature = "semconv_experimental")]
pub const HW_ID: &str = "hw.id";
/// An easily-recognizable name for the hardware component
///
/// # Examples
///
/// - `"eth0"`
#[cfg(feature = "semconv_experimental")]
pub const HW_NAME: &str = "hw.name";
/// Unique identifier of the parent component (typically the `hw.id` attribute of the enclosure, or disk controller)
///
/// # Examples
///
/// - `"dellStorage_perc_0"`
#[cfg(feature = "semconv_experimental")]
pub const HW_PARENT: &str = "hw.parent";
/// The current state of the component
#[cfg(feature = "semconv_experimental")]
pub const HW_STATE: &str = "hw.state";
/// Type of the component
///
/// ## Notes
///
/// Describes the category of the hardware component for which `hw.state` is being reported. For example, `hw.type=temperature` along with `hw.state=degraded` would indicate that the temperature of the hardware component has been reported as `degraded`
#[cfg(feature = "semconv_experimental")]
pub const HW_TYPE: &str = "hw.type";
/// Deprecated use the `device.app.lifecycle` event definition including `ios.state` as a payload field instead.
///
/// ## Notes
///
/// The iOS lifecycle states are defined in the [UIApplicationDelegate documentation](https://developer.apple.com/documentation/uikit/uiapplicationdelegate#1656902), and from which the `OS terminology` column values are derived
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Moved to a payload field of `device.app.lifecycle`.")]
pub const IOS_STATE: &str = "ios.state";
/// Name of the buffer pool.
///
/// ## Notes
///
/// Pool names are generally obtained via [BufferPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/BufferPoolMXBean.html#getName()).
///
/// # Examples
///
/// - `"mapped"`
/// - `"direct"`
#[cfg(feature = "semconv_experimental")]
pub const JVM_BUFFER_POOL_NAME: &str = "jvm.buffer.pool.name";
/// Name of the garbage collector action.
///
/// ## Notes
///
/// Garbage collector action is generally obtained via [GarbageCollectionNotificationInfo#getGcAction()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcAction()).
///
/// # Examples
///
/// - `"end of minor GC"`
/// - `"end of major GC"`
pub const JVM_GC_ACTION: &str = "jvm.gc.action";
/// Name of the garbage collector.
///
/// ## Notes
///
/// Garbage collector name is generally obtained via [GarbageCollectionNotificationInfo#getGcName()](https://docs.oracle.com/en/java/javase/11/docs/api/jdk.management/com/sun/management/GarbageCollectionNotificationInfo.html#getGcName()).
///
/// # Examples
///
/// - `"G1 Young Generation"`
/// - `"G1 Old Generation"`
pub const JVM_GC_NAME: &str = "jvm.gc.name";
/// Name of the memory pool.
///
/// ## Notes
///
/// Pool names are generally obtained via [MemoryPoolMXBean#getName()](https://docs.oracle.com/en/java/javase/11/docs/api/java.management/java/lang/management/MemoryPoolMXBean.html#getName()).
///
/// # Examples
///
/// - `"G1 Old Gen"`
/// - `"G1 Eden space"`
/// - `"G1 Survivor Space"`
pub const JVM_MEMORY_POOL_NAME: &str = "jvm.memory.pool.name";
/// The type of memory.
///
/// # Examples
///
/// - `"heap"`
/// - `"non_heap"`
pub const JVM_MEMORY_TYPE: &str = "jvm.memory.type";
/// Whether the thread is daemon or not
pub const JVM_THREAD_DAEMON: &str = "jvm.thread.daemon";
/// State of the thread.
///
/// # Examples
///
/// - `"runnable"`
/// - `"blocked"`
pub const JVM_THREAD_STATE: &str = "jvm.thread.state";
/// The name of the cluster.
///
/// # Examples
///
/// - `"opentelemetry-cluster"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_CLUSTER_NAME: &str = "k8s.cluster.name";
/// A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace.
///
/// ## Notes
///
/// K8s doesn't have support for obtaining a cluster ID. If this is ever
/// added, we will recommend collecting the `k8s.cluster.uid` through the
/// official APIs. In the meantime, we are able to use the `uid` of the
/// `kube-system` namespace as a proxy for cluster ID. Read on for the
/// rationale.
///
/// Every object created in a K8s cluster is assigned a distinct UID. The
/// `kube-system` namespace is used by Kubernetes itself and will exist
/// for the lifetime of the cluster. Using the `uid` of the `kube-system`
/// namespace is a reasonable proxy for the K8s ClusterID as it will only
/// change if the cluster is rebuilt. Furthermore, Kubernetes UIDs are
/// UUIDs as standardized by
/// [ISO/IEC 9834-8 and ITU-T X.667](https://www.itu.int/ITU-T/studygroups/com17/oid.html).
/// Which states:
///
/// > If generated according to one of the mechanisms defined in Rec.
/// > ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be
/// > different from all other UUIDs generated before 3603 A.D., or is
/// > extremely likely to be different (depending on the mechanism chosen).
///
/// Therefore, UIDs between clusters should be extremely unlikely to
/// conflict.
///
/// # Examples
///
/// - `"218fc5a9-a5f1-4b54-aa05-46717d0ab26d"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_CLUSTER_UID: &str = "k8s.cluster.uid";
/// The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`).
///
/// # Examples
///
/// - `"redis"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_CONTAINER_NAME: &str = "k8s.container.name";
/// Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec
#[cfg(feature = "semconv_experimental")]
pub const K8S_CONTAINER_RESTART_COUNT: &str = "k8s.container.restart_count";
/// Last terminated reason of the Container.
///
/// # Examples
///
/// - `"Evicted"`
/// - `"Error"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON: &str =
"k8s.container.status.last_terminated_reason";
/// The name of the CronJob.
///
/// # Examples
///
/// - `"opentelemetry"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_CRONJOB_NAME: &str = "k8s.cronjob.name";
/// The UID of the CronJob.
///
/// # Examples
///
/// - `"275ecb36-5aa8-4c2a-9c47-d8bb681b9aff"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_CRONJOB_UID: &str = "k8s.cronjob.uid";
/// The name of the DaemonSet.
///
/// # Examples
///
/// - `"opentelemetry"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_DAEMONSET_NAME: &str = "k8s.daemonset.name";
/// The UID of the DaemonSet.
///
/// # Examples
///
/// - `"275ecb36-5aa8-4c2a-9c47-d8bb681b9aff"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_DAEMONSET_UID: &str = "k8s.daemonset.uid";
/// The name of the Deployment.
///
/// # Examples
///
/// - `"opentelemetry"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_DEPLOYMENT_NAME: &str = "k8s.deployment.name";
/// The UID of the Deployment.
///
/// # Examples
///
/// - `"275ecb36-5aa8-4c2a-9c47-d8bb681b9aff"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_DEPLOYMENT_UID: &str = "k8s.deployment.uid";
/// The name of the Job.
///
/// # Examples
///
/// - `"opentelemetry"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_JOB_NAME: &str = "k8s.job.name";
/// The UID of the Job.
///
/// # Examples
///
/// - `"275ecb36-5aa8-4c2a-9c47-d8bb681b9aff"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_JOB_UID: &str = "k8s.job.uid";
/// The name of the namespace that the pod is running in.
///
/// # Examples
///
/// - `"default"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_NAMESPACE_NAME: &str = "k8s.namespace.name";
/// The name of the Node.
///
/// # Examples
///
/// - `"node-1"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_NODE_NAME: &str = "k8s.node.name";
/// The UID of the Node.
///
/// # Examples
///
/// - `"1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_NODE_UID: &str = "k8s.node.uid";
/// The annotation key-value pairs placed on the Pod, the `<key>` being the annotation name, the value being the annotation value.
///
/// # Examples
///
/// - `"k8s.pod.annotation.kubernetes.io/enforce-mountable-secrets=true"`
/// - `"k8s.pod.annotation.mycompany.io/arch=x64"`
/// - `"k8s.pod.annotation.data="`
#[cfg(feature = "semconv_experimental")]
pub const K8S_POD_ANNOTATION: &str = "k8s.pod.annotation";
/// The label key-value pairs placed on the Pod, the `<key>` being the label name, the value being the label value.
///
/// # Examples
///
/// - `"k8s.pod.label.app=my-app"`
/// - `"k8s.pod.label.mycompany.io/arch=x64"`
/// - `"k8s.pod.label.data="`
#[cfg(feature = "semconv_experimental")]
pub const K8S_POD_LABEL: &str = "k8s.pod.label";
/// Deprecated, use `k8s.pod.label` instead.
///
/// # Examples
///
/// - `"k8s.pod.label.app=my-app"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `k8s.pod.label`.")]
pub const K8S_POD_LABELS: &str = "k8s.pod.labels";
/// The name of the Pod.
///
/// # Examples
///
/// - `"opentelemetry-pod-autoconf"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_POD_NAME: &str = "k8s.pod.name";
/// The UID of the Pod.
///
/// # Examples
///
/// - `"275ecb36-5aa8-4c2a-9c47-d8bb681b9aff"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_POD_UID: &str = "k8s.pod.uid";
/// The name of the ReplicaSet.
///
/// # Examples
///
/// - `"opentelemetry"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_REPLICASET_NAME: &str = "k8s.replicaset.name";
/// The UID of the ReplicaSet.
///
/// # Examples
///
/// - `"275ecb36-5aa8-4c2a-9c47-d8bb681b9aff"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_REPLICASET_UID: &str = "k8s.replicaset.uid";
/// The name of the StatefulSet.
///
/// # Examples
///
/// - `"opentelemetry"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_STATEFULSET_NAME: &str = "k8s.statefulset.name";
/// The UID of the StatefulSet.
///
/// # Examples
///
/// - `"275ecb36-5aa8-4c2a-9c47-d8bb681b9aff"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_STATEFULSET_UID: &str = "k8s.statefulset.uid";
/// The name of the K8s volume.
///
/// # Examples
///
/// - `"volume0"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_VOLUME_NAME: &str = "k8s.volume.name";
/// The type of the K8s volume.
///
/// # Examples
///
/// - `"emptyDir"`
/// - `"persistentVolumeClaim"`
#[cfg(feature = "semconv_experimental")]
pub const K8S_VOLUME_TYPE: &str = "k8s.volume.type";
/// The Linux Slab memory state
///
/// # Examples
///
/// - `"reclaimable"`
/// - `"unreclaimable"`
#[cfg(feature = "semconv_experimental")]
pub const LINUX_MEMORY_SLAB_STATE: &str = "linux.memory.slab.state";
/// The basename of the file.
///
/// # Examples
///
/// - `"audit.log"`
#[cfg(feature = "semconv_experimental")]
pub const LOG_FILE_NAME: &str = "log.file.name";
/// The basename of the file, with symlinks resolved.
///
/// # Examples
///
/// - `"uuid.log"`
#[cfg(feature = "semconv_experimental")]
pub const LOG_FILE_NAME_RESOLVED: &str = "log.file.name_resolved";
/// The full path to the file.
///
/// # Examples
///
/// - `"/var/log/mysql/audit.log"`
#[cfg(feature = "semconv_experimental")]
pub const LOG_FILE_PATH: &str = "log.file.path";
/// The full path to the file, with symlinks resolved.
///
/// # Examples
///
/// - `"/var/lib/docker/uuid.log"`
#[cfg(feature = "semconv_experimental")]
pub const LOG_FILE_PATH_RESOLVED: &str = "log.file.path_resolved";
/// The stream associated with the log. See below for a list of well-known values
#[cfg(feature = "semconv_experimental")]
pub const LOG_IOSTREAM: &str = "log.iostream";
/// The complete original Log Record.
///
/// ## Notes
///
/// This value MAY be added when processing a Log Record which was originally transmitted as a string or equivalent data type AND the Body field of the Log Record does not contain the same value. (e.g. a syslog or a log record read from a file.)
///
/// # Examples
///
/// - `"77 <86>1 2015-08-06T21:58:59.694Z 192.168.2.133 inactive - - - Something happened"`
/// - `"[INFO] 8/3/24 12:34:56 Something happened"`
#[cfg(feature = "semconv_experimental")]
pub const LOG_RECORD_ORIGINAL: &str = "log.record.original";
/// A unique identifier for the Log Record.
///
/// ## Notes
///
/// If an id is provided, other log records with the same id will be considered duplicates and can be removed safely. This means, that two distinguishable log records MUST have different values.
/// The id MAY be an [Universally Unique Lexicographically Sortable Identifier (ULID)](https://github.com/ulid/spec), but other identifiers (e.g. UUID) may be used as needed.
///
/// # Examples
///
/// - `"01ARZ3NDEKTSV4RRFFQ69G5FAV"`
#[cfg(feature = "semconv_experimental")]
pub const LOG_RECORD_UID: &str = "log.record.uid";
/// Deprecated, use `rpc.message.compressed_size` instead
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `rpc.message.compressed_size`.")]
pub const MESSAGE_COMPRESSED_SIZE: &str = "message.compressed_size";
/// Deprecated, use `rpc.message.id` instead
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `rpc.message.id`.")]
pub const MESSAGE_ID: &str = "message.id";
/// Deprecated, use `rpc.message.type` instead
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `rpc.message.type`.")]
pub const MESSAGE_TYPE: &str = "message.type";
/// Deprecated, use `rpc.message.uncompressed_size` instead
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `rpc.message.uncompressed_size`.")]
pub const MESSAGE_UNCOMPRESSED_SIZE: &str = "message.uncompressed_size";
/// The number of messages sent, received, or processed in the scope of the batching operation.
///
/// ## Notes
///
/// Instrumentations SHOULD NOT set `messaging.batch.message_count` on spans that operate with a single message. When a messaging client library supports both batch and single-message API for the same operation, instrumentations SHOULD use `messaging.batch.message_count` for batching APIs and SHOULD NOT use it for single-message APIs.
///
/// # Examples
///
/// - `0`
/// - `1`
/// - `2`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_BATCH_MESSAGE_COUNT: &str = "messaging.batch.message_count";
/// A unique identifier for the client that consumes or produces a message.
///
/// # Examples
///
/// - `"client-5"`
/// - `"myhost@8742@s8083jm"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_CLIENT_ID: &str = "messaging.client.id";
/// The name of the consumer group with which a consumer is associated.
///
/// ## Notes
///
/// Semantic conventions for individual messaging systems SHOULD document whether `messaging.consumer.group.name` is applicable and what it means in the context of that system.
///
/// # Examples
///
/// - `"my-group"`
/// - `"indexer"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_CONSUMER_GROUP_NAME: &str = "messaging.consumer.group.name";
/// A boolean that is true if the message destination is anonymous (could be unnamed or have auto-generated name)
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_DESTINATION_ANONYMOUS: &str = "messaging.destination.anonymous";
/// The message destination name
///
/// ## Notes
///
/// Destination name SHOULD uniquely identify a specific queue, topic or other entity within the broker. If
/// the broker doesn't have such notion, the destination name SHOULD uniquely identify the broker.
///
/// # Examples
///
/// - `"MyQueue"`
/// - `"MyTopic"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_DESTINATION_NAME: &str = "messaging.destination.name";
/// The identifier of the partition messages are sent to or received from, unique within the `messaging.destination.name`.
///
/// # Examples
///
/// - `"1"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_DESTINATION_PARTITION_ID: &str = "messaging.destination.partition.id";
/// The name of the destination subscription from which a message is consumed.
///
/// ## Notes
///
/// Semantic conventions for individual messaging systems SHOULD document whether `messaging.destination.subscription.name` is applicable and what it means in the context of that system.
///
/// # Examples
///
/// - `"subscription-a"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_DESTINATION_SUBSCRIPTION_NAME: &str = "messaging.destination.subscription.name";
/// Low cardinality representation of the messaging destination name
///
/// ## Notes
///
/// Destination names could be constructed from templates. An example would be a destination name involving a user name or product id. Although the destination name in this case is of high cardinality, the underlying template is of low cardinality and can be effectively used for grouping and aggregation.
///
/// # Examples
///
/// - `"/customers/{customerId}"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_DESTINATION_TEMPLATE: &str = "messaging.destination.template";
/// A boolean that is true if the message destination is temporary and might not exist anymore after messages are processed
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_DESTINATION_TEMPORARY: &str = "messaging.destination.temporary";
/// Deprecated, no replacement at this time
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "No replacement at this time.")]
pub const MESSAGING_DESTINATION_PUBLISH_ANONYMOUS: &str = "messaging.destination_publish.anonymous";
/// Deprecated, no replacement at this time.
///
/// # Examples
///
/// - `"MyQueue"`
/// - `"MyTopic"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "No replacement at this time.")]
pub const MESSAGING_DESTINATION_PUBLISH_NAME: &str = "messaging.destination_publish.name";
/// Deprecated, use `messaging.consumer.group.name` instead.
///
/// # Examples
///
/// - `"$Default"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `messaging.consumer.group.name`.")]
pub const MESSAGING_EVENTHUBS_CONSUMER_GROUP: &str = "messaging.eventhubs.consumer.group";
/// The UTC epoch seconds at which the message has been accepted and stored in the entity.
///
/// # Examples
///
/// - `1701393730`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_EVENTHUBS_MESSAGE_ENQUEUED_TIME: &str =
"messaging.eventhubs.message.enqueued_time";
/// The ack deadline in seconds set for the modify ack deadline request.
///
/// # Examples
///
/// - `10`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_GCP_PUBSUB_MESSAGE_ACK_DEADLINE: &str =
"messaging.gcp_pubsub.message.ack_deadline";
/// The ack id for a given message.
///
/// # Examples
///
/// - `"ack_id"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_GCP_PUBSUB_MESSAGE_ACK_ID: &str = "messaging.gcp_pubsub.message.ack_id";
/// The delivery attempt for a given message.
///
/// # Examples
///
/// - `2`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_GCP_PUBSUB_MESSAGE_DELIVERY_ATTEMPT: &str =
"messaging.gcp_pubsub.message.delivery_attempt";
/// The ordering key for a given message. If the attribute is not present, the message does not have an ordering key.
///
/// # Examples
///
/// - `"ordering_key"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_GCP_PUBSUB_MESSAGE_ORDERING_KEY: &str =
"messaging.gcp_pubsub.message.ordering_key";
/// Deprecated, use `messaging.consumer.group.name` instead.
///
/// # Examples
///
/// - `"my-group"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `messaging.consumer.group.name`.")]
pub const MESSAGING_KAFKA_CONSUMER_GROUP: &str = "messaging.kafka.consumer.group";
/// Deprecated, use `messaging.destination.partition.id` instead.
///
/// # Examples
///
/// - `2`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `messaging.destination.partition.id`.")]
pub const MESSAGING_KAFKA_DESTINATION_PARTITION: &str = "messaging.kafka.destination.partition";
/// Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute MUST NOT be set.
///
/// ## Notes
///
/// If the key type is not string, it's string representation has to be supplied for the attribute. If the key has no unambiguous, canonical string form, don't include its value.
///
/// # Examples
///
/// - `"myKey"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_KAFKA_MESSAGE_KEY: &str = "messaging.kafka.message.key";
/// Deprecated, use `messaging.kafka.offset` instead.
///
/// # Examples
///
/// - `42`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `messaging.kafka.offset`.")]
pub const MESSAGING_KAFKA_MESSAGE_OFFSET: &str = "messaging.kafka.message.offset";
/// A boolean that is true if the message is a tombstone
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_KAFKA_MESSAGE_TOMBSTONE: &str = "messaging.kafka.message.tombstone";
/// The offset of a record in the corresponding Kafka partition.
///
/// # Examples
///
/// - `42`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_KAFKA_OFFSET: &str = "messaging.kafka.offset";
/// The size of the message body in bytes.
///
/// ## Notes
///
/// This can refer to both the compressed or uncompressed body size. If both sizes are known, the uncompressed
/// body size should be used.
///
/// # Examples
///
/// - `1439`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_MESSAGE_BODY_SIZE: &str = "messaging.message.body.size";
/// The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID".
///
/// # Examples
///
/// - `"MyConversationId"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_MESSAGE_CONVERSATION_ID: &str = "messaging.message.conversation_id";
/// The size of the message body and metadata in bytes.
///
/// ## Notes
///
/// This can refer to both the compressed or uncompressed size. If both sizes are known, the uncompressed
/// size should be used.
///
/// # Examples
///
/// - `2738`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_MESSAGE_ENVELOPE_SIZE: &str = "messaging.message.envelope.size";
/// A value used by the messaging system as an identifier for the message, represented as a string.
///
/// # Examples
///
/// - `"452a7c7c7c7048c2f887f61572b18fc2"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_MESSAGE_ID: &str = "messaging.message.id";
/// Deprecated, use `messaging.operation.type` instead.
///
/// # Examples
///
/// - `"publish"`
/// - `"create"`
/// - `"process"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `messaging.operation.type`.")]
pub const MESSAGING_OPERATION: &str = "messaging.operation";
/// The system-specific name of the messaging operation.
///
/// # Examples
///
/// - `"ack"`
/// - `"nack"`
/// - `"send"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_OPERATION_NAME: &str = "messaging.operation.name";
/// A string identifying the type of the messaging operation.
///
/// ## Notes
///
/// If a custom value is used, it MUST be of low cardinality
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_OPERATION_TYPE: &str = "messaging.operation.type";
/// RabbitMQ message routing key.
///
/// # Examples
///
/// - `"myKey"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_RABBITMQ_DESTINATION_ROUTING_KEY: &str =
"messaging.rabbitmq.destination.routing_key";
/// RabbitMQ message delivery tag
///
/// # Examples
///
/// - `123`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_RABBITMQ_MESSAGE_DELIVERY_TAG: &str = "messaging.rabbitmq.message.delivery_tag";
/// Deprecated, use `messaging.consumer.group.name` instead.
///
/// # Examples
///
/// - `"myConsumerGroup"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(
note = "Replaced by `messaging.consumer.group.name` on the consumer spans. No replacement for producer spans."
)]
pub const MESSAGING_ROCKETMQ_CLIENT_GROUP: &str = "messaging.rocketmq.client_group";
/// Model of message consumption. This only applies to consumer spans
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_ROCKETMQ_CONSUMPTION_MODEL: &str = "messaging.rocketmq.consumption_model";
/// The delay time level for delay message, which determines the message delay time.
///
/// # Examples
///
/// - `3`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_ROCKETMQ_MESSAGE_DELAY_TIME_LEVEL: &str =
"messaging.rocketmq.message.delay_time_level";
/// The timestamp in milliseconds that the delay message is expected to be delivered to consumer.
///
/// # Examples
///
/// - `1665987217045`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_ROCKETMQ_MESSAGE_DELIVERY_TIMESTAMP: &str =
"messaging.rocketmq.message.delivery_timestamp";
/// It is essential for FIFO message. Messages that belong to the same message group are always processed one by one within the same consumer group.
///
/// # Examples
///
/// - `"myMessageGroup"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_ROCKETMQ_MESSAGE_GROUP: &str = "messaging.rocketmq.message.group";
/// Key(s) of message, another way to mark message besides message id.
///
/// # Examples
///
/// - `[
/// "keyA",
/// "keyB",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_ROCKETMQ_MESSAGE_KEYS: &str = "messaging.rocketmq.message.keys";
/// The secondary classifier of message besides topic.
///
/// # Examples
///
/// - `"tagA"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_ROCKETMQ_MESSAGE_TAG: &str = "messaging.rocketmq.message.tag";
/// Type of message
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_ROCKETMQ_MESSAGE_TYPE: &str = "messaging.rocketmq.message.type";
/// Namespace of RocketMQ resources, resources in different namespaces are individual.
///
/// # Examples
///
/// - `"myNamespace"`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_ROCKETMQ_NAMESPACE: &str = "messaging.rocketmq.namespace";
/// Deprecated, use `messaging.destination.subscription.name` instead.
///
/// # Examples
///
/// - `"subscription-a"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `messaging.destination.subscription.name`.")]
pub const MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME: &str =
"messaging.servicebus.destination.subscription_name";
/// Describes the [settlement type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock)
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_SERVICEBUS_DISPOSITION_STATUS: &str = "messaging.servicebus.disposition_status";
/// Number of deliveries that have been attempted for this message.
///
/// # Examples
///
/// - `2`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_SERVICEBUS_MESSAGE_DELIVERY_COUNT: &str =
"messaging.servicebus.message.delivery_count";
/// The UTC epoch seconds at which the message has been accepted and stored in the entity.
///
/// # Examples
///
/// - `1701393730`
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_SERVICEBUS_MESSAGE_ENQUEUED_TIME: &str =
"messaging.servicebus.message.enqueued_time";
/// The messaging system as identified by the client instrumentation.
///
/// ## Notes
///
/// The actual messaging system may differ from the one known by the client. For example, when using Kafka client libraries to communicate with Azure Event Hubs, the `messaging.system` is set to `kafka` based on the instrumentation's best knowledge
#[cfg(feature = "semconv_experimental")]
pub const MESSAGING_SYSTEM: &str = "messaging.system";
/// Deprecated, use `network.local.address`.
///
/// # Examples
///
/// - `"192.168.0.1"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `network.local.address`.")]
pub const NET_HOST_IP: &str = "net.host.ip";
/// Deprecated, use `server.address`.
///
/// # Examples
///
/// - `"example.com"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `server.address`.")]
pub const NET_HOST_NAME: &str = "net.host.name";
/// Deprecated, use `server.port`.
///
/// # Examples
///
/// - `8080`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `server.port`.")]
pub const NET_HOST_PORT: &str = "net.host.port";
/// Deprecated, use `network.peer.address`.
///
/// # Examples
///
/// - `"127.0.0.1"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `network.peer.address`.")]
pub const NET_PEER_IP: &str = "net.peer.ip";
/// Deprecated, use `server.address` on client spans and `client.address` on server spans.
///
/// # Examples
///
/// - `"example.com"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(
note = "Replaced by `server.address` on client spans and `client.address` on server spans."
)]
pub const NET_PEER_NAME: &str = "net.peer.name";
/// Deprecated, use `server.port` on client spans and `client.port` on server spans.
///
/// # Examples
///
/// - `8080`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `server.port` on client spans and `client.port` on server spans.")]
pub const NET_PEER_PORT: &str = "net.peer.port";
/// Deprecated, use `network.protocol.name`.
///
/// # Examples
///
/// - `"amqp"`
/// - `"http"`
/// - `"mqtt"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `network.protocol.name`.")]
pub const NET_PROTOCOL_NAME: &str = "net.protocol.name";
/// Deprecated, use `network.protocol.version`.
///
/// # Examples
///
/// - `"3.1.1"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `network.protocol.version`.")]
pub const NET_PROTOCOL_VERSION: &str = "net.protocol.version";
/// Deprecated, use `network.transport` and `network.type`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Split to `network.transport` and `network.type`.")]
pub const NET_SOCK_FAMILY: &str = "net.sock.family";
/// Deprecated, use `network.local.address`.
///
/// # Examples
///
/// - `"/var/my.sock"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `network.local.address`.")]
pub const NET_SOCK_HOST_ADDR: &str = "net.sock.host.addr";
/// Deprecated, use `network.local.port`.
///
/// # Examples
///
/// - `8080`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `network.local.port`.")]
pub const NET_SOCK_HOST_PORT: &str = "net.sock.host.port";
/// Deprecated, use `network.peer.address`.
///
/// # Examples
///
/// - `"192.168.0.1"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `network.peer.address`.")]
pub const NET_SOCK_PEER_ADDR: &str = "net.sock.peer.addr";
/// Deprecated, no replacement at this time.
///
/// # Examples
///
/// - `"/var/my.sock"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Removed.")]
pub const NET_SOCK_PEER_NAME: &str = "net.sock.peer.name";
/// Deprecated, use `network.peer.port`.
///
/// # Examples
///
/// - `65531`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `network.peer.port`.")]
pub const NET_SOCK_PEER_PORT: &str = "net.sock.peer.port";
/// Deprecated, use `network.transport`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `network.transport`.")]
pub const NET_TRANSPORT: &str = "net.transport";
/// The ISO 3166-1 alpha-2 2-character country code associated with the mobile carrier network.
///
/// # Examples
///
/// - `"DE"`
#[cfg(feature = "semconv_experimental")]
pub const NETWORK_CARRIER_ICC: &str = "network.carrier.icc";
/// The mobile carrier country code.
///
/// # Examples
///
/// - `"310"`
#[cfg(feature = "semconv_experimental")]
pub const NETWORK_CARRIER_MCC: &str = "network.carrier.mcc";
/// The mobile carrier network code.
///
/// # Examples
///
/// - `"001"`
#[cfg(feature = "semconv_experimental")]
pub const NETWORK_CARRIER_MNC: &str = "network.carrier.mnc";
/// The name of the mobile carrier.
///
/// # Examples
///
/// - `"sprint"`
#[cfg(feature = "semconv_experimental")]
pub const NETWORK_CARRIER_NAME: &str = "network.carrier.name";
/// This describes more details regarding the connection.type. It may be the type of cell technology connection, but it could be used for describing details about a wifi connection.
///
/// # Examples
///
/// - `"LTE"`
#[cfg(feature = "semconv_experimental")]
pub const NETWORK_CONNECTION_SUBTYPE: &str = "network.connection.subtype";
/// The internet connection type.
///
/// # Examples
///
/// - `"wifi"`
#[cfg(feature = "semconv_experimental")]
pub const NETWORK_CONNECTION_TYPE: &str = "network.connection.type";
/// The network IO operation direction.
///
/// # Examples
///
/// - `"transmit"`
#[cfg(feature = "semconv_experimental")]
pub const NETWORK_IO_DIRECTION: &str = "network.io.direction";
/// Local address of the network connection - IP address or Unix domain socket name.
///
/// # Examples
///
/// - `"10.1.2.80"`
/// - `"/tmp/my.sock"`
pub const NETWORK_LOCAL_ADDRESS: &str = "network.local.address";
/// Local port number of the network connection.
///
/// # Examples
///
/// - `65123`
pub const NETWORK_LOCAL_PORT: &str = "network.local.port";
/// Peer address of the network connection - IP address or Unix domain socket name.
///
/// # Examples
///
/// - `"10.1.2.80"`
/// - `"/tmp/my.sock"`
pub const NETWORK_PEER_ADDRESS: &str = "network.peer.address";
/// Peer port number of the network connection.
///
/// # Examples
///
/// - `65123`
pub const NETWORK_PEER_PORT: &str = "network.peer.port";
/// [OSI application layer](https://osi-model.com/application-layer/) or non-OSI equivalent.
///
/// ## Notes
///
/// The value SHOULD be normalized to lowercase.
///
/// # Examples
///
/// - `"amqp"`
/// - `"http"`
/// - `"mqtt"`
pub const NETWORK_PROTOCOL_NAME: &str = "network.protocol.name";
/// The actual version of the protocol used for network communication.
///
/// ## Notes
///
/// If protocol version is subject to negotiation (for example using [ALPN](https://www.rfc-editor.org/rfc/rfc7301.html)), this attribute SHOULD be set to the negotiated version. If the actual protocol version is not known, this attribute SHOULD NOT be set.
///
/// # Examples
///
/// - `"1.1"`
/// - `"2"`
pub const NETWORK_PROTOCOL_VERSION: &str = "network.protocol.version";
/// [OSI transport layer](https://osi-model.com/transport-layer/) or [inter-process communication method](https://wikipedia.org/wiki/Inter-process_communication).
///
/// ## Notes
///
/// The value SHOULD be normalized to lowercase.
///
/// Consider always setting the transport when setting a port number, since
/// a port number is ambiguous without knowing the transport. For example
/// different processes could be listening on TCP port 12345 and UDP port 12345.
///
/// # Examples
///
/// - `"tcp"`
/// - `"udp"`
pub const NETWORK_TRANSPORT: &str = "network.transport";
/// [OSI network layer](https://osi-model.com/network-layer/) or non-OSI equivalent.
///
/// ## Notes
///
/// The value SHOULD be normalized to lowercase.
///
/// # Examples
///
/// - `"ipv4"`
/// - `"ipv6"`
pub const NETWORK_TYPE: &str = "network.type";
/// The state of event loop time
#[cfg(feature = "semconv_experimental")]
pub const NODEJS_EVENTLOOP_STATE: &str = "nodejs.eventloop.state";
/// The digest of the OCI image manifest. For container images specifically is the digest by which the container image is known.
///
/// ## Notes
///
/// Follows [OCI Image Manifest Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md), and specifically the [Digest property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests).
/// An example can be found in [Example Image Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest).
///
/// # Examples
///
/// - `"sha256:e4ca62c0d62f3e886e684806dfe9d4e0cda60d54986898173c1083856cfda0f4"`
#[cfg(feature = "semconv_experimental")]
pub const OCI_MANIFEST_DIGEST: &str = "oci.manifest.digest";
/// Parent-child Reference type
///
/// ## Notes
///
/// The causal relationship between a child Span and a parent Span
#[cfg(feature = "semconv_experimental")]
pub const OPENTRACING_REF_TYPE: &str = "opentracing.ref_type";
/// Unique identifier for a particular build or compilation of the operating system.
///
/// # Examples
///
/// - `"TQ3C.230805.001.B2"`
/// - `"20E247"`
/// - `"22621"`
#[cfg(feature = "semconv_experimental")]
pub const OS_BUILD_ID: &str = "os.build_id";
/// Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands.
///
/// # Examples
///
/// - `"Microsoft Windows [Version 10.0.18363.778]"`
/// - `"Ubuntu 18.04.1 LTS"`
#[cfg(feature = "semconv_experimental")]
pub const OS_DESCRIPTION: &str = "os.description";
/// Human readable operating system name.
///
/// # Examples
///
/// - `"iOS"`
/// - `"Android"`
/// - `"Ubuntu"`
#[cfg(feature = "semconv_experimental")]
pub const OS_NAME: &str = "os.name";
/// The operating system type
#[cfg(feature = "semconv_experimental")]
pub const OS_TYPE: &str = "os.type";
/// The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes).
///
/// # Examples
///
/// - `"14.2.1"`
/// - `"18.04.1"`
#[cfg(feature = "semconv_experimental")]
pub const OS_VERSION: &str = "os.version";
/// Deprecated. Use the `otel.scope.name` attribute
///
/// # Examples
///
/// - `"io.opentelemetry.contrib.mongodb"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Use the `otel.scope.name` attribute.")]
pub const OTEL_LIBRARY_NAME: &str = "otel.library.name";
/// Deprecated. Use the `otel.scope.version` attribute.
///
/// # Examples
///
/// - `"1.0.0"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Use the `otel.scope.version` attribute.")]
pub const OTEL_LIBRARY_VERSION: &str = "otel.library.version";
/// The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP).
///
/// # Examples
///
/// - `"io.opentelemetry.contrib.mongodb"`
pub const OTEL_SCOPE_NAME: &str = "otel.scope.name";
/// The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP).
///
/// # Examples
///
/// - `"1.0.0"`
pub const OTEL_SCOPE_VERSION: &str = "otel.scope.version";
/// Name of the code, either "OK" or "ERROR". MUST NOT be set if the status code is UNSET
pub const OTEL_STATUS_CODE: &str = "otel.status_code";
/// Description of the Status if it has a value, otherwise not set.
///
/// # Examples
///
/// - `"resource not found"`
pub const OTEL_STATUS_DESCRIPTION: &str = "otel.status_description";
/// Deprecated, use `db.client.connection.state` instead.
///
/// # Examples
///
/// - `"idle"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `db.client.connection.state`.")]
pub const STATE: &str = "state";
/// The [`service.name`](/docs/resource/README.md#service) of the remote service. SHOULD be equal to the actual `service.name` resource attribute of the remote service if any.
///
/// # Examples
///
/// - `"AuthTokenCache"`
#[cfg(feature = "semconv_experimental")]
pub const PEER_SERVICE: &str = "peer.service";
/// Deprecated, use `db.client.connection.pool.name` instead.
///
/// # Examples
///
/// - `"myDataSource"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `db.client.connection.pool.name`.")]
pub const POOL_NAME: &str = "pool.name";
/// Length of the process.command_args array
///
/// ## Notes
///
/// This field can be useful for querying or performing bucket analysis on how many arguments were provided to start a process. More arguments may be an indication of suspicious activity.
///
/// # Examples
///
/// - `4`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_ARGS_COUNT: &str = "process.args_count";
/// The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`.
///
/// # Examples
///
/// - `"cmd/otelcol"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_COMMAND: &str = "process.command";
/// All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`.
///
/// # Examples
///
/// - `[
/// "cmd/otecol",
/// "--config=config.yaml",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_COMMAND_ARGS: &str = "process.command_args";
/// The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead.
///
/// # Examples
///
/// - `"C:\\cmd\\otecol --config=\"my directory\\config.yaml\""`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_COMMAND_LINE: &str = "process.command_line";
/// Specifies whether the context switches for this data point were voluntary or involuntary
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_CONTEXT_SWITCH_TYPE: &str = "process.context_switch_type";
/// Deprecated, use `cpu.mode` instead
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `cpu.mode`")]
pub const PROCESS_CPU_STATE: &str = "process.cpu.state";
/// The date and time the process was created, in ISO 8601 format.
///
/// # Examples
///
/// - `"2023-11-21T09:25:34.853Z"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_CREATION_TIME: &str = "process.creation.time";
/// The GNU build ID as found in the `.note.gnu.build-id` ELF section (hex string).
///
/// # Examples
///
/// - `"c89b11207f6479603b0d49bf291c092c2b719293"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_EXECUTABLE_BUILD_ID_GNU: &str = "process.executable.build_id.gnu";
/// The Go build ID as retrieved by `go tool buildid <go executable>`.
///
/// # Examples
///
/// - `"foh3mEXu7BLZjsN9pOwG/kATcXlYVCDEFouRMQed_/WwRFB1hPo9LBkekthSPG/x8hMC8emW2cCjXD0_1aY"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_EXECUTABLE_BUILD_ID_GO: &str = "process.executable.build_id.go";
/// Profiling specific build ID for executables. See the OTel specification for Profiles for more information.
///
/// # Examples
///
/// - `"600DCAFE4A110000F2BF38C493F5FB92"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_EXECUTABLE_BUILD_ID_PROFILING: &str = "process.executable.build_id.profiling";
/// The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`.
///
/// # Examples
///
/// - `"otelcol"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_EXECUTABLE_NAME: &str = "process.executable.name";
/// The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`.
///
/// # Examples
///
/// - `"/usr/bin/cmd/otelcol"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_EXECUTABLE_PATH: &str = "process.executable.path";
/// The exit code of the process.
///
/// # Examples
///
/// - `127`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_EXIT_CODE: &str = "process.exit.code";
/// The date and time the process exited, in ISO 8601 format.
///
/// # Examples
///
/// - `"2023-11-21T09:26:12.315Z"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_EXIT_TIME: &str = "process.exit.time";
/// The PID of the process's group leader. This is also the process group ID (PGID) of the process.
///
/// # Examples
///
/// - `23`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_GROUP_LEADER_PID: &str = "process.group_leader.pid";
/// Whether the process is connected to an interactive shell
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_INTERACTIVE: &str = "process.interactive";
/// The username of the user that owns the process.
///
/// # Examples
///
/// - `"root"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_OWNER: &str = "process.owner";
/// The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_PAGING_FAULT_TYPE: &str = "process.paging.fault_type";
/// Parent Process identifier (PPID).
///
/// # Examples
///
/// - `111`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_PARENT_PID: &str = "process.parent_pid";
/// Process identifier (PID).
///
/// # Examples
///
/// - `1234`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_PID: &str = "process.pid";
/// The real user ID (RUID) of the process.
///
/// # Examples
///
/// - `1000`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_REAL_USER_ID: &str = "process.real_user.id";
/// The username of the real user of the process.
///
/// # Examples
///
/// - `"operator"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_REAL_USER_NAME: &str = "process.real_user.name";
/// An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment.
///
/// # Examples
///
/// - `"Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_RUNTIME_DESCRIPTION: &str = "process.runtime.description";
/// The name of the runtime of this process.
///
/// # Examples
///
/// - `"OpenJDK Runtime Environment"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_RUNTIME_NAME: &str = "process.runtime.name";
/// The version of the runtime of this process, as returned by the runtime without modification.
///
/// # Examples
///
/// - `"14.0.2"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_RUNTIME_VERSION: &str = "process.runtime.version";
/// The saved user ID (SUID) of the process.
///
/// # Examples
///
/// - `1002`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_SAVED_USER_ID: &str = "process.saved_user.id";
/// The username of the saved user.
///
/// # Examples
///
/// - `"operator"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_SAVED_USER_NAME: &str = "process.saved_user.name";
/// The PID of the process's session leader. This is also the session ID (SID) of the process.
///
/// # Examples
///
/// - `14`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_SESSION_LEADER_PID: &str = "process.session_leader.pid";
/// Process title (proctitle)
///
/// ## Notes
///
/// In many Unix-like systems, process title (proctitle), is the string that represents the name or command line of a running process, displayed by system monitoring tools like ps, top, and htop.
///
/// # Examples
///
/// - `"cat /etc/hostname"`
/// - `"xfce4-session"`
/// - `"bash"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_TITLE: &str = "process.title";
/// The effective user ID (EUID) of the process.
///
/// # Examples
///
/// - `1001`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_USER_ID: &str = "process.user.id";
/// The username of the effective user of the process.
///
/// # Examples
///
/// - `"root"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_USER_NAME: &str = "process.user.name";
/// Virtual process identifier.
///
/// ## Notes
///
/// The process ID within a PID namespace. This is not necessarily unique across all processes on the host but it is unique within the process namespace that the process exists within.
///
/// # Examples
///
/// - `12`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_VPID: &str = "process.vpid";
/// The working directory of the process.
///
/// # Examples
///
/// - `"/root"`
#[cfg(feature = "semconv_experimental")]
pub const PROCESS_WORKING_DIRECTORY: &str = "process.working_directory";
/// Describes the interpreter or compiler of a single frame.
///
/// # Examples
///
/// - `"cpython"`
#[cfg(feature = "semconv_experimental")]
pub const PROFILE_FRAME_TYPE: &str = "profile.frame.type";
/// The [error codes](https://connect.build/docs/protocol/#error-codes) of the Connect request. Error codes are always string values
#[cfg(feature = "semconv_experimental")]
pub const RPC_CONNECT_RPC_ERROR_CODE: &str = "rpc.connect_rpc.error_code";
/// Connect request metadata, `<key>` being the normalized Connect Metadata key (lowercase), the value being the metadata values.
///
/// ## Notes
///
/// Instrumentations SHOULD require an explicit configuration of which metadata values are to be captured. Including all request metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information.
///
/// # Examples
///
/// - `"rpc.request.metadata.my-custom-metadata-attribute=[\"1.2.3.4\", \"1.2.3.5\"]"`
#[cfg(feature = "semconv_experimental")]
pub const RPC_CONNECT_RPC_REQUEST_METADATA: &str = "rpc.connect_rpc.request.metadata";
/// Connect response metadata, `<key>` being the normalized Connect Metadata key (lowercase), the value being the metadata values.
///
/// ## Notes
///
/// Instrumentations SHOULD require an explicit configuration of which metadata values are to be captured. Including all response metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information.
///
/// # Examples
///
/// - `"rpc.response.metadata.my-custom-metadata-attribute=[\"attribute_value\"]"`
#[cfg(feature = "semconv_experimental")]
pub const RPC_CONNECT_RPC_RESPONSE_METADATA: &str = "rpc.connect_rpc.response.metadata";
/// gRPC request metadata, `<key>` being the normalized gRPC Metadata key (lowercase), the value being the metadata values.
///
/// ## Notes
///
/// Instrumentations SHOULD require an explicit configuration of which metadata values are to be captured. Including all request metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information.
///
/// # Examples
///
/// - `"rpc.grpc.request.metadata.my-custom-metadata-attribute=[\"1.2.3.4\", \"1.2.3.5\"]"`
#[cfg(feature = "semconv_experimental")]
pub const RPC_GRPC_REQUEST_METADATA: &str = "rpc.grpc.request.metadata";
/// gRPC response metadata, `<key>` being the normalized gRPC Metadata key (lowercase), the value being the metadata values.
///
/// ## Notes
///
/// Instrumentations SHOULD require an explicit configuration of which metadata values are to be captured. Including all response metadata values can be a security risk - explicit configuration helps avoid leaking sensitive information.
///
/// # Examples
///
/// - `"rpc.grpc.response.metadata.my-custom-metadata-attribute=[\"attribute_value\"]"`
#[cfg(feature = "semconv_experimental")]
pub const RPC_GRPC_RESPONSE_METADATA: &str = "rpc.grpc.response.metadata";
/// The [numeric status code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of the gRPC request
#[cfg(feature = "semconv_experimental")]
pub const RPC_GRPC_STATUS_CODE: &str = "rpc.grpc.status_code";
/// `error.code` property of response if it is an error response.
///
/// # Examples
///
/// - `-32700`
/// - `100`
#[cfg(feature = "semconv_experimental")]
pub const RPC_JSONRPC_ERROR_CODE: &str = "rpc.jsonrpc.error_code";
/// `error.message` property of response if it is an error response.
///
/// # Examples
///
/// - `"Parse error"`
/// - `"User already exists"`
#[cfg(feature = "semconv_experimental")]
pub const RPC_JSONRPC_ERROR_MESSAGE: &str = "rpc.jsonrpc.error_message";
/// `id` property of request or response. Since protocol allows id to be int, string, `null` or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of `null` value. Omit entirely if this is a notification.
///
/// # Examples
///
/// - `"10"`
/// - `"request-7"`
/// - `""`
#[cfg(feature = "semconv_experimental")]
pub const RPC_JSONRPC_REQUEST_ID: &str = "rpc.jsonrpc.request_id";
/// Protocol version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0 doesn't specify this, the value can be omitted.
///
/// # Examples
///
/// - `"2.0"`
/// - `"1.0"`
#[cfg(feature = "semconv_experimental")]
pub const RPC_JSONRPC_VERSION: &str = "rpc.jsonrpc.version";
/// Compressed size of the message in bytes
#[cfg(feature = "semconv_experimental")]
pub const RPC_MESSAGE_COMPRESSED_SIZE: &str = "rpc.message.compressed_size";
/// MUST be calculated as two different counters starting from `1` one for sent messages and one for received message.
///
/// ## Notes
///
/// This way we guarantee that the values will be consistent between different implementations
#[cfg(feature = "semconv_experimental")]
pub const RPC_MESSAGE_ID: &str = "rpc.message.id";
/// Whether this is a received or sent message
#[cfg(feature = "semconv_experimental")]
pub const RPC_MESSAGE_TYPE: &str = "rpc.message.type";
/// Uncompressed size of the message in bytes
#[cfg(feature = "semconv_experimental")]
pub const RPC_MESSAGE_UNCOMPRESSED_SIZE: &str = "rpc.message.uncompressed_size";
/// The name of the (logical) method being called, must be equal to the $method part in the span name.
///
/// ## Notes
///
/// This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side).
///
/// # Examples
///
/// - `"exampleMethod"`
#[cfg(feature = "semconv_experimental")]
pub const RPC_METHOD: &str = "rpc.method";
/// The full (logical) name of the service being called, including its package name, if applicable.
///
/// ## Notes
///
/// This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The `code.namespace` attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side).
///
/// # Examples
///
/// - `"myservice.EchoService"`
#[cfg(feature = "semconv_experimental")]
pub const RPC_SERVICE: &str = "rpc.service";
/// A string identifying the remoting system. See below for a list of well-known identifiers
#[cfg(feature = "semconv_experimental")]
pub const RPC_SYSTEM: &str = "rpc.system";
/// Server domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
///
/// ## Notes
///
/// When observed from the client side, and when communicating through an intermediary, `server.address` SHOULD represent the server address behind any intermediaries, for example proxies, if it's available.
///
/// # Examples
///
/// - `"example.com"`
/// - `"10.1.2.80"`
/// - `"/tmp/my.sock"`
pub const SERVER_ADDRESS: &str = "server.address";
/// Server port number.
///
/// ## Notes
///
/// When observed from the client side, and when communicating through an intermediary, `server.port` SHOULD represent the server port behind any intermediaries, for example proxies, if it's available.
///
/// # Examples
///
/// - `80`
/// - `8080`
/// - `443`
pub const SERVER_PORT: &str = "server.port";
/// The string ID of the service instance.
///
/// ## Notes
///
/// MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words
/// `service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to
/// distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled
/// service).
///
/// Implementations, such as SDKs, are recommended to generate a random Version 1 or Version 4 [RFC
/// 4122](https://www.ietf.org/rfc/rfc4122.txt) UUID, but are free to use an inherent unique ID as the source of
/// this value if stability is desirable. In that case, the ID SHOULD be used as source of a UUID Version 5 and
/// SHOULD use the following UUID as the namespace: `4d63009a-8d0f-11ee-aad7-4c796ed8e320`.
///
/// UUIDs are typically recommended, as only an opaque value for the purposes of identifying a service instance is
/// needed. Similar to what can be seen in the man page for the
/// [`/etc/machine-id`](https://www.freedesktop.org/software/systemd/man/machine-id.html) file, the underlying
/// data, such as pod name and namespace should be treated as confidential, being the user's choice to expose it
/// or not via another resource attribute.
///
/// For applications running behind an application server (like unicorn), we do not recommend using one identifier
/// for all processes participating in the application. Instead, it's recommended each division (e.g. a worker
/// thread in unicorn) to have its own instance.id.
///
/// It's not recommended for a Collector to set `service.instance.id` if it can't unambiguously determine the
/// service instance that is generating that telemetry. For instance, creating an UUID based on `pod.name` will
/// likely be wrong, as the Collector might not know from which container within that pod the telemetry originated.
/// However, Collectors can set the `service.instance.id` if they can unambiguously determine the service instance
/// for that telemetry. This is typically the case for scraping receivers, as they know the target address and
/// port.
///
/// # Examples
///
/// - `"627cc493-f310-47de-96bd-71410b7dec09"`
#[cfg(feature = "semconv_experimental")]
pub const SERVICE_INSTANCE_ID: &str = "service.instance.id";
/// Logical name of the service.
///
/// ## Notes
///
/// MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`.
///
/// # Examples
///
/// - `"shoppingcart"`
pub const SERVICE_NAME: &str = "service.name";
/// A namespace for `service.name`.
///
/// ## Notes
///
/// A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace.
///
/// # Examples
///
/// - `"Shop"`
#[cfg(feature = "semconv_experimental")]
pub const SERVICE_NAMESPACE: &str = "service.namespace";
/// The version string of the service API or implementation. The format is not defined by these conventions.
///
/// # Examples
///
/// - `"2.0.0"`
/// - `"a01dbef8a"`
pub const SERVICE_VERSION: &str = "service.version";
/// A unique id to identify a session.
///
/// # Examples
///
/// - `"00112233-4455-6677-8899-aabbccddeeff"`
#[cfg(feature = "semconv_experimental")]
pub const SESSION_ID: &str = "session.id";
/// The previous `session.id` for this user, when known.
///
/// # Examples
///
/// - `"00112233-4455-6677-8899-aabbccddeeff"`
#[cfg(feature = "semconv_experimental")]
pub const SESSION_PREVIOUS_ID: &str = "session.previous_id";
/// SignalR HTTP connection closure status.
///
/// # Examples
///
/// - `"app_shutdown"`
/// - `"timeout"`
pub const SIGNALR_CONNECTION_STATUS: &str = "signalr.connection.status";
/// [SignalR transport type](https://github.com/dotnet/aspnetcore/blob/main/src/SignalR/docs/specs/TransportProtocols.md)
///
/// # Examples
///
/// - `"web_sockets"`
/// - `"long_polling"`
pub const SIGNALR_TRANSPORT: &str = "signalr.transport";
/// Source address - domain name if available without reverse DNS lookup; otherwise, IP address or Unix domain socket name.
///
/// ## Notes
///
/// When observed from the destination side, and when communicating through an intermediary, `source.address` SHOULD represent the source address behind any intermediaries, for example proxies, if it's available.
///
/// # Examples
///
/// - `"source.example.com"`
/// - `"10.1.2.80"`
/// - `"/tmp/my.sock"`
#[cfg(feature = "semconv_experimental")]
pub const SOURCE_ADDRESS: &str = "source.address";
/// Source port number
///
/// # Examples
///
/// - `3389`
/// - `2888`
#[cfg(feature = "semconv_experimental")]
pub const SOURCE_PORT: &str = "source.port";
/// The logical CPU number \[0..n-1\]
///
/// # Examples
///
/// - `1`
#[cfg(feature = "semconv_experimental")]
pub const SYSTEM_CPU_LOGICAL_NUMBER: &str = "system.cpu.logical_number";
/// Deprecated, use `cpu.mode` instead.
///
/// # Examples
///
/// - `"idle"`
/// - `"interrupt"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `cpu.mode`")]
pub const SYSTEM_CPU_STATE: &str = "system.cpu.state";
/// The device identifier
///
/// # Examples
///
/// - `"(identifier)"`
#[cfg(feature = "semconv_experimental")]
pub const SYSTEM_DEVICE: &str = "system.device";
/// The filesystem mode
///
/// # Examples
///
/// - `"rw, ro"`
#[cfg(feature = "semconv_experimental")]
pub const SYSTEM_FILESYSTEM_MODE: &str = "system.filesystem.mode";
/// The filesystem mount path
///
/// # Examples
///
/// - `"/mnt/data"`
#[cfg(feature = "semconv_experimental")]
pub const SYSTEM_FILESYSTEM_MOUNTPOINT: &str = "system.filesystem.mountpoint";
/// The filesystem state
///
/// # Examples
///
/// - `"used"`
#[cfg(feature = "semconv_experimental")]
pub const SYSTEM_FILESYSTEM_STATE: &str = "system.filesystem.state";
/// The filesystem type
///
/// # Examples
///
/// - `"ext4"`
#[cfg(feature = "semconv_experimental")]
pub const SYSTEM_FILESYSTEM_TYPE: &str = "system.filesystem.type";
/// The memory state
///
/// # Examples
///
/// - `"free"`
/// - `"cached"`
#[cfg(feature = "semconv_experimental")]
pub const SYSTEM_MEMORY_STATE: &str = "system.memory.state";
/// A stateless protocol MUST NOT set this attribute
///
/// # Examples
///
/// - `"close_wait"`
#[cfg(feature = "semconv_experimental")]
pub const SYSTEM_NETWORK_STATE: &str = "system.network.state";
/// The paging access direction
///
/// # Examples
///
/// - `"in"`
#[cfg(feature = "semconv_experimental")]
pub const SYSTEM_PAGING_DIRECTION: &str = "system.paging.direction";
/// The memory paging state
///
/// # Examples
///
/// - `"free"`
#[cfg(feature = "semconv_experimental")]
pub const SYSTEM_PAGING_STATE: &str = "system.paging.state";
/// The memory paging type
///
/// # Examples
///
/// - `"minor"`
#[cfg(feature = "semconv_experimental")]
pub const SYSTEM_PAGING_TYPE: &str = "system.paging.type";
/// The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES)
///
/// # Examples
///
/// - `"running"`
#[cfg(feature = "semconv_experimental")]
pub const SYSTEM_PROCESS_STATUS: &str = "system.process.status";
/// Deprecated, use `system.process.status` instead.
///
/// # Examples
///
/// - `"running"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `system.process.status`.")]
pub const SYSTEM_PROCESSES_STATUS: &str = "system.processes.status";
/// The name of the auto instrumentation agent or distribution, if used.
///
/// ## Notes
///
/// Official auto instrumentation agents and distributions SHOULD set the `telemetry.distro.name` attribute to
/// a string starting with `opentelemetry-`, e.g. `opentelemetry-java-instrumentation`.
///
/// # Examples
///
/// - `"parts-unlimited-java"`
#[cfg(feature = "semconv_experimental")]
pub const TELEMETRY_DISTRO_NAME: &str = "telemetry.distro.name";
/// The version string of the auto instrumentation agent or distribution, if used.
///
/// # Examples
///
/// - `"1.2.3"`
#[cfg(feature = "semconv_experimental")]
pub const TELEMETRY_DISTRO_VERSION: &str = "telemetry.distro.version";
/// The language of the telemetry SDK
pub const TELEMETRY_SDK_LANGUAGE: &str = "telemetry.sdk.language";
/// The name of the telemetry SDK as defined above.
///
/// ## Notes
///
/// The OpenTelemetry SDK MUST set the `telemetry.sdk.name` attribute to `opentelemetry`.
/// If another SDK, like a fork or a vendor-provided implementation, is used, this SDK MUST set the
/// `telemetry.sdk.name` attribute to the fully-qualified class or module name of this SDK's main entry point
/// or another suitable identifier depending on the language.
/// The identifier `opentelemetry` is reserved and MUST NOT be used in this case.
/// All custom identifiers SHOULD be stable across different versions of an implementation.
///
/// # Examples
///
/// - `"opentelemetry"`
pub const TELEMETRY_SDK_NAME: &str = "telemetry.sdk.name";
/// The version string of the telemetry SDK.
///
/// # Examples
///
/// - `"1.2.3"`
pub const TELEMETRY_SDK_VERSION: &str = "telemetry.sdk.version";
/// The fully qualified human readable name of the [test case](https://en.wikipedia.org/wiki/Test_case).
///
/// # Examples
///
/// - `"org.example.TestCase1.test1"`
/// - `"example/tests/TestCase1.test1"`
/// - `"ExampleTestCase1_test1"`
#[cfg(feature = "semconv_experimental")]
pub const TEST_CASE_NAME: &str = "test.case.name";
/// The status of the actual test case result from test execution.
///
/// # Examples
///
/// - `"pass"`
/// - `"fail"`
#[cfg(feature = "semconv_experimental")]
pub const TEST_CASE_RESULT_STATUS: &str = "test.case.result.status";
/// The human readable name of a [test suite](https://en.wikipedia.org/wiki/Test_suite).
///
/// # Examples
///
/// - `"TestSuite1"`
#[cfg(feature = "semconv_experimental")]
pub const TEST_SUITE_NAME: &str = "test.suite.name";
/// The status of the test suite run.
///
/// # Examples
///
/// - `"success"`
/// - `"failure"`
/// - `"skipped"`
/// - `"aborted"`
/// - `"timed_out"`
/// - `"in_progress"`
#[cfg(feature = "semconv_experimental")]
pub const TEST_SUITE_RUN_STATUS: &str = "test.suite.run.status";
/// Current "managed" thread ID (as opposed to OS thread ID).
///
/// # Examples
///
/// - `42`
#[cfg(feature = "semconv_experimental")]
pub const THREAD_ID: &str = "thread.id";
/// Current thread name.
///
/// # Examples
///
/// - `"main"`
#[cfg(feature = "semconv_experimental")]
pub const THREAD_NAME: &str = "thread.name";
/// String indicating the [cipher](https://datatracker.ietf.org/doc/html/rfc5246#appendix-A.5) used during the current connection.
///
/// ## Notes
///
/// The values allowed for `tls.cipher` MUST be one of the `Descriptions` of the [registered TLS Cipher Suits](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#table-tls-parameters-4).
///
/// # Examples
///
/// - `"TLS_RSA_WITH_3DES_EDE_CBC_SHA"`
/// - `"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_CIPHER: &str = "tls.cipher";
/// PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of `client.certificate_chain` since this value also exists in that list.
///
/// # Examples
///
/// - `"MII..."`
#[cfg(feature = "semconv_experimental")]
pub const TLS_CLIENT_CERTIFICATE: &str = "tls.client.certificate";
/// Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of `client.certificate` since that value should be the first certificate in the chain.
///
/// # Examples
///
/// - `[
/// "MII...",
/// "MI...",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const TLS_CLIENT_CERTIFICATE_CHAIN: &str = "tls.client.certificate_chain";
/// Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash.
///
/// # Examples
///
/// - `"0F76C7F2C55BFD7D8E8B8F4BFBF0C9EC"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_CLIENT_HASH_MD5: &str = "tls.client.hash.md5";
/// Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash.
///
/// # Examples
///
/// - `"9E393D93138888D288266C2D915214D1D1CCEB2A"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_CLIENT_HASH_SHA1: &str = "tls.client.hash.sha1";
/// Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash.
///
/// # Examples
///
/// - `"0687F666A054EF17A08E2F2162EAB4CBC0D265E1D7875BE74BF3C712CA92DAF0"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_CLIENT_HASH_SHA256: &str = "tls.client.hash.sha256";
/// Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client.
///
/// # Examples
///
/// - `"CN=Example Root CA, OU=Infrastructure Team, DC=example, DC=com"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_CLIENT_ISSUER: &str = "tls.client.issuer";
/// A hash that identifies clients based on how they perform an SSL/TLS handshake.
///
/// # Examples
///
/// - `"d4e5b18d6b55c71272893221c96ba240"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_CLIENT_JA3: &str = "tls.client.ja3";
/// Date/Time indicating when client certificate is no longer considered valid.
///
/// # Examples
///
/// - `"2021-01-01T00:00:00.000Z"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_CLIENT_NOT_AFTER: &str = "tls.client.not_after";
/// Date/Time indicating when client certificate is first considered valid.
///
/// # Examples
///
/// - `"1970-01-01T00:00:00.000Z"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_CLIENT_NOT_BEFORE: &str = "tls.client.not_before";
/// Deprecated, use `server.address` instead.
///
/// # Examples
///
/// - `"opentelemetry.io"`
#[cfg(feature = "semconv_experimental")]
#[deprecated(note = "Replaced by `server.address`.")]
pub const TLS_CLIENT_SERVER_NAME: &str = "tls.client.server_name";
/// Distinguished name of subject of the x.509 certificate presented by the client.
///
/// # Examples
///
/// - `"CN=myclient, OU=Documentation Team, DC=example, DC=com"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_CLIENT_SUBJECT: &str = "tls.client.subject";
/// Array of ciphers offered by the client during the client hello.
///
/// # Examples
///
/// - `[
/// "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
/// "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const TLS_CLIENT_SUPPORTED_CIPHERS: &str = "tls.client.supported_ciphers";
/// String indicating the curve used for the given cipher, when applicable
///
/// # Examples
///
/// - `"secp256r1"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_CURVE: &str = "tls.curve";
/// Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel.
///
/// # Examples
///
/// - `true`
#[cfg(feature = "semconv_experimental")]
pub const TLS_ESTABLISHED: &str = "tls.established";
/// String indicating the protocol being tunneled. Per the values in the [IANA registry](https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case.
///
/// # Examples
///
/// - `"http/1.1"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_NEXT_PROTOCOL: &str = "tls.next_protocol";
/// Normalized lowercase protocol name parsed from original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES)
#[cfg(feature = "semconv_experimental")]
pub const TLS_PROTOCOL_NAME: &str = "tls.protocol.name";
/// Numeric part of the version parsed from the original string of the negotiated [SSL/TLS protocol version](https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html#RETURN-VALUES)
///
/// # Examples
///
/// - `"1.2"`
/// - `"3"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_PROTOCOL_VERSION: &str = "tls.protocol.version";
/// Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation.
///
/// # Examples
///
/// - `true`
#[cfg(feature = "semconv_experimental")]
pub const TLS_RESUMED: &str = "tls.resumed";
/// PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of `server.certificate_chain` since this value also exists in that list.
///
/// # Examples
///
/// - `"MII..."`
#[cfg(feature = "semconv_experimental")]
pub const TLS_SERVER_CERTIFICATE: &str = "tls.server.certificate";
/// Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of `server.certificate` since that value should be the first certificate in the chain.
///
/// # Examples
///
/// - `[
/// "MII...",
/// "MI...",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const TLS_SERVER_CERTIFICATE_CHAIN: &str = "tls.server.certificate_chain";
/// Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash.
///
/// # Examples
///
/// - `"0F76C7F2C55BFD7D8E8B8F4BFBF0C9EC"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_SERVER_HASH_MD5: &str = "tls.server.hash.md5";
/// Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash.
///
/// # Examples
///
/// - `"9E393D93138888D288266C2D915214D1D1CCEB2A"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_SERVER_HASH_SHA1: &str = "tls.server.hash.sha1";
/// Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash.
///
/// # Examples
///
/// - `"0687F666A054EF17A08E2F2162EAB4CBC0D265E1D7875BE74BF3C712CA92DAF0"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_SERVER_HASH_SHA256: &str = "tls.server.hash.sha256";
/// Distinguished name of [subject](https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.6) of the issuer of the x.509 certificate presented by the client.
///
/// # Examples
///
/// - `"CN=Example Root CA, OU=Infrastructure Team, DC=example, DC=com"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_SERVER_ISSUER: &str = "tls.server.issuer";
/// A hash that identifies servers based on how they perform an SSL/TLS handshake.
///
/// # Examples
///
/// - `"d4e5b18d6b55c71272893221c96ba240"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_SERVER_JA3S: &str = "tls.server.ja3s";
/// Date/Time indicating when server certificate is no longer considered valid.
///
/// # Examples
///
/// - `"2021-01-01T00:00:00.000Z"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_SERVER_NOT_AFTER: &str = "tls.server.not_after";
/// Date/Time indicating when server certificate is first considered valid.
///
/// # Examples
///
/// - `"1970-01-01T00:00:00.000Z"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_SERVER_NOT_BEFORE: &str = "tls.server.not_before";
/// Distinguished name of subject of the x.509 certificate presented by the server.
///
/// # Examples
///
/// - `"CN=myserver, OU=Documentation Team, DC=example, DC=com"`
#[cfg(feature = "semconv_experimental")]
pub const TLS_SERVER_SUBJECT: &str = "tls.server.subject";
/// Domain extracted from the `url.full`, such as "opentelemetry.io".
///
/// ## Notes
///
/// In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the domain field. If the URL contains a [literal IPv6 address](https://www.rfc-editor.org/rfc/rfc2732#section-2) enclosed by `[` and `]`, the `[` and `]` characters should also be captured in the domain field.
///
/// # Examples
///
/// - `"www.foo.bar"`
/// - `"opentelemetry.io"`
/// - `"3.12.167.2"`
/// - `"[1080:0:0:0:8:800:200C:417A]"`
#[cfg(feature = "semconv_experimental")]
pub const URL_DOMAIN: &str = "url.domain";
/// The file extension extracted from the `url.full`, excluding the leading dot.
///
/// ## Notes
///
/// The file extension is only set if it exists, as not every url has a file extension. When the file name has multiple extensions `example.tar.gz`, only the last one should be captured `gz`, not `tar.gz`.
///
/// # Examples
///
/// - `"png"`
/// - `"gz"`
#[cfg(feature = "semconv_experimental")]
pub const URL_EXTENSION: &str = "url.extension";
/// The [URI fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component
///
/// # Examples
///
/// - `"SemConv"`
pub const URL_FRAGMENT: &str = "url.fragment";
/// Absolute URL describing a network resource according to [RFC3986](https://www.rfc-editor.org/rfc/rfc3986)
///
/// ## Notes
///
/// For network calls, URL usually has `scheme://host[:port][path][?query][#fragment]` format, where the fragment is not transmitted over HTTP, but if it is known, it SHOULD be included nevertheless.
/// `url.full` MUST NOT contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case username and password SHOULD be redacted and attribute's value SHOULD be `https://REDACTED:REDACTED@www.example.com/`.
/// `url.full` SHOULD capture the absolute URL when it is available (or can be reconstructed). Sensitive content provided in `url.full` SHOULD be scrubbed when instrumentations can identify it.
///
/// # Examples
///
/// - `"https://www.foo.bar/search?q=OpenTelemetry#SemConv"`
/// - `"//localhost"`
pub const URL_FULL: &str = "url.full";
/// Unmodified original URL as seen in the event source.
///
/// ## Notes
///
/// In network monitoring, the observed URL may be a full URL, whereas in access logs, the URL is often just represented as a path. This field is meant to represent the URL as it was observed, complete or not.
/// `url.original` might contain credentials passed via URL in form of `https://username:password@www.example.com/`. In such case password and username SHOULD NOT be redacted and attribute's value SHOULD remain the same.
///
/// # Examples
///
/// - `"https://www.foo.bar/search?q=OpenTelemetry#SemConv"`
/// - `"search?q=OpenTelemetry"`
#[cfg(feature = "semconv_experimental")]
pub const URL_ORIGINAL: &str = "url.original";
/// The [URI path](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) component
///
/// ## Notes
///
/// Sensitive content provided in `url.path` SHOULD be scrubbed when instrumentations can identify it.
///
/// # Examples
///
/// - `"/search"`
pub const URL_PATH: &str = "url.path";
/// Port extracted from the `url.full`
///
/// # Examples
///
/// - `443`
#[cfg(feature = "semconv_experimental")]
pub const URL_PORT: &str = "url.port";
/// The [URI query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component
///
/// ## Notes
///
/// Sensitive content provided in `url.query` SHOULD be scrubbed when instrumentations can identify it.
///
/// # Examples
///
/// - `"q=OpenTelemetry"`
pub const URL_QUERY: &str = "url.query";
/// The highest registered url domain, stripped of the subdomain.
///
/// ## Notes
///
/// This value can be determined precisely with the [public suffix list](http://publicsuffix.org). For example, the registered domain for `foo.example.com` is `example.com`. Trying to approximate this by simply taking the last two labels will not work well for TLDs such as `co.uk`.
///
/// # Examples
///
/// - `"example.com"`
/// - `"foo.co.uk"`
#[cfg(feature = "semconv_experimental")]
pub const URL_REGISTERED_DOMAIN: &str = "url.registered_domain";
/// The [URI scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component identifying the used protocol.
///
/// # Examples
///
/// - `"https"`
/// - `"ftp"`
/// - `"telnet"`
pub const URL_SCHEME: &str = "url.scheme";
/// The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain.
///
/// ## Notes
///
/// The subdomain portion of `www.east.mydomain.co.uk` is `east`. If the domain has multiple levels of subdomain, such as `sub2.sub1.example.com`, the subdomain field should contain `sub2.sub1`, with no trailing period.
///
/// # Examples
///
/// - `"east"`
/// - `"sub2.sub1"`
#[cfg(feature = "semconv_experimental")]
pub const URL_SUBDOMAIN: &str = "url.subdomain";
/// The low-cardinality template of an [absolute path reference](https://www.rfc-editor.org/rfc/rfc3986#section-4.2).
///
/// # Examples
///
/// - `"/users/{id}"`
/// - `"/users/:id"`
/// - `"/users?id={id}"`
#[cfg(feature = "semconv_experimental")]
pub const URL_TEMPLATE: &str = "url.template";
/// The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is `com`.
///
/// ## Notes
///
/// This value can be determined precisely with the [public suffix list](http://publicsuffix.org).
///
/// # Examples
///
/// - `"com"`
/// - `"co.uk"`
#[cfg(feature = "semconv_experimental")]
pub const URL_TOP_LEVEL_DOMAIN: &str = "url.top_level_domain";
/// User email address.
///
/// # Examples
///
/// - `"a.einstein@example.com"`
#[cfg(feature = "semconv_experimental")]
pub const USER_EMAIL: &str = "user.email";
/// User's full name
///
/// # Examples
///
/// - `"Albert Einstein"`
#[cfg(feature = "semconv_experimental")]
pub const USER_FULL_NAME: &str = "user.full_name";
/// Unique user hash to correlate information for a user in anonymized form.
///
/// ## Notes
///
/// Useful if `user.id` or `user.name` contain confidential information and cannot be used.
///
/// # Examples
///
/// - `"364fc68eaf4c8acec74a4e52d7d1feaa"`
#[cfg(feature = "semconv_experimental")]
pub const USER_HASH: &str = "user.hash";
/// Unique identifier of the user.
///
/// # Examples
///
/// - `"S-1-5-21-202424912787-2692429404-2351956786-1000"`
#[cfg(feature = "semconv_experimental")]
pub const USER_ID: &str = "user.id";
/// Short name or login/username of the user.
///
/// # Examples
///
/// - `"a.einstein"`
#[cfg(feature = "semconv_experimental")]
pub const USER_NAME: &str = "user.name";
/// Array of user roles at the time of the event.
///
/// # Examples
///
/// - `[
/// "admin",
/// "reporting_user",
/// ]`
#[cfg(feature = "semconv_experimental")]
pub const USER_ROLES: &str = "user.roles";
/// Name of the user-agent extracted from original. Usually refers to the browser's name.
///
/// ## Notes
///
/// [Example](https://www.whatsmyua.info) of extracting browser's name from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant name SHOULD be selected. In such a scenario it should align with `user_agent.version`
///
/// # Examples
///
/// - `"Safari"`
/// - `"YourApp"`
#[cfg(feature = "semconv_experimental")]
pub const USER_AGENT_NAME: &str = "user_agent.name";
/// Value of the [HTTP User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent) header sent by the client.
///
/// # Examples
///
/// - `"CERN-LineMode/2.15 libwww/2.17b3"`
/// - `"Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1"`
/// - `"YourApp/1.0.0 grpc-java-okhttp/1.27.2"`
pub const USER_AGENT_ORIGINAL: &str = "user_agent.original";
/// Version of the user-agent extracted from original. Usually refers to the browser's version
///
/// ## Notes
///
/// [Example](https://www.whatsmyua.info) of extracting browser's version from original string. In the case of using a user-agent for non-browser products, such as microservices with multiple names/versions inside the `user_agent.original`, the most significant version SHOULD be selected. In such a scenario it should align with `user_agent.name`
///
/// # Examples
///
/// - `"14.1.2"`
/// - `"1.0.0"`
#[cfg(feature = "semconv_experimental")]
pub const USER_AGENT_VERSION: &str = "user_agent.version";
/// The type of garbage collection
#[cfg(feature = "semconv_experimental")]
pub const V8JS_GC_TYPE: &str = "v8js.gc.type";
/// The name of the space type of heap memory.
///
/// ## Notes
///
/// Value can be retrieved from value `space_name` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics)
#[cfg(feature = "semconv_experimental")]
pub const V8JS_HEAP_SPACE_NAME: &str = "v8js.heap.space.name";
/// The ID of the change (pull request/merge request) if applicable. This is usually a unique (within repository) identifier generated by the VCS system.
///
/// # Examples
///
/// - `"123"`
#[cfg(feature = "semconv_experimental")]
pub const VCS_REPOSITORY_CHANGE_ID: &str = "vcs.repository.change.id";
/// The human readable title of the change (pull request/merge request). This title is often a brief summary of the change and may get merged in to a ref as the commit summary.
///
/// # Examples
///
/// - `"Fixes broken thing"`
/// - `"feat: add my new feature"`
/// - `"[chore] update dependency"`
#[cfg(feature = "semconv_experimental")]
pub const VCS_REPOSITORY_CHANGE_TITLE: &str = "vcs.repository.change.title";
/// The name of the [reference](https://git-scm.com/docs/gitglossary#def_ref) such as **branch** or **tag** in the repository.
///
/// # Examples
///
/// - `"my-feature-branch"`
/// - `"tag-1-test"`
#[cfg(feature = "semconv_experimental")]
pub const VCS_REPOSITORY_REF_NAME: &str = "vcs.repository.ref.name";
/// The revision, literally [revised version](https://www.merriam-webster.com/dictionary/revision), The revision most often refers to a commit object in Git, or a revision number in SVN.
///
/// ## Notes
///
/// The revision can be a full [hash value (see glossary)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf),
/// of the recorded change to a ref within a repository pointing to a
/// commit [commit](https://git-scm.com/docs/git-commit) object. It does
/// not necessarily have to be a hash; it can simply define a
/// [revision number](https://svnbook.red-bean.com/en/1.7/svn.tour.revs.specifiers.html)
/// which is an integer that is monotonically increasing. In cases where
/// it is identical to the `ref.name`, it SHOULD still be included. It is
/// up to the implementer to decide which value to set as the revision
/// based on the VCS system and situational context.
///
/// # Examples
///
/// - `"9d59409acf479dfa0df1aa568182e43e43df8bbe28d60fcf2bc52e30068802cc"`
/// - `"main"`
/// - `"123"`
/// - `"HEAD"`
#[cfg(feature = "semconv_experimental")]
pub const VCS_REPOSITORY_REF_REVISION: &str = "vcs.repository.ref.revision";
/// The type of the [reference](https://git-scm.com/docs/gitglossary#def_ref) in the repository.
///
/// # Examples
///
/// - `"branch"`
/// - `"tag"`
#[cfg(feature = "semconv_experimental")]
pub const VCS_REPOSITORY_REF_TYPE: &str = "vcs.repository.ref.type";
/// The [URL](https://en.wikipedia.org/wiki/URL) of the repository providing the complete address in order to locate and identify the repository.
///
/// # Examples
///
/// - `"https://github.com/opentelemetry/open-telemetry-collector-contrib"`
/// - `"https://gitlab.com/my-org/my-project/my-projects-project/repo"`
#[cfg(feature = "semconv_experimental")]
pub const VCS_REPOSITORY_URL_FULL: &str = "vcs.repository.url.full";
/// Additional description of the web engine (e.g. detailed version and edition information).
///
/// # Examples
///
/// - `"WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) - 2.2.2.Final"`
#[cfg(feature = "semconv_experimental")]
pub const WEBENGINE_DESCRIPTION: &str = "webengine.description";
/// The name of the web engine.
///
/// # Examples
///
/// - `"WildFly"`
#[cfg(feature = "semconv_experimental")]
pub const WEBENGINE_NAME: &str = "webengine.name";
/// The version of the web engine.
///
/// # Examples
///
/// - `"21.0.0"`
#[cfg(feature = "semconv_experimental")]
pub const WEBENGINE_VERSION: &str = "webengine.version";