-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce a configurable default service environment (#4861)
* Add transform.Processor interface * beater: add default service environment * model/modelprocessor: update PprofProfile too * apmpackage: update README about namespace (cherry picked from commit 992699d) # Conflicts: # apmpackage/apm/0.1.0/manifest.yml # apmpackage/apm/0.2.0/README.template.md # apmpackage/apm/0.2.0/docs/README.md # beater/api/config/agent/handler_test.go # beater/beater.go # beater/config/config.go # changelogs/head.asciidoc # model/modelprocessor/environment.go # model/modelprocessor/environment_test.go # transform/transform.go # x-pack/apm-server/main.go
- Loading branch information
Showing
11 changed files
with
331 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
format_version: 1.0.0 | ||
name: apm | ||
title: Elastic APM | ||
version: 0.1.0 | ||
license: basic | ||
description: Ingest APM data | ||
type: integration | ||
categories: | ||
- monitoring | ||
release: experimental # experimental / beta / ga | ||
conditions: | ||
kibana.version: '^7.12.0' | ||
icons: | ||
- src: /img/logo_apm.svg | ||
title: APM Logo | ||
size: 32x32 | ||
type: image/svg+xml | ||
policy_templates: | ||
- name: apmserver | ||
title: Elastic APM Integration | ||
description: Elastic APM Integration | ||
multiple: false | ||
inputs: | ||
- type: apm | ||
title: Collect application traces | ||
description: Collect application traces | ||
vars: | ||
- name: host | ||
type: string | ||
title: Host | ||
required: true | ||
show_user: true | ||
default: localhost:8200 | ||
- name: secret_token | ||
type: string | ||
title: Secret token for Agent authentication | ||
required: false | ||
show_user: true | ||
- name: api_key_enabled | ||
type: bool | ||
title: API Key for Agent authentication | ||
description: Enable API Key auth between APM Server and APM Agents. | ||
required: false | ||
show_user: true | ||
default: false | ||
- name: kibana_api_key | ||
type: string | ||
title: API Key for Central Configuration | ||
required: false | ||
description: API Key for APM central configuration feature. Enter as <Id>:<API Key> | ||
show_user: true | ||
- name: enable_rum | ||
type: bool | ||
title: Enable RUM | ||
description: Enable Real User Monitoring (RUM). | ||
required: true | ||
show_user: true | ||
default: false | ||
- name: default_service_environment | ||
type: string | ||
title: Default Service Environment | ||
description: Default service environment to record in events which have no service environment defined. | ||
required: false | ||
show_user: false | ||
- name: rum_allow_origins | ||
type: string | ||
title: RUM - Origin Headers | ||
description: Allowed Origin headers to be sent by User Agents. | ||
multi: true | ||
required: false | ||
show_user: false | ||
default: ['*'] | ||
- name: rum_allow_headers | ||
type: string | ||
title: RUM - Access-Control-Allow-Headers | ||
description: Supported Access-Control-Allow-Headers in addition to "Content-Type", "Content-Encoding" and "Accept". | ||
multi: true | ||
required: false | ||
show_user: false | ||
- name: rum_response_headers | ||
type: yaml | ||
title: RUM - Custom HTTP response headers | ||
description: Added to RUM responses, e.g. for security policy compliance. | ||
required: false | ||
show_user: false | ||
- name: rum_event_rate_limit | ||
type: int | ||
title: RUM - Rate limit events per IP | ||
description: Maximum number of events allowed per IP per second. | ||
required: false | ||
show_user: false | ||
default: 300 | ||
- name: rum_event_rate_lru_size | ||
type: int | ||
title: RUM - Rate limit cache size | ||
description: Number of unique IPs to be cached for the rate limiter. | ||
required: false | ||
show_user: false | ||
default: 1000 | ||
- name: sourcemap_api_key | ||
type: string | ||
title: RUM - API Key for Sourcemaps | ||
required: false | ||
description: API Key for sourcemap feature. Enter as <Id>:<API Key> | ||
show_user: false | ||
- name: api_key_limit | ||
type: int | ||
title: Maximum number of API Keys for Agent authentication | ||
description: Restrict number of unique API Keys per minute, used for auth between APM Agents and Server. | ||
required: false | ||
show_user: false | ||
default: 100 | ||
- name: max_event_bytes | ||
type: int | ||
title: Maximum size per event (bytes) | ||
required: false | ||
show_user: false | ||
default: 307200 | ||
- name: capture_personal_data | ||
type: bool | ||
title: Capture personal data | ||
description: Capture personal data such as IP or User Agent. | ||
required: false | ||
show_user: false | ||
default: true | ||
template_path: template.yml.hbs | ||
owner: | ||
github: elastic/apm-server |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[[release-notes-head]] | ||
== APM Server version HEAD | ||
|
||
https://github.com/elastic/apm-server/compare/7.12\...master[View commits] | ||
|
||
[float] | ||
==== Breaking Changes | ||
|
||
[float] | ||
==== Bug fixes | ||
|
||
[float] | ||
==== Intake API Changes | ||
|
||
[float] | ||
==== Added | ||
* Add support for Node.js wall time profiles {pull}4728[4728] | ||
* Add metricset.name field to metric docs {pull}4857[4857] | ||
* Add `apm-server.default_service_environment` config {pull}4861[4861] | ||
|
||
[float] | ||
==== Deprecated |
This file contains 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
Oops, something went wrong.