pada57 / serilog-sinks-influxdb

Serilog Sinks for InfluxDB
MIT License
10 stars 9 forks source link

ApplicationName/InstanceName should be optional #23

Closed tom-englert closed 1 year ago

tom-englert commented 1 year ago

To give more flexibility, ApplicationNameand InstanceName should be optional.

E.g. in our company we need to use app_name instead of appname, so with optional ApplicationName the config would look like this:

"WriteTo": {
  "InfluxDB": {
    "Name": "InfluxDB",
    "Args": {
      "sinkOptions": {
        "ExtendedTags": [ "SourceContext:component_name", "Application:app_name", "Facility:facility" ],
        "ExtendedFields": [ "FacilityCode:facility_code" ],
        "ConnectionInfo": { ... }
      }
    }
  }
},
"Properties": {
  "Application": "MyApplicationName",
  "Facility": "user",
  "FacilityCode": 1
}
tom-englert commented 1 year ago

@pada57 just to make sure: do you still actively maintain this project?

pada57 commented 1 year ago

@tom-englert by actively depends what you mean. i will try to do best on personal time. Also not using currently anymore influxdb at work that's why low priority

tom-englert commented 1 year ago

That's fine, just wanted to make sure this is not a dead end.