Marcin Stankiewicz

@jooni22

Joined on Jan 9, 2021

  • Monitoring In my current job I am a MarkLogic Administrator, which is quite complex. In the version we are currently working on, monitoring of MarkLogic events is quite persistent as the vendor itself admits that their standard system of metrics may show unrealistic data. A few months ago I decided to do a reasearch on the possibilities of monitoring MarkLogic by independent (open-source) applications. The product is not very well known, so there is not much choice, so I decided to create my own stack of monitoring components. Proper application monitoring should support tracking of all events on the server where the application is hosted. Applications based on UNIX system should contain implementation of system library, which passes messages to syslog. In this case to be sure if the application is healthy we should collect information about all application events, system logs and system metrics. The main goal was to create a solution, which does not use large system resources and has great flexibility in configuration with other monitoring components. I divided the description of the solution into 2 parts, in the first part I will describe the components for logs, and further I will describe components for monitoring system metrics. Logs For redirecting log streams I chose Rsyslog, which has a whole bunch of advantages and is available on most of the available UNIX distributions. I've configured Rsyslog on all servers where the application is running so that all system and application logs are redirected to the central Rsyslog server. Our production server is divided into several projects, so the logs on the central server are already pre-filtered and sorted.
     Like  Bookmark
  • Table of Contents Introduction Creating the Server 2.1. Prerequisites 2.2. Server Setup Steps Trieve Configuration on the Server 3.1. Caddy Configuration 3.2. Environment Variables Configuration 3.3. Running Trieve Keycloak Configuration
     Like  Bookmark
  • ERRORS IF YOU DON'T SET ANY EMBEDDINGS SERVER IP You can create dataset and api, can upload file but you can't use search. After upload error's in log: tika | INFO [qtp1805412777-26] 23:38:09,979 org.apache.tika.server.core.resource.TikaResource /tika (autodetecting type) file-worker | 2024-05-23T23:38:10.441061Z INFO file_worker: Uploaded file: 5c85dece-a099-423e-9aae-f573d7347499 ingestion-worker | thread 'tokio-runtime-worker' panicked at /usr/local/cargo/git/checkouts/openai-client-6c330e190abf0a06/64d0bd4/src/v1/helpers.rs:11:56: ingestion-worker | called `Result::unwrap()` on an `Err` value: Error("EOF while parsing a value", line: 1, column: 0)
     Like  Bookmark
  • <iframe src="https://s.icepanel.io/UxdM6DPNvM7f1n/kuWl" height="800" width="1200" title="Marcin's organization - Marcin's landscape" style="border-radius: 16px; border: none"></iframe>
     Like  Bookmark
  • Summarize this PDF document (official example) upload your PDF document then use the following prompt: Summarize this PDF document in a bullet point outline. Make a markdown table of study questions and answers. Explain Python Code (official example) upload your python file then use the following prompt: I am reading code for a python game. Explain to me how it works. Practice Spanish Vocab (official example) Help me practice my Spanish vocab.
     Like  Bookmark