<commit_before>spqrNode:
  log4jConfiguration: "/opt/transport/streaming/spqr/spqr-node/etc/log4j.properties"
  numOfThreads: 0
  temporaryQueueFolder: "/opt/transport/streaming/spqr/spqr-node/queues"
  componentRepositoryFolder: "/opt/transport/streaming/spqr/spqr-node/repo/"

  host: "localhost"
  protocol: "http"
  servicePort: 7070
  adminPort: 7071

resourceManager:
  mode: LOCAL
  protocol: "http"
  host: "localhost"
  port: 9090  
  
httpClient:
  timeout: 500ms
  connectionTimeout: 500ms
  timeToLive: 1h
  cookiesEnabled: false
  maxConnections: 1024
  maxConnectionsPerRoute: 1024
  keepAlive: 0ms
  retries: 0
  userAgent: spqr-node/0.2  

server:
  applicationConnectors:
    - type: http
      port: 7070
  adminConnectors:
    - type: http
      port: 7071

logging:

  level: INFO

  loggers:

    # Sets the level for 'com.example.app' to DEBUG.
    com.ottogroup.bi.spqr: DEBUG

  appenders:
    - type: file
      threshold: DEBUG
      logFormat: "%-6level [%d{HH:mm:ss.SSS}] [%t] %logger{5} - %X{code} %msg %n"
      currentLogFilename: /opt/transport/streaming/spqr/log/spqr-node/spqr-node.log
      archivedLogFilenamePattern: /opt/transport/streaming/spqr/spqr-node/log/spqr-node-%d{yyyy-MM-dd}.log
      archivedFileCount: 7
      timeZone: UTC
<commit_msg>metrics configuration added to spqr-node.cfg<commit_after>spqrNode:
  log4jConfiguration: "/opt/streaming/spqr/spqr-node/etc/log4j.properties"
  numOfThreads: 0
  temporaryQueueFolder: "/opt/streaming/spqr/spqr-node/queues"
  componentRepositoryFolder: "/opt/streaming/spqr/spqr-node/repo/"

  host: "localhost"
  protocol: "http"
  servicePort: 7070
  adminPort: 7071
  
  #spqrMetrics:
  #  attachMemoryUsageMetricCollector: true
  #  attachFileDescriptorMetricCollector: true
  #  attachClassLoadingMetricCollector: true
  #  attachGCMetricCollector: true
  #  attachThreadStateMetricCollector: true
  #  metricsReporter:
  #  - id: "kafka"
  #    type: "KAFKA"
  #    period: 5
  #    settings:
  #      zookeeperConnect: "localhost:2181"
  #      brokerList: "localhost:9092"
  #      topicId: "nodemetrics"
  #      clientId: "sampleClient"  

resourceManager:
  mode: LOCAL
  protocol: "http"
  host: "localhost"
  port: 9090  
  
httpClient:
  timeout: 500ms
  connectionTimeout: 500ms
  timeToLive: 1h
  cookiesEnabled: false
  maxConnections: 1024
  maxConnectionsPerRoute: 1024
  keepAlive: 0ms
  retries: 0
  userAgent: spqr-node/0.2  

server:
  applicationConnectors:
    - type: http
      port: 7070
  adminConnectors:
    - type: http
      port: 7071

logging:

  level: INFO

  loggers:

    # Sets the level for 'com.example.app' to DEBUG.
    com.ottogroup.bi.spqr: DEBUG

  appenders:
    - type: file
      threshold: DEBUG
      logFormat: "%-6level [%d{HH:mm:ss.SSS}] [%t] %logger{5} - %X{code} %msg %n"
      currentLogFilename: /opt/streaming/spqr/log/spqr-node/spqr-node.log
      archivedLogFilenamePattern: /opt/streaming/spqr/spqr-node/log/spqr-node-%d{yyyy-MM-dd}.log
      archivedFileCount: 7
      timeZone: UTC

{'fraction_non_alphanumeric': 0.11210023079459282, 'fraction_numerical': 0.032640949554896145, 'mean_word_length': 3.334285714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4540812', 'n_tokens_mistral': 1211, 'n_tokens_neox': 1099, 'n_words': 211}