Skip to content

Commit

Permalink
fix(agent): Remove deprecated X-Instana-Time header
Browse files Browse the repository at this point in the history
Signed-off-by: Ferenc Géczi <[email protected]>
  • Loading branch information
Ferenc- committed Nov 23, 2023
1 parent 7d8a789 commit 850859f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions instana/agent/aws_fargate.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ def report_data_payload(self, payload):
self.report_headers["X-Instana-Host"] = self.collector.get_fq_arn()
self.report_headers["X-Instana-Key"] = self.options.agent_key

self.report_headers["X-Instana-Time"] = str(round(time.time() * 1000))

response = self.client.post(self.__data_bundle_url(),
data=to_json(payload),
headers=self.report_headers,
Expand Down
2 changes: 0 additions & 2 deletions instana/agent/aws_lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ def report_data_payload(self, payload):
self.report_headers["X-Instana-Host"] = self.collector.get_fq_arn()
self.report_headers["X-Instana-Key"] = self.options.agent_key

self.report_headers["X-Instana-Time"] = str(round(time.time() * 1000))

response = self.client.post(self.__data_bundle_url(),
data=to_json(payload),
headers=self.report_headers,
Expand Down
2 changes: 0 additions & 2 deletions instana/agent/google_cloud_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ def report_data_payload(self, payload):
"X-Instana-Key": self.options.agent_key
}

self.report_headers["X-Instana-Time"] = str(round(time.time() * 1000))

response = self.client.post(self.__data_bundle_url(),
data=to_json(payload),
headers=self.report_headers,
Expand Down

0 comments on commit 850859f

Please sign in to comment.