{"id":21534680,"url":"https://github.com/danesparza/nlog-metrics","last_synced_at":"2025-03-17T20:15:14.846Z","repository":{"id":151777275,"uuid":"88885900","full_name":"danesparza/nlog-metrics","owner":"danesparza","description":":chart_with_upwards_trend: Tracks logging metrics using InfluxDB","archived":false,"fork":false,"pushed_at":"2017-05-11T14:03:46.000Z","size":147,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-24T07:11:39.122Z","etag":null,"topics":["command-line","golang","influxdb","metrics","monitoring","nlog","service"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danesparza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-20T16:13:22.000Z","updated_at":"2018-07-05T11:01:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"c36883a0-1ce5-4e2e-a3ec-3e16d3310db1","html_url":"https://github.com/danesparza/nlog-metrics","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danesparza%2Fnlog-metrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danesparza%2Fnlog-metrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danesparza%2Fnlog-metrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danesparza%2Fnlog-metrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danesparza","download_url":"https://codeload.github.com/danesparza/nlog-metrics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244102855,"owners_count":20398386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line","golang","influxdb","metrics","monitoring","nlog","service"],"created_at":"2024-11-24T03:12:18.329Z","updated_at":"2025-03-17T20:15:14.827Z","avatar_url":"https://github.com/danesparza.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nlog-metrics [![CircleCI](https://circleci.com/gh/danesparza/nlog-metrics.svg?style=svg)](https://circleci.com/gh/danesparza/nlog-metrics)\nTracks logging metrics using InfluxDB\n\n## Quick start \n\n* Make sure you've already got [InfluxDB](https://docs.influxdata.com/influxdb/v1.2/introduction/installation/) up and running.  In InfluxDb, [create the database](https://docs.influxdata.com/influxdb/v1.2/guides/writing_data/#creating-a-database-using-the-http-api) that you want to log to.\n* Get the [latest release](https://github.com/danesparza/nlog-metrics/releases/latest) for your platform (it's just a single executable) \n* Generate a config file:\n```\nnlog-metrics config \u003e config.yaml\n```\n\nUpdate the config file sections with information for your [NLog database](https://github.com/danesparza/NLogReader/tree/master/sql) and your [InfluxDB database](https://github.com/influxdata/influxdb):\n``` yaml\nsqlserver:\n  server: servernamehere\n  database: system_logging\n  user: username\n  password: password\ninfluxdb:\n  server: http://localhost:8086\n  database: applogs\n  measurement: metrics\n```\n\nWhen you're ready to start logging metrics, just run \n\n```\nnlog-metrics start\n```\n\nNote: To run this as a Windows service, check out the install.bat/uninstall.bat files in the dist directory (also packaged with the windows release zip file)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanesparza%2Fnlog-metrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanesparza%2Fnlog-metrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanesparza%2Fnlog-metrics/lists"}