Skip to content

Commit

Permalink
Add package settings and icon (elastic#4542)
Browse files Browse the repository at this point in the history
# Conflicts:
#	apmpackage/apm/0.1.0/agent/input/template.yml.hbs
#	apmpackage/apm/0.1.0/docs/README.md
#	apmpackage/apm/0.1.0/manifest.yml
#	apmpackage/docs/README.template.md
  • Loading branch information
jalvz authored and axw committed Feb 18, 2021
1 parent 1b9e06d commit 6c692dc
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 13 deletions.
20 changes: 14 additions & 6 deletions apmpackage/apm/0.1.0/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The APM integration installs Elasticsearch templates and Ingest Node pipelines f
When you add an APM integration to a policy, that policy will contain an `apm` input.
If a policy contains an `apm` input, any Elastic Agent(s) set up with that policy will run locally an APM Server binary.
You must configure your APM Agents to communicate with that APM Server.
Make sure to configure the APM Server `host` if it needs to be accessed from outside (eg. when running in Docker).

If you have RUM enabled, you must run APM Server centrally. Otherwise, you can run it at the edge machines.
To do so, download and enroll an Elastic Agent in the same machines where your instrumented services run.
Expand Down Expand Up @@ -47,7 +48,7 @@ and you will be recommended to use the environment as namespace.
This version doesn't automatically use the service name, so the recommendation instead is to use
both the service name and the environment as the namespace.
### Compatibility and limitations
## Compatibility and limitations
The APM integration requires Kibana 7.11 and Elasticsearch with basic license.
This version is experimental and has some limitations, listed bellow:
Expand All @@ -60,7 +61,14 @@ You must update the policy with any changes you need and restart the APM Server
IMPORTANT: If you run APM Server with Elastic Agent manually in standalone mode, you must install the APM integration before ingestion starts.
### Traces
## Configuration parameters
- `Host`: APM Server host and port to listen on.
- `Secret token`: Authorization token for sending data to APM Server. See the [documentation](https://www.elastic.co/guide/en/apm/server/current/configuration-rum.html) for details.
- `Enable RUM`: Enables support for RUM monitoring. See the [documentation](https://www.elastic.co/guide/en/apm/server/current/configuration-rum.html) for details.


## Traces

Traces are comprised of [spans and transactions](https://www.elastic.co/guide/en/apm/get-started/current/apm-data-model.html).
Traces are written to `traces-apm.*` indices.
Expand Down Expand Up @@ -414,7 +422,7 @@ Traces are written to `traces-apm.*` indices.
```


### Metrics
## Metrics

Metrics include application-based metrics and some basic system metrics.
Metrics are written to `metrics-apm.*`, `metrics-apm.internal.*` and `metrics-apm.profiling.*` indices.
Expand Down Expand Up @@ -503,7 +511,7 @@ Metrics are written to `metrics-apm.*`, `metrics-apm.internal.*` and `metrics-ap
|user_agent.version|Version of the user agent.|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |


#### Example
### Example

```json
{
Expand Down Expand Up @@ -566,7 +574,7 @@ Metrics are written to `metrics-apm.*`, `metrics-apm.internal.*` and `metrics-ap
}
```

### Logs
## Logs

Logs are application error events.
Logs are written to `logs-apm.error.*` indices.
Expand Down Expand Up @@ -683,7 +691,7 @@ Logs are written to `logs-apm.error.*` indices.
|user_agent.version|Version of the user agent.|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |


#### Example
### Example

```json
{
Expand Down
5 changes: 5 additions & 0 deletions apmpackage/apm/0.1.0/img/logo_apm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion apmpackage/apm/0.1.0/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ categories:
release: experimental # experimental / beta / ga
conditions:
kibana.version: '^7.11.0'
icons:
- src: /img/logo_apm.svg
title: APM Logo
size: 32x32
type: image/svg+xml
policy_templates:
- name: apmserver
title: Elastic APM Integration
Expand Down Expand Up @@ -111,7 +116,6 @@ policy_templates:
required: false
show_user: false
default: 307200
>>>>>>> a25b11076... [apmpackage] Add config options supported in ESS (#4690)
template_path: template.yml.hbs
owner:
github: elastic/apm-server
20 changes: 14 additions & 6 deletions apmpackage/docs/README.template.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The APM integration installs Elasticsearch templates and Ingest Node pipelines f
When you add an APM integration to a policy, that policy will contain an `apm` input.
If a policy contains an `apm` input, any Elastic Agent(s) set up with that policy will run locally an APM Server binary.
You must configure your APM Agents to communicate with that APM Server.
Make sure to configure the APM Server `host` if it needs to be accessed from outside (eg. when running in Docker).

If you have RUM enabled, you must run APM Server centrally. Otherwise, you can run it at the edge machines.
To do so, download and enroll an Elastic Agent in the same machines where your instrumented services run.
Expand Down Expand Up @@ -47,7 +48,7 @@ and you will be recommended to use the environment as namespace.
This version doesn't automatically use the service name, so the recommendation instead is to use
both the service name and the environment as the namespace.
### Compatibility and limitations
## Compatibility and limitations
The APM integration requires Kibana 7.11 and Elasticsearch with basic license.
This version is experimental and has some limitations, listed bellow:
Expand All @@ -60,7 +61,14 @@ You must update the policy with any changes you need and restart the APM Server
IMPORTANT: If you run APM Server with Elastic Agent manually in standalone mode, you must install the APM integration before ingestion starts.
### Traces
## Configuration parameters
- `Host`: APM Server host and port to listen on.
- `Secret token`: Authorization token for sending data to APM Server. See the [documentation](https://www.elastic.co/guide/en/apm/server/current/configuration-rum.html) for details.
- `Enable RUM`: Enables support for RUM monitoring. See the [documentation](https://www.elastic.co/guide/en/apm/server/current/configuration-rum.html) for details.


## Traces

Traces are comprised of [spans and transactions](https://www.elastic.co/guide/en/apm/get-started/current/apm-data-model.html).
Traces are written to `traces-apm.*` indices.
Expand All @@ -84,7 +92,7 @@ Traces are written to `traces-apm.*` indices.
```


### Metrics
## Metrics

Metrics include application-based metrics and some basic system metrics.
Metrics are written to `metrics-apm.*`, `metrics-apm.internal.*` and `metrics-apm.profiling.*` indices.
Expand All @@ -97,13 +105,13 @@ Metrics are written to `metrics-apm.*`, `metrics-apm.internal.*` and `metrics-ap
| {{- Trim .Name -}} | {{- Trim .Description -}} | {{- Trim .Type -}} | {{if .IsECS}} ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) {{else}} ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-no.png) {{end}} |
{{end}}

#### Example
### Example

```json
{{.MetricsExample}}
```

### Logs
## Logs

Logs are application error events.
Logs are written to `logs-apm.error.*` indices.
Expand All @@ -116,7 +124,7 @@ Logs are written to `logs-apm.error.*` indices.
| {{- Trim .Name -}} | {{- Trim .Description -}} | {{- Trim .Type -}} | {{if .IsECS}} ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) {{else}} ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-no.png) {{end}} |
{{end}}

#### Example
### Example

```json
{{.ErrorExample}}
Expand Down

0 comments on commit 6c692dc

Please sign in to comment.