Standardmäßig erfassen die AppSignal-Integrationen HTTP-Request-Header für Webanwendungen in unterstützten Bibliotheken.Sie können benutzerdefinierte Request-Header an einer Transaktion oder einem Span setzen. Das Ändern der Request-Header überschreibt die durch die AppSignal-Instrumentierungen gesetzten Daten.Alle Request-Header werden gefiltert durch unsere Integrationen, bevor sie an unsere Server gesendet werden.
🔐 Senden Sie keine personenbezogenen Daten (Personal Identifiable Information, PII) an AppSignal. Filtern Sie PII (z. B. Namen, E-Mail-Adressen) und verwenden Sie stattdessen eine ID, einen Hash oder einen pseudonymisierten Bezeichner.
Verwenden Sie Link Templates, um sie in Ihrer Anwendung zurückzuverknüpfen.
Die folgende Tabelle enthält eine Liste der akzeptierten Werttypen für Request-Header.
Sprache
Akzeptierter Header-Name
Akzeptierter Header-Wert
Ruby
String
String
Elixir
String
String
Node.js
String
String
Python
String
String
Go
String
String, String slice
Java
String
String, String array
PHP
String
String, String array
Das untenstehende Codebeispiel zeigt, wie benutzerdefinierte Request-Header gesetzt werden:
# Rufen Sie `add_headers` mehrmals auf, um weitere Header zu setzenAppsignal.add_headers("REQUEST_METHOD" => "GET", "REQUEST_PATH" => "/some-path")Appsignal.add_headers("PATH_INFO" => "/a-path")Appsignal.add_headers("PATH_INFO" => "/some-path")# Header:# {# "REQUEST_METHOD" => "GET",# "REQUEST_PATH" => "/some-path",# "PATH_INFO" => "/some-path"# }
import { setHeader } from "@appsignal/nodejs";setHeader("request_method", "GET");setHeader("path_info", "/some-path");
from appsignal import set_headerset_header("request_method", "GET");set_header("path_info", "/some-path");
// Zusätzliches Setup ist erforderlich, um zuerst einen neuen Span abzurufen oder zu erstellenspan.SetAttributes(attribute.StringSlice("http.request.header.content-type", []string{"application/json"}))span.SetAttributes(attribute.StringSlice("http.request.header.custom-header"), []string{"abc", "def"})
import io.opentelemetry.api.trace.Span;import io.opentelemetry.api.common.AttributeKey;import java.util.Arrays;// Zusätzliches Setup ist erforderlich, um zuerst einen neuen Span abzurufen oder zu erstellenSpan span = Span.current();// Einzelne Header-Werte setzenspan.setAttribute("http.request.header.request-method", "GET");span.setAttribute("http.request.header.path-info", "/some-path");span.setAttribute("http.request.header.content-type", "application/json");// Header mit mehreren Werten setzen (Array)span.setAttribute( AttributeKey.stringArrayKey("http.request.header.custom-header"), Arrays.asList("value1", "value2"));
Wenn die Anwendung einen Request-Header mehrmals setzt, wird nur der letzte Wert für einen Request-Header gespeichert.Für Elixir wird, wenn der Helfer mehrmals aufgerufen wird, nur das letzte Set von Request-Headern (Umgebung) gespeichert.
War diese Seite hilfreich?
⌘I
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"AppSignal Documentation","description":"AppSignal documentation: install and configure application performance monitoring, error tracking, logging, and uptime checks for Ruby, Elixir, Node.js, Python, and more.","colors":{"primary":"#1b44da","light":"#60a5fa","dark":"#14329f"},"logo":{"light":"https://mintcdn.com/appsignal-715f5a51/5M0NK0KFu-w9Cutw/logo/dark.svg?fit=max\u0026auto=format\u0026n=5M0NK0KFu-w9Cutw\u0026q=85\u0026s=08633ef0322ee629d3264aaad3d3f737","dark":"https://mintcdn.com/appsignal-715f5a51/5M0NK0KFu-w9Cutw/logo/dark.svg?fit=max\u0026auto=format\u0026n=5M0NK0KFu-w9Cutw\u0026q=85\u0026s=08633ef0322ee629d3264aaad3d3f737","href":"https://www.appsignal.com"},"favicon":"https://mintcdn.com/appsignal-715f5a51/MS9b5WO71lSfD5jG/favicon.svg?fit=max\u0026auto=format\u0026n=MS9b5WO71lSfD5jG\u0026q=85\u0026s=6cad991c579398b5c3c4d991d92fd80d","api":{"openapi":"api/v2/openapi.json","playground":{"display":"simple"},"mdx":{"server":"https://appsignal.com"}},"appearance":{"default":"system"},"navbar":{"primary":{"type":"button","label":"Get started","href":"https://appsignal.com/users/sign_up"}},"footer":{"socials":{"x":"https://x.com/AppSignal","github":"https://github.com/appsignal","linkedin":"https://nl.linkedin.com/company/appsignal","discord":"https://discord.gg/sBWWGwYzfC"},"links":[{"header":"Resources","items":[{"label":"Plans \u0026 pricing","href":"https://www.appsignal.com/plans"},{"label":"Documentation","href":"https://docs.appsignal.com/"},{"label":"Blog","href":"https://blog.appsignal.com/"},{"label":"Customer Stories","href":"https://www.appsignal.com/customers"},{"label":"Changelog","href":"https://www.appsignal.com/changelog"},{"label":"Learning Center","href":"https://www.appsignal.com/learning-center"},{"label":"Why AppSignal","href":"https://www.appsignal.com/why"}]},{"header":"Support","items":[{"label":"Contact us","href":"https://www.appsignal.com/contact"},{"label":"Email support","href":"mailto:support@appsignal.com"},{"label":"Status","href":"https://status.appsignal.com/"},{"label":"Security","href":"https://www.appsignal.com/security"}]},{"header":"About","items":[{"label":"About AppSignal","href":"https://www.appsignal.com/about"},{"label":"Jobs","href":"https://www.appsignal.com/jobs"},{"label":"Diversity","href":"https://www.appsignal.com/diversity"},{"label":"Open Source","href":"https://www.appsignal.com/open-source"}]},{"header":"For LLMs","items":[{"label":"Full Docs for LLMs","href":"https://docs.appsignal.com/llms-full.txt"},{"label":"Docs Index for LLMs","href":"https://docs.appsignal.com/llms.txt"}]}]},"seo":{"metatags":{"og:site_name":"AppSignal Documentation","og:type":"website","twitter:card":"summary_large_image","twitter:site":"@AppSignal","google-site-verification":"02FM2LYkYEEMzTsWihVLwhgzgYpQNSpY-FSP_pxlaFs"},"organization":{"name":"AppSignal","url":"https://www.appsignal.com","sameAs":["https://x.com/AppSignal","https://github.com/appsignal","https://nl.linkedin.com/company/appsignal"]},"indexing":"navigable"},"errors":{"404":{"redirect":false,"title":"404: We couldn't find a trace of this page - Woops!","description":"This page has moved or doesn't exist. Search the [docs](https://docs.appsignal.com/getting-started), or [reach out to support](mailto:support@appsignal.com) and we'll point you in the right direction."}},"contextual":{"options":["copy","view","assistant","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"markdown":{"schema":false},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"getting-started"},{"language":"pt-BR","href":"pt-BR/getting-started"},{"language":"fr","href":"fr/getting-started"},{"language":"de","href":"de/getting-started"},{"language":"zh-CN","href":"zh-CN/getting-started"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"appsignal-715f5a51","hasAudioNarration":false,"actualSubdomain":"appsignal-715f5a51","customDomains":["docs.appsignal.com"],"gitSource":{"type":"github","owner":"appsignal","repo":"appsignal-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b007bfd6c736afc684664a8","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"en","tag":"AppSignal Documentation","count":547},{"language":"en","tag":"SDKs \u0026 telemetry","count":271},{"language":"en","tag":"Language SDKs","count":250},{"language":"en","tag":"Integrations","count":178},{"language":"en","tag":"API","count":94},{"language":"en","tag":"Features","count":88},{"language":"en","tag":"Ruby","count":64},{"language":"en","tag":"Account \u0026 Support","count":62},{"language":"en","tag":"Installation","count":41},{"language":"en","tag":"Logs \u0026 metrics","count":41}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@appsignal.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"6a3bff9b0577bfeda02291d4","deploymentId":"69cbc6b3085f63c685d185ec","questionText":"What's new in latest releases of AppSignal?","status":"active","generatedBy":"manual","createdAt":"2026-06-24T16:02:35.552Z","updatedAt":"2026-06-24T16:02:35.552Z","__v":0},{"_id":"6a10046ecdfc2b165df5be04","deploymentId":"69cbc6b3085f63c685d185ec","questionText":"What can I do with the AppSignal MCP server?","status":"active","generatedBy":"manual","createdAt":"2026-05-22T07:23:26.099Z","updatedAt":"2026-05-22T07:23:26.099Z","__v":0},{"_id":"6a100460cdfc2b165df5bdde","deploymentId":"69cbc6b3085f63c685d185ec","questionText":"What are the Ruby gem's configuration options?","status":"active","generatedBy":"manual","createdAt":"2026-05-22T07:23:12.282Z","updatedAt":"2026-05-22T07:23:12.282Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--text-heading: #111827;--text-default: #203053;--text-secondary: #415377;--text-muted: #67789d;--text-subtle: #8896b3;--text-strong: #0a1530;--link: #3c61e7;--link-hover: #1b44da;--edge-default: #d9dde7;--edge-strong: #bfc6d6;--page-bg: #ffffff;--surface-subtle: #f5f7f9;--surface-hover: #edf0f5;--surface-active: #e8ecf3;--panel-bg: #ffffff;--iconbox-bg: #ffffff;--bar-bg: #0a1530;--bar-border: #203053;--bar-text: #d9dde7;--bar-icon: #a2adc4;--cta-bg: #1b44da;--shadow-iconbox: 0 1px 2px rgb(0 0 0 / 0.05);--shadow-iconbox-hover: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--shadow-panel: 0 1px 3px 0 rgba(10, 21, 48, 0.1), 0 1px 2px -1px rgba(10, 21, 48, 0.1)}.dark{--text-heading: #f5f5f5;--text-default: #e5e5e5;--text-secondary: #a3a3a3;--text-muted: #8b8b8b;--text-subtle: #787878;--text-strong: #f5f5f5;--link: #60a5fa;--link-hover: #93c5fd;--edge-default: #383838;--edge-strong: #383838;--page-bg: #141414;--surface-subtle: #1c1c1c;--surface-hover: #242424;--surface-active: #2e2e2e;--panel-bg: #1e1e1e;--iconbox-bg: #2a2a2a;--bar-bg: #1a1a1a;--bar-border: #2e2e2e;--bar-text: #c8c8c8;--bar-icon: #8b8b8b;--cta-bg: #4a6ae8;--shadow-iconbox: 0 1px 2px rgb(0 0 0 / 0.4);--shadow-iconbox-hover: 0 2px 6px -1px rgb(0 0 0 / 0.55), 0 1px 3px -1px rgb(0 0 0 / 0.45);--shadow-panel: 0 4px 12px -2px rgb(0 0 0 / 0.6), 0 2px 6px -2px rgb(0 0 0 / 0.5)}#navbar li:has(>a[href$=\"/getting-started\"]){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}html #navbar div[class*=\"bg-background-light\"]{background-color:var(--bar-bg);backdrop-filter:none;-webkit-backdrop-filter:none}html #navbar div.border-b{border-bottom-color:var(--bar-border)}html #navbar a,html #navbar button{color:var(--bar-text)}html #navbar a:hover,html #navbar button:hover{color:#ffffff}html #navbar [class*=\"group/search\"],html #navbar [class*=\"group/search\"] *{color:var(--bar-text)}html #navbar [class*=\"group/search\"]:hover,html #navbar [class*=\"group/search\"]:hover *{color:#ffffff}html #navbar [class*=\"group/search\"] [class*=\"text-xs\"][class*=\"rounded-full\"],html.dark #navbar [class*=\"group/search\"] [class*=\"text-xs\"][class*=\"rounded-full\"]{background-color:transparent}html .sidebar-title,html .sidebar-title>*,html h2[data-layout-item=\"toc-title\"],html h2[data-layout-item=\"toc-title\"] button,html h2[data-layout-item=\"toc-title\"] button:hover,html h2[data-layout-item=\"toc-title\"] span{color:var(--text-muted);font-size:14px;font-weight:600;line-height:17.5px;letter-spacing:0.7px;text-transform:uppercase}html h2[data-layout-item=\"toc-title\"] button svg{display:none}html .eyebrow{letter-spacing:0.7px;text-transform:uppercase}html nav[aria-label=\"Pages\"] a:not([aria-current]),html nav[aria-label=\"Pages\"] button[aria-expanded]{color:var(--text-default)}html nav[aria-label=\"Pages\"] button[aria-expanded] svg{color:#707276}html.dark nav[aria-label=\"Pages\"] button[aria-expanded] svg{color:#9fa0a5}html{--as-nav-icon: 1.75rem;--as-nav-step: 0.5rem;--as-nav-shave: calc(0.75rem - var(--as-nav-step))}html nav[aria-label=\"Pages\"] ul.sidebar-group ul{--as-nav-depth: 1}html nav[aria-label=\"Pages\"] ul.sidebar-group ul ul{--as-nav-depth: 2}html nav[aria-label=\"Pages\"] ul.sidebar-group ul ul ul{--as-nav-depth: 3}html nav[aria-label=\"Pages\"] li[data-group-tag]:has(>button>div:first-child>svg)>ul{--as-nav-inset: var(--as-nav-icon)}html nav[aria-label=\"Pages\"] ul.sidebar-group :is(a,button)>:first-child{margin-left:calc(\n var(--as-nav-inset, 0rem) - var(--as-nav-shave) * var(--as-nav-depth, 0)\n )}html nav a[aria-current=\"page\"],html aside a[aria-current=\"page\"]{background-color:transparent}html .prose{--tw-prose-body: var(--text-secondary);--tw-prose-lead: var(--text-secondary);--tw-prose-links: var(--link)}html .mdx-content p:not(.callout *),html .mdx-content li:not(.callout *),html #content-area header p{color:var(--text-secondary)}html .callout{border-radius:8px}html .code-group{border-radius:8px}html .code-block-background{border-radius:8px!important}html .code-group .code-block-background{border-radius:6px!important}html [class*=\"min-w-[156px]\"]>button:first-child{border-radius:8px 0 0 8px}html [class*=\"min-w-[156px]\"]>button:last-child{border-radius:0 8px 8px 0}html [class*=\"min-w-[156px]\"],html [class*=\"min-w-[156px]\"]>button{border-color:transparent}html [class*=\"min-w-[156px]\"]>button:first-child{box-shadow:inset 0 1px 0 0 var(--edge-strong),\n inset 0 -1px 0 0 var(--edge-strong),\n inset 1px 0 0 0 var(--edge-strong)}html [class*=\"min-w-[156px]\"]>button:last-child{box-shadow:inset 0 1px 0 0 var(--edge-strong),\n inset 0 -1px 0 0 var(--edge-strong),\n inset -1px 0 0 0 var(--edge-strong),\n inset 1px 0 0 0 var(--edge-strong)}html [class*=\"min-w-[156px]\"]>button,html [class*=\"min-w-[156px]\"]>button *{color:var(--text-secondary)}html [class*=\"min-w-[156px]\"]>button:hover{background-color:var(--surface-hover)}html [class*=\"min-w-[156px]\"]>button{background-color:var(--page-bg)}html body{background-color:var(--page-bg)}html #navbar div:has(>nav[aria-label=\"Main\"]){gap:8px}html #navbar div:has(>nav[aria-label=\"Main\"])>div:first-child,html #navbar div:has(>nav[aria-label=\"Main\"])>.topbar-right-container{display:contents}html #navbar div:has(>nav[aria-label=\"Main\"])>div:first-child>a{order:1}html #navbar nav[aria-label=\"Main\"]{order:2;margin-right:auto;margin-left:8px;padding-left:0}html #navbar nav[aria-label=\"Main\"]::before{content:\"\";flex-shrink:0;width:1px;height:20px;margin-right:8px;background-color:var(--bar-icon);opacity:0.5}html #navbar .topbar-right-container>div:has(>#search-bar-entry){order:3}html #navbar .topbar-right-container>ul{order:4}html #navbar .topbar-right-container>button{order:5}html #navbar div:has(>#localization-select-trigger){order:6}html #navbar .topbar-right-container>div:not(:has(>#search-bar-entry)){order:7}html #navbar #localization-select-trigger::before{content:\"\";flex-shrink:0;width:16px;height:16px;background-color:currentColor;-webkit-mask:url(https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/globe.svg)\n center / contain no-repeat;mask:url(https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/globe.svg)\n center / contain no-repeat}html #navbar #localization-select-trigger>span{font-size:0}html #navbar #localization-select-trigger>span::after{font-size:14px;content:\"EN\"}html[lang=\"de\"] #navbar #localization-select-trigger>span::after{content:\"DE\"}html[lang=\"fr\"] #navbar #localization-select-trigger>span::after{content:\"FR\"}html[lang=\"pt-BR\"] #navbar #localization-select-trigger>span::after{content:\"PT-BR\"}html[lang=\"zh-CN\"] #navbar #localization-select-trigger>span::after{content:\"ZH\"}@layer utilities{@container navbar (min-width: 1440px){html body #navbar button#search-bar-entry{width:fit-content!important;padding-left:0.875rem!important;padding-right:0.75rem!important;justify-content:space-between!important}html body #navbar button#search-bar-entry .truncate.min-w-0{display:block!important}html body #navbar button#search-bar-entry span.rounded-full{display:inline-flex!important}html body #navbar button#assistant-entry{width:auto!important;padding-left:0.75rem!important;padding-right:0.875rem!important;justify-content:space-between!important}html body #navbar button#assistant-entry span.whitespace-nowrap{display:inline!important}}}html #navbar nav[aria-label=\"Main\"] li>button>svg:first-of-type,html #navbar nav[aria-label=\"Main\"] li>a>svg:first-of-type,html #navbar nav[aria-label=\"Main\"] li>button>svg:last-of-type{display:none}html #navbar nav[aria-label=\"Main\"] li>button::after{content:\"\";flex-shrink:0;width:10px;height:13px;background-color:var(--bar-icon);-webkit-mask:url(https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/angle-down.svg)\n center / contain no-repeat;mask:url(https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/angle-down.svg)\n center / contain no-repeat}html #navbar #localization-select-trigger svg{color:var(--bar-icon)}html #navbar #localization-select-trigger{color:var(--bar-text)}html #navbar #localization-select-trigger:hover{color:#ffffff}html #navbar nav[aria-label=\"Main\"] li>button:focus-visible,html #navbar nav[aria-label=\"Main\"] li>a:focus-visible{outline:none}html #navbar nav[aria-label=\"Main\"] li>button,html #navbar nav[aria-label=\"Main\"] li>a{font-size:16px;font-weight:400;letter-spacing:normal;padding-left:12px;padding-right:12px}html #navbar nav[aria-label=\"Main\"] li>button:hover,html #navbar nav[aria-label=\"Main\"] li>a:hover{background-color:transparent}html #navbar .navbar-link a{border:0;background:transparent;box-shadow:none;color:var(--bar-text);padding:4px 12px;font-size:16px;font-weight:400}html #navbar .navbar-link a:hover{background:transparent;box-shadow:none;color:#ffffff}html #topbar-cta-button a,html #topbar-cta-button a *{color:#ffffff}html #topbar-cta-button a{background:var(--cta-bg);border-radius:4px;height:34px;padding:4px 12px;font-size:16px;font-weight:400}html #navbar .text-gray-900{color:#ffffff}html #navbar #search-bar-entry,html #navbar #assistant-entry{background-color:transparent;box-shadow:inset 0 0 0 1px rgba(255, 255, 255, 0.25)}html #navbar #search-bar-entry:hover,html #navbar #assistant-entry:hover{background-color:rgba(255, 255, 255, 0.08);box-shadow:inset 0 0 0 1px rgba(255, 255, 255, 0.45)}html:not(.dark) #navbar #search-bar-entry,html:not(.dark) #navbar #assistant-entry{background-color:rgba(255, 255, 255, 0.07);box-shadow:inset 0 0 0 1px rgba(255, 255, 255, 0.3)}html:not(.dark) #navbar #search-bar-entry:hover,html:not(.dark) #navbar #assistant-entry:hover{background-color:rgba(255, 255, 255, 0.13);box-shadow:inset 0 0 0 1px rgba(255, 255, 255, 0.5)}html #navbar #assistant-entry,html #navbar #assistant-entry *{color:var(--bar-text)}html #navbar #assistant-entry:hover,html #navbar #assistant-entry:hover *{color:#ffffff}html #navbar #assistant-entry [class*=\"text-xs\"][class*=\"rounded-full\"]{display:none}html div:has(>.chat-assistant-floating-input),html .chat-assistant-floating-input{display:none}html #navbar [data-component-name=\"theme-toggle\"] svg,html #navbar [data-component-name=\"theme-preference-menu\"] svg{color:var(--bar-text)}html #navbar [data-component-name=\"theme-toggle\"]:hover svg,html #navbar [data-component-name=\"theme-preference-menu\"]:hover svg{color:#ffffff}html [role=\"menu\"]:has(>a.nav-dropdown-item){width:288px;max-width:none;max-height:none!important;overflow-y:visible!important;overflow-x:visible!important;padding:16px 12px;border:none;border-radius:8px;background-color:var(--panel-bg);box-shadow:var(--shadow-panel)}html [role=\"menu\"] a.nav-dropdown-item{position:relative;gap:12px;padding:4px 8px;border-radius:4px;color:var(--text-secondary)}html [role=\"menu\"] a.nav-dropdown-item:hover{background-color:transparent;color:var(--text-default)}html [role=\"menu\"] a.nav-dropdown-item span{font-size:16px;font-weight:400}html [role=\"menu\"] a.nav-dropdown-item::before{content:\"\";display:block;flex-shrink:0;width:28px;height:28px;border:1px solid var(--edge-default);border-radius:6px;background-color:var(--iconbox-bg);box-shadow:var(--shadow-iconbox);transition:box-shadow 0.15s}html [role=\"menu\"] a.nav-dropdown-item:hover::before{box-shadow:var(--shadow-iconbox-hover)}html [role=\"menu\"] a.nav-dropdown-item>svg:first-of-type{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:12px;height:12px;min-width:12px;min-height:12px}html [role=\"menu\"] a.nav-dropdown-item:focus-visible{outline:none}html [role=\"menu\"] a.nav-dropdown-item[data-highlighted]{color:var(--text-default)}html [role=\"menu\"] a.nav-dropdown-item>svg:last-of-type:not(:first-of-type){display:none}html [role=\"menu\"] a.nav-dropdown-item>svg:first-of-type{background-color:#1b44da}html [role=\"menu\"] a[href*=\"tour/errors\"]>svg:first-of-type{background-color:#e05729}html [role=\"menu\"] a[href*=\"tour/performance\"]>svg:first-of-type,html [role=\"menu\"] a[href*=\"appsignal.com/nodejs\"]>svg:first-of-type{background-color:#29a575}html [role=\"menu\"] a[href*=\"tour/hosts\"]>svg:first-of-type{background-color:#1e9393}html [role=\"menu\"] a[href*=\"tour/anomaly-detection\"]>svg:first-of-type,html [role=\"menu\"] a[href*=\"appsignal.com/ruby\"]>svg:first-of-type{background-color:#c8223d}html [role=\"menu\"] a[href*=\"tour/uptime-monitoring\"]>svg:first-of-type,html [role=\"menu\"] a[href*=\"appsignal.com/javascript\"]>svg:first-of-type{background-color:#ec9c24}html [role=\"menu\"] a[href*=\"tour/metrics\"]>svg:first-of-type,html [role=\"menu\"] a[href*=\"tour/automated-dashboards\"]>svg:first-of-type,html [role=\"menu\"] a[href*=\"appsignal.com/elixir\"]>svg:first-of-type{background-color:#8537ad}html [role=\"menu\"] a[href*=\"tour/log-management\"]>svg:first-of-type{background-color:#ef51c0}html [role=\"menu\"] a[href*=\"tour/check-ins\"]>svg:first-of-type,html [role=\"menu\"] a[href*=\"tour/workflow\"]>svg:first-of-type,html [role=\"menu\"] a[href*=\"appsignal.com/python\"]>svg:first-of-type{background-color:var(--link)}html [role=\"menu\"] a[href*=\"go-monitoring\"]>svg:first-of-type{background-color:#3aa2bc}html [role=\"menu\"] a[href*=\"java-monitoring\"]>svg:first-of-type{background-color:#c37b1f}html [role=\"menu\"] a[href*=\"php-monitoring\"]>svg:first-of-type{background-color:#5b62c4}html.dark [role=\"menu\"] a.nav-dropdown-item>svg:first-of-type{background-color:#60a5fa}@media (min-width: 1024px){html #navbar div[class*=\"lg:flex\"][class*=\"h-12\"]{height:4.5rem}html #sidebar-content{top:calc(4.5rem + var(--banner-height, 0px))!important;height:calc(100vh - 4.5rem - var(--banner-height, 0px))!important;padding-top:var(--as-content-top)}html #content-side-layout{top:4.5rem;height:calc(100vh - 4.5rem)}html{--scroll-mt: 7.5rem}}html{--as-content-font: 18px;--as-content-lede: 20px}html .mdx-content p,html .mdx-content [data-as=\"p\"],html .mdx-content li{font-size:var(--as-content-font)}html #content-area header p,html #content-area header [data-as=\"p\"]{font-size:var(--as-content-lede);line-height:1.5}html #content-area h1{font-size:36px;font-weight:700;line-height:1.125;letter-spacing:-0.02em;color:var(--text-heading)}html .mdx-content h2{font-size:24px;font-weight:650;line-height:1.25;letter-spacing:normal;color:var(--text-heading)}html .mdx-content h3{font-size:20px;font-weight:650;line-height:1.25;color:var(--text-heading)}html .mdx-content h4{font-size:16px;font-weight:650;line-height:1.25;color:var(--text-heading)}@media (min-width: 1024px){html{--as-sidebar-width: 17.5rem;--as-content-max: 53rem;--as-content-top: 1rem;--as-doc-gutter: 12px}html #sidebar-content{width:var(--as-sidebar-width)!important}html #sidebar-content #navigation-items>div{padding-left:var(--as-doc-gutter)}html #content-side-layout{padding-right:var(--as-doc-gutter)}html .peer.is-not-custom~#body-content #content-container{padding-top:var(--as-content-top)}html .peer.is-not-custom~#body-content{padding-left:var(--as-sidebar-width)!important}html .peer.is-not-custom~#body-content #content-area{max-width:var(--as-content-max);margin-inline:auto}}@media (min-width: 1024px){html #sidebar-content{position:fixed!important;overflow:hidden!important}html #sidebar-content #navigation-items>[data-component-part=\"scroll-area-viewport\"]{overflow-y:auto!important;overscroll-behavior-y:contain}html #content-side-layout{top:min(\n calc(4.5rem + var(--banner-height, 0px)),\n calc(100vh - var(--as-toc-height, 0px) - 2rem)\n );height:auto!important;max-height:none;overflow:visible!important}html #content-side-layout .base-ui-disable-scrollbar{overflow:visible!important}}html #footer{background-color:var(--bar-bg);position:relative;z-index:21}.dark #footer{border-top:1px solid var(--bar-border)}html #footer p.font-semibold{color:#fff;text-transform:uppercase;letter-spacing:0.05em;font-weight:500;border-bottom:1px solid var(--bar-border);padding-bottom:0.75rem}html #footer a[class*=\"text-gray-950/50\"]{color:#fff}html #footer a[class*=\"text-gray-950/50\"]:hover{color:#fff;text-decoration:underline}html #footer a>svg[style*=\"mask-image\"]{background-color:var(--bar-icon)}html #footer a:hover>svg[style*=\"mask-image\"]{background-color:#fff}html #footer div[class*=\"bg-gray-100\"]{background-color:var(--bar-border)}html #footer a[href*=\"mintlify.com\"]{color:var(--text-subtle)}html #footer a[href*=\"mintlify.com\"]:hover{color:#bfc6d6}html .callout[data-callout-type=\"note\"]{--as-co-bg: #eff3fa;--as-co-bd: #becfea;--as-co-tx: var(--link-hover)}html .callout[data-callout-type=\"info\"]{--as-co-bg: var(--surface-subtle);--as-co-bd: var(--edge-default);--as-co-tx: var(--text-default)}html .callout[data-callout-type=\"tip\"]{--as-co-bg: #eef8f4;--as-co-bd: #bbe2d3;--as-co-tx: #175c41}html .callout[data-callout-type=\"check\"]{--as-co-bg: #eef8f4;--as-co-bd: #bbe2d3;--as-co-tx: #175c41}html .callout[data-callout-type=\"warning\"]{--as-co-bg: #fdf7ed;--as-co-bd: #f9dfb9;--as-co-tx: #845714}html .callout[data-callout-type=\"danger\"]{--as-co-bg: #fbedef;--as-co-bd: #edb8c1;--as-co-tx: #701322}.dark .callout[data-callout-type=\"note\"]{--as-co-bg: #0b1b56;--as-co-bd: #102984;--as-co-tx: #60a5fa}.dark .callout[data-callout-type=\"tip\"],.dark .callout[data-callout-type=\"check\"]{--as-co-bg: #0e3828;--as-co-bd: #175c41;--as-co-tx: #4ade80}.dark .callout[data-callout-type=\"warning\"]{--as-co-bg: #50350c;--as-co-bd: #845714;--as-co-tx: #fbbf24}.dark .callout[data-callout-type=\"danger\"]{--as-co-bg: #440c15;--as-co-bd: #701322;--as-co-tx: #f87171}html .callout:is([data-callout-type=\"note\"],[data-callout-type=\"info\"],[data-callout-type=\"tip\"],[data-callout-type=\"check\"],[data-callout-type=\"warning\"],[data-callout-type=\"danger\"]){background-color:var(--as-co-bg);border-color:var(--as-co-bd);color:var(--as-co-tx)}html .callout[data-callout-type] [data-component-part=\"callout-content\"],html .callout[data-callout-type] [data-component-part=\"callout-icon\"] svg{color:inherit}html .mdx-content strong{color:var(--text-default);font-weight:500}html .mdx-content a:not(.callout *){color:var(--link)}html .mdx-content a:not(.callout *):hover{color:var(--link-hover);border-bottom-width:1px}html .mdx-content :not(pre)>code{background-color:var(--surface-subtle);color:var(--text-default);border-radius:8px}html .mdx-content table{border-collapse:collapse;font-size:0.875rem}html .mdx-content table th,html .mdx-content table td{border:1px solid var(--edge-default);padding:0.5rem 1.25rem}html .mdx-content table th{background-color:var(--surface-subtle);font-weight:400;color:var(--text-secondary)}html .mdx-content table td{color:var(--text-default)}@media (min-width: 1024px){html #sidebar-content{background-color:var(--surface-subtle);border-right:1px solid var(--edge-default)}html #sidebar-content a{border-radius:8px}html #sidebar-content a:hover{background-color:var(--surface-hover)}html #sidebar-content a[aria-current=\"page\"]{background-color:var(--surface-active);color:var(--text-strong)}}html #sidebar-content a svg{color:inherit}html #content-side-layout nav a{font-size:14px;font-weight:400;color:var(--text-secondary);text-shadow:none}html #content-side-layout nav a:hover{color:var(--link)}html #content-side-layout nav a[aria-current=\"location\"]{color:var(--link);font-weight:500}html #content-side-layout nav [data-layout-item=\"toc-indicator\"]{display:none}html #content-side-layout li.toc-item{padding-left:0}html #content-side-layout ul.toc ul{margin-left:0}html #content-side-layout nav>h2[data-layout-item=\"toc-title\"]{margin-bottom:12px}html #content-side-layout li.toc-item:not([data-depth=\"0\"])>a{border-left:1px solid var(--edge-default)}html #content-side-layout li.toc-item[data-depth=\"0\"]+li.toc-item:not([data-depth=\"0\"])>a{margin-top:6px}html #content-side-layout li.toc-item:not([data-depth=\"0\"]):has(+li.toc-item[data-depth=\"0\"])>a{margin-bottom:6px}html #pagination{display:flex;gap:0;margin-top:1.5rem;margin-bottom:1.5rem;border:1px solid var(--edge-strong);border-radius:8px;overflow:hidden}html #pagination>div:empty{display:none}html #pagination>a{flex:1 1 0;position:relative;padding:1rem;border:0;border-radius:0}html #pagination>a:first-child{padding-left:2.5rem}html #pagination>a:last-child{justify-content:flex-end;padding-right:2.5rem}html #pagination>a+a{border-left:1px solid var(--edge-strong)}html #pagination>a:hover{background-color:var(--surface-hover)}html #pagination>a>div{display:flex;flex-direction:column-reverse;gap:0.25rem}html #pagination>a>div>*{margin:0}html #pagination>a>div>div:first-child{font-size:1.125rem;line-height:1.75rem;font-weight:400;color:var(--text-secondary);transition:color 300ms}html #pagination>a:hover>div>div:first-child{color:var(--link)}html #pagination>a span{font-size:0.875rem;font-weight:500;letter-spacing:0.025em;text-transform:uppercase;color:var(--text-subtle)}html #pagination>a svg{display:none}html #pagination>a::before{content:\"\";position:absolute;top:50%;width:13px;height:14px;transform:translateY(-50%);background-color:var(--text-secondary)}html #pagination>a:first-child::before{left:1rem;-webkit-mask:url(https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/arrow-left.svg)\n center / contain no-repeat;mask:url(https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/arrow-left.svg)\n center / contain no-repeat}html #pagination>a:last-child::before{right:1rem;-webkit-mask:url(https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/arrow-right.svg)\n center / contain no-repeat;mask:url(https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/solid/arrow-right.svg)\n center / contain no-repeat}@media (max-width: 639px){html #pagination{flex-direction:column}html #pagination>a+a{border-left:0;border-top:1px solid var(--edge-default)}html #pagination>a:last-child{justify-content:flex-start;padding-left:2.5rem;padding-right:1rem}html #pagination>a:last-child>div>div:first-child{text-align:left}html #pagination>a:last-child>div>div:last-child{flex-direction:row}html #pagination>a:last-child::before{right:auto;left:1rem}}html .card{border-radius:8px;background-color:var(--page-bg);border-width:0;box-shadow:inset 0 0 0 1px var(--edge-strong)}html.dark .card{background-color:var(--panel-bg)}html .card:not(:has(ul)):hover{background-color:var(--surface-hover)}html .card [data-component-part=\"card-content-container\"]:not(.flex) [data-component-part=\"card-icon\"]{float:left;margin:0.1875rem 0.625rem 0 0}html .card [data-component-part=\"card-content-container\"]:not(.flex) [data-component-part=\"card-title\"]{display:flex;align-items:center;margin-top:0}html .card [data-component-part=\"card-content-container\"]:not(.flex) [data-component-part=\"card-content\"]{margin-top:0.5rem}html .accordion-group{border-color:var(--edge-default);border-radius:8px}html.dark .accordion-group{border-color:var(--edge-default)}:root{--as-tn-top: 3rem}html .docs-translation-notice{position:sticky;top:var(--as-tn-top);z-index:10;display:flex;align-items:flex-start;gap:0.625rem;margin:0 0 1.5rem;padding:0.75rem 1rem;border:1px solid #becfea;border-radius:8px;background-color:#eff3fa;color:var(--link-hover);font-size:0.875rem;line-height:1.5}html.dark .docs-translation-notice{border-color:#102984;background-color:#0b1b56;color:#60a5fa}html .docs-translation-notice__icon{flex:none;width:1.125rem;height:1.125rem;margin-top:0.125rem}html .docs-translation-notice p{margin:0;color:inherit}html .docs-translation-notice a{color:inherit;text-decoration:underline;text-underline-offset:2px}html .docs-translation-notice a:hover{text-decoration:none}html .chat-assistant-send-button,html.dark .chat-assistant-send-button{background-color:var(--cta-bg)}html .chat-assistant-send-button:disabled,html.dark .chat-assistant-send-button:disabled{opacity:0.3}"}]}
{"page":{"pagePath":"de/guides/custom-data/request-headers","slug":"/de/guides/custom-data/request-headers","pageMetadata":{"title":"Request-Header hinzufügen","sidebarTitle":"Request-Header","prev":{"text":"Request-Session-Daten hinzufügen","url":"/guides/custom-data/request-session-data.html"},"next":{"text":"Benutzerdefinierte Daten hinzufügen","url":"/guides/custom-data/custom-data.html"},"noindex":true,"description":null,"href":"/de/guides/custom-data/request-headers"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const Compatibility=({versions=[],label=`Available in`})=>{if(!Array.isArray(versions)||versions.length===0){return null}const defaultPillStyle={borderColor:`#d4d4d8`,background:`#f4f4f5`,color:`#3f3f46`};const pillStyles={\"AppSignal for Elixir\":{background:`#f3e8ff`,borderColor:`#d8b4fe`,color:`#6b21a8`},\"AppSignal for Front-end\":{background:`#fef9c3`,borderColor:`#fde047`,color:`#854d0e`},\"AppSignal for Go\":{background:`#ccfbf1`,borderColor:`#5eead4`,color:`#115e59`},\"AppSignal for JavaScript\":{background:`#fef9c3`,borderColor:`#fde047`,color:`#854d0e`},\"AppSignal for Node.js\":{background:`#dcfce7`,borderColor:`#86efac`,color:`#166534`},\"AppSignal for Python\":{background:`#dbeafe`,borderColor:`#93c5fd`,color:`#1e40af`},\"AppSignal for Ruby\":{background:`#fee2e2`,borderColor:`#fca5a5`,color:`#991b1b`},\"AppSignal for Rust\":{background:`#ffedd5`,borderColor:`#fdba74`,color:`#9a3412`}};const getPillStyle=name=>({...defaultPillStyle,...pillStyles[name]||{}});return _jsx(`div`,{className:`not-prose mint-my-4 mint-rounded-lg mint-border mint-border-zinc-200 mint-bg-zinc-50 mint-px-4 mint-py-3 mint-text-sm dark:mint-border-white/10 dark:mint-bg-white/5`,children:_jsxs(`div`,{className:`mint-flex mint-flex-wrap mint-items-center mint-gap-x-2 mint-gap-y-1`,children:[_jsxs(`span`,{className:`mint-font-semibold mint-text-zinc-700 dark:mint-text-zinc-200`,children:[label,`:`]}),versions.map((v,i)=>_jsxs(`span`,{className:`mint-inline-flex mint-items-center mint-gap-1 mint-rounded-full mint-border mint-px-2 mint-py-0.5 mint-text-xs mint-font-medium`,style:getPillStyle(v.name),children:[_jsx(`span`,{children:v.name}),_jsxs(`span`,{className:`mint-opacity-70`,children:[v.version,v.exact?``:`+`]})]},`${v.name}-${v.version}-${i}`))]})})};function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,OptimizedImage,Table,Warning,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_MdxComponentBoundary,{name:`Compatibility`,children:_jsx(Compatibility,{versions:[{name:`AppSignal for Ruby`,version:`4.0.0`},{name:`AppSignal for Elixir`,version:`1.0.0`},{name:`AppSignal for Node.js`,version:`3.0.0`},{name:`AppSignal for Python`,version:`0.3.0`},{name:`AppSignal Collector`,version:`0.6.0`},{name:`AppSignal for PHP`,version:`0.5.0`}]})}),`\n`,_jsx(_components.p,{children:`Standardmäßig erfassen die AppSignal-Integrationen HTTP-Request-Header für Webanwendungen in unterstützten Bibliotheken.`}),`\n`,_jsx(_components.p,{children:`Sie können benutzerdefinierte Request-Header an einer Transaktion oder einem Span setzen. Das Ändern der Request-Header überschreibt die durch die AppSignal-Instrumentierungen gesetzten Daten.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/guides/filter-data/filter-headers`,children:`Alle Request-Header werden gefiltert`}),` durch unsere Integrationen, bevor sie an unsere Server gesendet werden.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`🔐 Senden Sie keine `,_jsx(`strong`,{children:`personenbezogenen Daten (Personal Identifiable Information, PII)`}),` an AppSignal. Filtern Sie PII (z. B. Namen, E-Mail-Adressen) und verwenden Sie stattdessen eine ID, einen Hash oder einen pseudonymisierten Bezeichner. `,_jsx(`br`,{}),` `,_jsx(`br`,{}),` Verwenden Sie `,_jsx(_components.a,{href:`https://docs.appsignal.com/application/link-templates`,children:`Link Templates`}),`, um sie in Ihrer Anwendung zurückzuverknüpfen.`]})}),`\n`,_jsx(_components.p,{children:`Die folgende Tabelle enthält eine Liste der akzeptierten Werttypen für Request-Header.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Sprache`}),_jsx(_components.th,{children:`Akzeptierter Header-Name`}),_jsx(_components.th,{children:`Akzeptierter Header-Wert`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Ruby`}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`String`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Elixir`}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`String`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Node.js`}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`String`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Python`}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`String`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Go`}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`String, String slice`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Java`}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`String, String array`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`PHP`}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`String, String array`})]})]})]}),`\n`,_jsx(_components.p,{children:`Das untenstehende Codebeispiel zeigt, wie benutzerdefinierte Request-Header gesetzt werden:`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Ruby`,numberOfLines:`10`,language:`ruby`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`ruby`,children:_jsxs(_components.code,{language:`ruby`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:\"# Rufen Sie `add_headers` mehrmals auf, um weitere Header zu setzen\"})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Appsignal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add_headers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"REQUEST_METHOD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` => `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"REQUEST_PATH\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` => `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/some-path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Appsignal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add_headers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PATH_INFO\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` => `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/a-path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Appsignal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add_headers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PATH_INFO\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` => `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/some-path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Header:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"REQUEST_METHOD\" => \"GET\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"REQUEST_PATH\" => \"/some-path\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# \"PATH_INFO\" => \"/some-path\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# }`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Elixir`,numberOfLines:`8`,language:`elixir`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`elixir`,children:_jsxs(_components.code,{language:`elixir`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Appsignal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Span`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`set_sample_data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Appsignal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Tracer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`root_span`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"environment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` %{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"request_method\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"GET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"path_info\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"/some-path\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`4`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`setHeader`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@appsignal/nodejs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setHeader`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"request_method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setHeader`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"path_info\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/some-path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`4`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` appsignal `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` set_header`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`set_header(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"request_method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`set_header(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"path_info\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/some-path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`;`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Go`,numberOfLines:`3`,language:`go`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`go`,children:_jsxs(_components.code,{language:`go`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Zusätzliches Setup ist erforderlich, um zuerst einen neuen Span abzurufen oder zu erstellen`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`span`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`SetAttributes`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`attribute`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`StringSlice`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http.request.header.content-type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, []`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`span`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`SetAttributes`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`attribute`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`StringSlice`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http.request.header.custom-header\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), []`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"abc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"def\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Java`,numberOfLines:`17`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` io.opentelemetry.api.trace.Span;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` io.opentelemetry.api.common.AttributeKey;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` java.util.Arrays;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Zusätzliches Setup ist erforderlich, um zuerst einen neuen Span abzurufen oder zu erstellen`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`Span`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` span`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Span`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`current`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Einzelne Header-Werte setzen`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`span`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setAttribute`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http.request.header.request-method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`span`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setAttribute`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http.request.header.path-info\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/some-path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`span`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setAttribute`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http.request.header.content-type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Header mit mehreren Werten setzen (Array)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`span`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setAttribute`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` AttributeKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringArrayKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http.request.header.custom-header\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Arrays`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`asList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"value1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"value2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`PHP`,numberOfLines:`14`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c?`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`php`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`use`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` Appsignal\\\\`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Appsignal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Einzelne Header-Werte setzen`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Appsignal`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`::`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addHeaders`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`([`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'request-method'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'GET'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'path-info'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '/some-path'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'content-type'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'application/json'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]);`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Header mit mehreren Werten setzen (Array)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Appsignal`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`::`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`addHeaders`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`([`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'custom-header'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'value1'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'value2'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]);`})}),`\n`]})})})]}),`\n`,_jsx(_components.p,{children:`Für bestimmte Sprachen ist zusätzliches Setup erforderlich.\nBitte folgen Sie den Anweisungen für diese Sprachen:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/go/custom-instrumentation`,children:`Go`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/java/custom-instrumentation`,children:`Java`})}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/appsignal-715f5a51/MS9b5WO71lSfD5jG/assets/images/screenshots/sample_data/environment.png?fit=max\u0026auto=format\u0026n=MS9b5WO71lSfD5jG\u0026q=85\u0026s=a49d2e57199a1a6cedce022104387b96`,alt:`environment`,\"data-og-width\":`756`,width:`756`,\"data-og-height\":`621`,height:`621`,\"data-path\":`assets/images/screenshots/sample_data/environment.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/appsignal-715f5a51/MS9b5WO71lSfD5jG/assets/images/screenshots/sample_data/environment.png?w=280\u0026fit=max\u0026auto=format\u0026n=MS9b5WO71lSfD5jG\u0026q=85\u0026s=04c8460ede3d771c2ea9b2bbdfe76c4f 280w, https://mintcdn.com/appsignal-715f5a51/MS9b5WO71lSfD5jG/assets/images/screenshots/sample_data/environment.png?w=560\u0026fit=max\u0026auto=format\u0026n=MS9b5WO71lSfD5jG\u0026q=85\u0026s=cd30088da27d4fb64d79157c4167bd8f 560w, https://mintcdn.com/appsignal-715f5a51/MS9b5WO71lSfD5jG/assets/images/screenshots/sample_data/environment.png?w=840\u0026fit=max\u0026auto=format\u0026n=MS9b5WO71lSfD5jG\u0026q=85\u0026s=166057600efe2446bbc8064dd9081206 840w, https://mintcdn.com/appsignal-715f5a51/MS9b5WO71lSfD5jG/assets/images/screenshots/sample_data/environment.png?w=1100\u0026fit=max\u0026auto=format\u0026n=MS9b5WO71lSfD5jG\u0026q=85\u0026s=14b4c178e01b405efe5c4e9e3a16f07d 1100w, https://mintcdn.com/appsignal-715f5a51/MS9b5WO71lSfD5jG/assets/images/screenshots/sample_data/environment.png?w=1650\u0026fit=max\u0026auto=format\u0026n=MS9b5WO71lSfD5jG\u0026q=85\u0026s=5127c11fe6b5b8bd21b78bc8077eb97e 1650w, https://mintcdn.com/appsignal-715f5a51/MS9b5WO71lSfD5jG/assets/images/screenshots/sample_data/environment.png?w=2500\u0026fit=max\u0026auto=format\u0026n=MS9b5WO71lSfD5jG\u0026q=85\u0026s=1ba13828e466ecc143487e90d4a2c23f 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`limitations`,children:`Einschränkungen`}),`\n`,_jsx(_components.p,{children:`Wenn die Anwendung einen Request-Header mehrmals setzt, wird nur der letzte Wert für einen Request-Header gespeichert.`}),`\n`,_jsx(_components.p,{children:`Für Elixir wird, wenn der Helfer mehrmals aufgerufen wird, nur das letzte Set von Request-Headern (Umgebung) gespeichert.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{Compatibility,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Request-Header hinzufügen","sidebarTitle":"Request-Header","prev":{"text":"Request-Session-Daten hinzufügen","url":"/guides/custom-data/request-session-data.html"},"next":{"text":"Benutzerdefinierte Daten hinzufügen","url":"/guides/custom-data/custom-data.html"},"noindex":true,"description":null,"href":"/de/guides/custom-data/request-headers"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[149,1891,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"Einschränkungen","slug":"limitations","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/appsignal-715f5a51/ad683df1f3f6cc41/auth-button.js","/_mintlify/custom/appsignal-715f5a51/97f6ba115303669a/posthog.js","/_mintlify/custom/appsignal-715f5a51/b643723f47c7b1af/pagination-labels.js","/_mintlify/custom/appsignal-715f5a51/87da33668b962870/sidebar-flow.js","/_mintlify/custom/appsignal-715f5a51/c6bd163f69476e3f/translation-notice.js","/_mintlify/custom/appsignal-715f5a51/61b48af0445cbf06/assistant-label.js","/_mintlify/custom/appsignal-715f5a51/2a90f4a4ba87667d/hubspot.js"],"dynamicCss":".mint-my-4 {\n margin-top: 1rem;\n margin-bottom: 1rem\n}\n.mint-flex {\n display: flex\n}\n.mint-inline-flex {\n display: inline-flex\n}\n.mint-flex-wrap {\n flex-wrap: wrap\n}\n.mint-items-center {\n align-items: center\n}\n.mint-gap-1 {\n gap: 0.25rem\n}\n.mint-gap-x-2 {\n column-gap: 0.5rem\n}\n.mint-gap-y-1 {\n row-gap: 0.25rem\n}\n.mint-rounded-full {\n border-radius: 9999px\n}\n.mint-rounded-lg {\n border-radius: 0.5rem\n}\n.mint-border {\n border-width: 1px\n}\n.mint-border-zinc-200 {\n --tw-border-opacity: 1;\n border-color: rgb(228 228 231 / var(--tw-border-opacity, 1))\n}\n.mint-bg-zinc-50 {\n --tw-bg-opacity: 1;\n background-color: rgb(250 250 250 / var(--tw-bg-opacity, 1))\n}\n.mint-px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem\n}\n.mint-px-4 {\n padding-left: 1rem;\n padding-right: 1rem\n}\n.mint-py-0\\.5 {\n padding-top: 0.125rem;\n padding-bottom: 0.125rem\n}\n.mint-py-3 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem\n}\n.mint-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem\n}\n.mint-text-xs {\n font-size: 0.75rem;\n line-height: 1rem\n}\n.mint-font-medium {\n font-weight: 500\n}\n.mint-font-semibold {\n font-weight: 600\n}\n.mint-text-zinc-700 {\n --tw-text-opacity: 1;\n color: rgb(63 63 70 / var(--tw-text-opacity, 1))\n}\n.mint-opacity-70 {\n opacity: 0.7\n}\n.dark\\:mint-border-white\\/10:is(.dark *) {\n border-color: rgb(255 255 255 / 0.1)\n}\n.dark\\:mint-bg-white\\/5:is(.dark *) {\n background-color: rgb(255 255 255 / 0.05)\n}\n.dark\\:mint-text-zinc-200:is(.dark *) {\n --tw-text-opacity: 1;\n color: rgb(228 228 231 / var(--tw-text-opacity, 1))\n}","subdomain":"appsignal-715f5a51","siteName":"AppSignal Documentation","title":"Request-Header hinzufügen - AppSignal Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/guides/custom-data/request-headers","matchLevel":1},"pt-BR":{"href":"/pt-BR/guides/custom-data/request-headers","matchLevel":1,"noindex":true},"fr":{"href":"/fr/guides/custom-data/request-headers","matchLevel":1,"noindex":true},"de":{"href":"/de/guides/custom-data/request-headers","matchLevel":0},"zh-CN":{"href":"/zh-CN/guides/custom-data/request-headers","matchLevel":1,"noindex":true}}},"lastModified":"2026-11-13T14:54:49.110Z","originalFileLocation":"de/guides/custom-data/request-headers.mdx","locale":"de"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"AppSignal Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/appsignal-715f5a51/ef4Z3pZiXQ79CLMp/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/appsignal-715f5a51/ef4Z3pZiXQ79CLMp/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/appsignal-715f5a51/ef4Z3pZiXQ79CLMp/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/appsignal-715f5a51/ef4Z3pZiXQ79CLMp/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/appsignal-715f5a51/ef4Z3pZiXQ79CLMp/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/appsignal-715f5a51/ef4Z3pZiXQ79CLMp/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/appsignal-715f5a51/ef4Z3pZiXQ79CLMp/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/appsignal-715f5a51/ef4Z3pZiXQ79CLMp/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/appsignal-715f5a51/ef4Z3pZiXQ79CLMp/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Request-Header hinzufügen - AppSignal Documentation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AppSignal Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.appsignal.com/de/guides/custom-data/request-headers\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://appsignal-715f5a51.mintlify.site/_mintlify/api/og/v2?division=Anpassung\u0026amp;title=Request-Header+hinzuf%C3%BCgen\u0026amp;theme=cdd60be3fe2d4c3bdb8f0d72\u0026amp;signature=41cf987bcccead559329ff78383a273b70588163999531c73b8e00ec5e52458c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Request-Header hinzufügen - AppSignal Documentation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://appsignal-715f5a51.mintlify.site/_mintlify/api/og/v2?division=Anpassung\u0026amp;title=Request-Header+hinzuf%C3%BCgen\u0026amp;theme=cdd60be3fe2d4c3bdb8f0d72\u0026amp;signature=41cf987bcccead559329ff78383a273b70588163999531c73b8e00ec5e52458c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/appsignal-715f5a51/ef4Z3pZiXQ79CLMp/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AppSignal Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1b44da\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"02FM2LYkYEEMzTsWihVLwhgzgYpQNSpY-FSP_pxlaFs\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.appsignal.com/de/guides/custom-data/request-headers\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/de/guides/custom-data/request-headers.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AppSignal Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AppSignal\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/de/guides/custom-data/request-headers.md","siteName":"AppSignal Documentation","nav":{"global":null,"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/guides/custom-data/request-headers"}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-BR/guides/custom-data/request-headers"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/guides/custom-data/request-headers"}]},{"language":"de","tabs":[{"tab":"AppSignal-Dokumentation","anchors":[{"anchor":"Startseite","icon":{"style":"solid","name":"rocket"},"groups":[{"group":"Startseite","pages":[{"group":"Erste Schritte","icon":{"style":"solid","name":"book-open"},"pages":[{"title":"AppSignal-Dokumentation","sidebarTitle":"Übersicht","href":"/de/getting-started"},{"title":"Anwendungen","sidebarTitle":"Anwendungskonzepte","href":"/de/application"},{"title":"Konfiguration","sidebarTitle":"Funktionsweise der Konfiguration","href":"/de/application/configuration"},{"title":"Terminologie","href":"/de/appsignal/terminology"}]},{"title":"Dienste und Integrationen","icon":"plug","href":"/de/services-integrations"},{"title":"AppSignal Labs","icon":"flask","href":"/de/labs"}]},{"group":"Anleitungen","pages":[{"title":"AppSignal-Leitfäden","sidebarTitle":"Übersicht","icon":"compass","href":"/de/guides"},{"group":"AppSignal einrichten","icon":{"style":"solid","name":"wrench"},"pages":[{"title":"Ihr Benutzerkonto","sidebarTitle":"Benutzerkonto erstellen","href":"/de/user-account"},{"title":"Organisationen","sidebarTitle":"Organisation erstellen","href":"/de/organization"},{"group":"Add a new application from our UI","root":{"title":"Eine neue Anwendung über unsere Benutzeroberfläche hinzufügen","sidebarTitle":"Eine neue Anwendung über unsere Benutzeroberfläche hinzufügen","href":"/de/guides/new-application"},"pages":[{"title":"Eine neue Anwendung mit KI einrichten","sidebarTitle":"Eine neue Anwendung mit KI einrichten","href":"/de/guides/install-with-agents"}]},{"title":"Anwendungen konfigurieren","sidebarTitle":"Ihre Anwendung konfigurieren","href":"/de/guides/configuration"},{"title":"Deployments melden, um Verbesserungen zu verfolgen","sidebarTitle":"Deployments melden","href":"/de/guides/deploy-markers"},{"title":"Gruppieren mit Namespaces","sidebarTitle":"Fehler mit Namespaces gruppieren","href":"/de/guides/namespaces"},{"title":"Gruppieren mit Aktionsnamen","sidebarTitle":"Gruppieren mit Aktionen","href":"/de/guides/actions"}]},{"group":"Tagging","icon":{"style":"solid","name":"tag"},"pages":[{"title":"Tags zu einer Anfrage hinzufügen","sidebarTitle":"Tags hinzufügen","href":"/de/guides/tagging"},{"title":"Attribut-Verteilungen","href":"/de/guides/tagging/attribute-distributions"}]},{"group":"Anpassung","icon":{"style":"solid","name":"sliders"},"pages":[{"title":"Datenanpassung","sidebarTitle":"Übersicht","href":"/de/guides/custom-data"},{"title":"Request-Parameter hinzufügen","sidebarTitle":"Request-Parameter","href":"/de/guides/custom-data/request-parameters"},{"title":"Request-Session-Daten hinzufügen","sidebarTitle":"Request-Session-Daten","description":null,"href":"/de/guides/custom-data/request-session-data"},{"title":"Request-Header hinzufügen","sidebarTitle":"Request-Header","href":"/de/guides/custom-data/request-headers"},{"title":"Funktionsparameter hinzufügen","sidebarTitle":"Funktionsparameter","description":null,"href":"/de/guides/custom-data/function-parameters"},{"title":"Benutzerdefinierte Daten hinzufügen","sidebarTitle":"Benutzerdefinierte Daten","href":"/de/guides/custom-data/custom-data"}]},{"group":"Anwendungsdaten filtern","icon":{"style":"solid","name":"filter"},"pages":[{"title":"Anwendungsdaten filtern","sidebarTitle":"Übersicht","href":"/de/guides/filter-data"},{"title":"Request-Parameter filtern","sidebarTitle":"Parameter-Filterung","href":"/de/guides/filter-data/filter-parameters"},{"title":"Session-Daten filtern","sidebarTitle":"Session-Daten-Filterung","href":"/de/guides/filter-data/filter-session-data"},{"title":"Erfassung von Request-Headern","sidebarTitle":"Erfassung von Request-Headern","href":"/de/guides/filter-data/filter-headers"},{"title":"Funktionsparameter filtern","sidebarTitle":"Funktionsparameter-Filterung","href":"/de/guides/filter-data/filter-function-parameters"},{"title":"Fehler ignorieren","sidebarTitle":"Fehler ignorieren","href":"/de/guides/filter-data/ignore-errors"},{"title":"Aktionen ignorieren","sidebarTitle":"Aktionen ignorieren","href":"/de/guides/filter-data/ignore-actions"},{"title":"Namespaces ignorieren","sidebarTitle":"Namespaces ignorieren","href":"/de/guides/filter-data/ignore-namespaces"},{"title":"Logs ignorieren","sidebarTitle":"Logs ignorieren","href":"/de/guides/filter-data/ignore-logs"}]},{"group":"Performance \u0026 Tracing","icon":{"style":"solid","name":"gauge-high"},"pages":[{"title":"Langsame Datenbankabfragen finden","sidebarTitle":"Langsame Abfragen finden","href":"/de/guides/slow-queries"},{"title":"Langsame HTTP-Anfragen finden","sidebarTitle":"Langsame Anfragen finden","href":"/de/guides/slow-requests"},{"title":"Traces mit Logs verknüpfen","sidebarTitle":"Traces mit Logs verknüpfen","href":"/de/guides/linking-traces-with-logs"}]},{"group":"Anwendungsverwaltung","icon":{"style":"solid","name":"gear"},"pages":[{"title":"Mehrere Anwendungen auf einem Host ausführen","sidebarTitle":"Mehrere Anwendungen auf einem Host","href":"/de/guides/application/multiple-applications-on-one-host"},{"title":"Anwendungen zwischen Organisationen migrieren","sidebarTitle":"Anwendungen migrieren","href":"/de/guides/application/migrating-applications"},{"title":"Anwendungen löschen","sidebarTitle":"Anwendungen entfernen","href":"/de/guides/application/deleting-applications"}]}]}]},{"anchor":"Funktionen","icon":{"style":"solid","name":"star"},"pages":[{"title":"Funktionen","href":"/de/features"}]},{"anchor":"SDKs \u0026 Telemetrie","icon":{"style":"solid","name":"cube"},"pages":[{"title":"SDKs \u0026 Telemetrie","href":"/de/sdks"}]},{"anchor":"Integrationen","icon":{"style":"solid","name":"puzzle-piece"},"pages":[{"title":"Integrationen","href":"/de/application/integrations"}]},{"anchor":"API","icon":{"style":"solid","name":"code"},"pages":[{"title":"API","href":"/de/api"}]},{"anchor":"AppSignal für KI-Agenten","icon":{"style":"solid","name":"robot"},"pages":[{"title":"AppSignal für KI-Agenten","href":"/de/agents"}]},{"anchor":"Tutorials","icon":{"style":"solid","name":"graduation-cap"},"pages":[{"title":"Tutorials","href":"/de/tutorials"}]},{"anchor":"Konto \u0026 Support","icon":{"style":"solid","name":"circle-question"},"pages":[{"title":"Konto \u0026 Support","href":"/de/account-support"}]}]},{"tab":"Ressourcen","menu":[{"item":"Startups","icon":"rocket","href":"https://www.appsignal.com/startups"},{"item":"Blog","icon":"newspaper","href":"https://blog.appsignal.com"},{"item":"Changelog","icon":"clock-rotate-left","href":"https://www.appsignal.com/changelog"},{"item":"API reference","icon":"code","href":"/api/v2/reference/metrics/timeseries"},{"item":"Support","icon":"envelope","href":"mailto:support@appsignal.com"}]}]},{"language":"zh-CN","pages":[{"title":"zh-CN","href":"/zh-CN/guides/custom-data/request-headers"}]}]},"basePath":"","title":"Request-Header hinzufügen - AppSignal Documentation","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BQ4tbj_9.js","lightbox-handle-r17bVUz3.js"]}