SkyWalking: an APM(application performance monitor) system, especially designed for microservices, cloud native and container-based (Docker, Kubernetes, Mesos) architectures.
standlone
container with H2
storage$ docker run --name oap --restart always -d apache/skywalking-oap-server:6.1.0
standlone
container with elasticsearch
storage whose address is elasticsearch:9200
$ docker run --name oap --restart always -d -e SW_STORAGE=elasticsearch -e SW_STORAGE_ES_CLUSTER_NODES=elasticsearch:9200 apache/skywalking-oap-server:6.1.0
We could set up environment variables to configure this image. Most of them are defined in backend-setup, but Apache SkyWalking Docker Image adds extra environment variables to help the user to compose it properly. The details are located in docker-entrypoint.sh
Default value is standalone
, avaliable values are:
standlone
, If set this value, all enviroment variables of cluster.standlone
in application.yml
are avaliable.zookeeper
, If set this value, all enviroment variables of cluster.zookeeper
in application.yml
are avaliable.kubernetes
, If set this value, all enviroment variables of cluster.kubernetes
in application.yml
are avaliable.consul
, If set this value, all enviroment variables of cluster.consul
in application.yml
are avaliable.Default value is H2
, avaliable values are:
H2
, If set this value, all enviroment variables of storage.h2
in application.yml
are avaliable.elasticsearch
, If set this value, all enviroment variables of stroage.elasticsearch
in application.yml
are avaliable.mysql
, If set this value, all enviroment variables of stroage.mysql
in application.yml
are avaliable.There are also some other configuration switchers to extend default configuration, they also have a suffix _ENABLED
.
SW_RECEIVER_ZIPKIN_ENABLED
turns on/off zipkin receiverSW_RECEIVER_JAEGER_ENABLED
turns on/off zipkin receiverSW_EXPORTER_ENABLED
turns on/off exporter