All Downloads are FREE. Search and download functionalities are using the official Maven repository.

a.zipkin-server.0.20.1.source-code.zipkin-server.yml Maven / Gradle / Ivy

There is a newer version: 2.9.4
Show newest version
cassandra:
  # Comma separated list of hosts / ip addresses part of Cassandra cluster.
  contact-points: ${CASSANDRA_CONTACT_POINTS:localhost}
  # Name of the datacenter that will be considered "local" for latency load balancing. When unset, load-balancing is round-robin.
  local-dc: ${CASSANDRA_LOCAL_DC:}
  # Will throw an exception on startup if authentication fails.
  username: ${CASSANDRA_USERNAME:}
  password: ${CASSANDRA_PASSWORD:}
  keyspace: ${CASSANDRA_KEYSPACE:zipkin}
  # Max pooled connections per datacenter-local host.
  max-connections: ${CASSANDRA_MAX_CONNECTIONS:8}
  # Ensuring that schema exists, if enabled tries to execute script /zipkin-cassandra-core/resources/cassandra-schema-cql3.txt.
  ensure-schema: ${CASSANDRA_ENSURE_SCHEMA:true}
  # 7 days in seconds
  span-ttl: ${CASSANDRA_SPAN_TTL:604800}
  # 3 days in seconds
  index-ttl: ${CASSANDRA_INDEX_TTL:259200}
mysql:
  host: ${MYSQL_HOST:localhost}
  port: ${MYSQL_TCP_PORT:3306}
  username: ${MYSQL_USER:}
  password: ${MYSQL_PASS:}
  db: ${MYSQL_DB:zipkin}
  max-active: ${MYSQL_MAX_CONNECTIONS:10}
  use-ssl: ${MYSQL_USE_SSL:false}
elasticsearch:
  cluster: ${ES_CLUSTER:elasticsearch}
  hosts: ${ES_HOSTS:localhost:9300}
  index: ${ES_INDEX:zipkin}
kafka:
  # ZooKeeper host string, comma-separated host:port value.
  zookeeper: ${KAFKA_ZOOKEEPER:}
  # Name of topic to poll for spans
  topic: ${KAFKA_TOPIC:zipkin}
  # Consumer group this process is consuming on behalf of.
  group-id: ${KAFKA_GROUP_ID:zipkin}
  # Count of consumer threads consuming the topic
  streams: ${KAFKA_STREAMS:1}
  # Maximum size of a message containing spans in bytes
  max-message-size: ${KAFKA_MAX_MESSAGE_SIZE:1048576}
scribe:
  category: zipkin
  port: ${COLLECTOR_PORT:9410}
zipkin:
  self-tracing:
    # Set to false to disable self-tracing. Defaults to true
    enabled: ${SELF_TRACING_ENABLED:true}
    # Interval in seconds to flush self-tracing data to storage.
    flush-interval: ${SELF_TRACING_FLUSH_INTERVAL:1}
  collector:
    # percentage to traces to retain
    sample-rate: ${COLLECTOR_SAMPLE_RATE:1.0}
  query:
    # 7 days in millis
    lookback: ${QUERY_LOOKBACK:86400000}
    # The Cache-Control max-age (seconds) for /api/v1/services and /api/v1/spans
    names-max-age: 300
  storage:
    type: ${STORAGE_TYPE:mem}
  ui:
    ## Values below here are mapped to ZipkinServerProperties.UI, served as /config.json
    # Default limit for Find Traces
    query-limit: 10
    # The value here becomes a label in the top-right corner
    environment:
    # Default duration to look back when finding traces or dependency links.
    # Affects the "Start time" element in the UI. 7 days in millis
    default-lookback: ${QUERY_LOOKBACK:604800000}
    # Which sites this Zipkin UI covers. Regex syntax. (e.g. http:\/\/example.com\/.*)
    # Multiple sites can be specified, e.g.
    # - .*example1.com
    # - .*example2.com
    # Default is "match all websites"
    instrumented: .*
server:
  port: ${QUERY_PORT:9411}
  compression:
    enabled: true
    # compresses any response over min-response-size (default is 2KiB)
    # Includes dynamic json content and large static assets from zipkin-ui
    mime-types: application/json,application/javascript,text/css,image/svg
spring:
  mvc:
    favicon:
      # zipkin has its own favicon
      enabled: false
  autoconfigure:
    exclude:
      # otherwise we might initialize even when not needed (ex when storage type is cassandra)
      - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
logging:
  level:
    # Silence Invalid method name: '__can__finagle__trace__v3__'
    com.facebook.swift.service.ThriftServiceProcessor: 'OFF'
#     # investigate /api/v1/dependencies
#     zipkin.internal.DependencyLinker: 'DEBUG'
#     # log cassandra calls
#     zipkin.storage.cassandra: 'DEBUG'
#     # log cassandra trace propagation
#     com.datastax.driver.core.Message: 'TRACE'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy