Open
Conversation
Contributor
|
Added TT-16505 for internal tracking. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces a new Dynatrace log pump to the Tyk Pump project. The Dynatrace pump enables integration with Dynatrace's Log Ingestion API, allowing analytics data to be sent to Dynatrace for monitoring and analysis.
Key Changes
DynatracePumpimplementation.NOTE! Documentation will need to be updated to include detail of this new pump.
Related Issue
Resolves #940.
Motivation and Context
This feature allows users to integrate Tyk Pump with Dynatrace, providing enhanced observability and monitoring capabilities for API analytics data.
How This Has Been Tested
Example `pump.conf` file used for testing
{ "log_level": "debug", "purge_delay": 10, "pumps": { "dynatrace": { "type": "dynatrace", "meta": { "api_token": "dt0c01.xxx.xxx", "endpoint_url": "https://xxx.live.dynatrace.com", "ssl_insecure_skip_verify": true, "obfuscate_api_keys": true, "obfuscate_api_keys_length": 8, "enable_batch": true, "max_retries": 2, "fields": [ "http.method", "http.host", "http.url", "http.status_code", "http.client_ip", "api_key", "geo.city_name", "geo.country_name", "geo.name", "geo.region_name", "content_length", "user_agent", "api_version", "api_name", "api_id", "org_id", "oauth_id", "raw_request", "request_time", "raw_response", "network", "latency", "tags", "alias", "track_path" ], "properties": { "dt.http.application_id": "tyk-pump", "dt.host_group.id": "Web_QAT_Tyk" }, "ignore_tag_prefix_list": [ "key-", "org-", "api-" ] } } }, "dont_purge_uptime_data": true }Screenshots (if appropriate)
Example from Dynatrace logs using demo data:
Types of changes
Checklist
fork, don't request your
master!masterbranch (left side). Also, you should startyour branch off our latest
master.go mod tidy && go mod vendorgo fmt ./...go vet